From 6f0e467934e403082f0a476850d2893b5f6f438f Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Fri, 22 Jan 2021 14:11:47 +0100 Subject: [PATCH 1/2] Reorder Bender.yml sources according to build order, update tech_cells dep --- Bender.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/Bender.yml b/Bender.yml index 0316302..cc57872 100644 --- a/Bender.yml +++ b/Bender.yml @@ -4,18 +4,25 @@ package: - "Francesco Conti " dependencies: - tech_cells_generic: { git: "git@github.com:pulp-platform/tech_cells_generic.git", version: 0.1.6 } + tech_cells_generic: { git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.2 } sources: - include_dirs: - rtl files: - - rtl/hwpe_ctrl_package.sv + # Source files grouped in levels. Files in level 0 have no dependencies on files in this + # package. Files in level 1 only depend on files in level 0, files in level 2 on files in + # levels 1 and 0, etc. Files within a level are ordered alphabetically. + # Level 0 - rtl/hwpe_ctrl_interfaces.sv - - rtl/hwpe_ctrl_regfile.sv + - rtl/hwpe_ctrl_package.sv + # Level 1 - rtl/hwpe_ctrl_regfile_latch.sv - - rtl/hwpe_ctrl_regfile_latch_test_wrap.sv - - rtl/hwpe_ctrl_slave.sv - rtl/hwpe_ctrl_seq_mult.sv - rtl/hwpe_ctrl_uloop.sv - + # Level 2 + - rtl/hwpe_ctrl_regfile_latch_test_wrap.sv + # Level 3 + - rtl/hwpe_ctrl_regfile.sv + # Level 4 + - rtl/hwpe_ctrl_slave.sv From c01b6b2fafb9202d4b7fdca3dfd298f5a26f7bea Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Thu, 21 Jan 2021 15:20:21 +0100 Subject: [PATCH 2/2] replace cluster_clock_gating with tc_clk_gating --- rtl/hwpe_ctrl_regfile_latch.sv | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rtl/hwpe_ctrl_regfile_latch.sv b/rtl/hwpe_ctrl_regfile_latch.sv index 89262bf..a8e77e0 100644 --- a/rtl/hwpe_ctrl_regfile_latch.sv +++ b/rtl/hwpe_ctrl_regfile_latch.sv @@ -62,8 +62,7 @@ module hwpe_ctrl_regfile_latch genvar x; genvar y; - cluster_clock_gating CG_WE_GLOBAL - ( + tc_clk_gating CG_WE_GLOBAL ( .clk_o ( clk_int ), .en_i ( WriteEnable | clear ), .test_en_i ( 1'b0 ), @@ -119,8 +118,7 @@ module hwpe_ctrl_regfile_latch begin : CG_CELL_WORD_ITER for(y=0; y