diff --git a/design/el2_mem.sv b/design/el2_mem.sv index 25891642333..74c17badb41 100644 --- a/design/el2_mem.sv +++ b/design/el2_mem.sv @@ -96,8 +96,6 @@ import el2_pkg::*; el2_mem_if mem_export_local (); - assign mem_export .clk = clk; - assign icache_export .clk = clk; assign mem_export_local.clk = clk; assign mem_export .iccm_clken = mem_export_local.iccm_clken; diff --git a/testbench/tb_top.sv b/testbench/tb_top.sv index 5607453977c..553821e8079 100644 --- a/testbench/tb_top.sv +++ b/testbench/tb_top.sv @@ -100,6 +100,7 @@ module tb_top bit [31:0] mem_signature_begin = 32'd0; // TODO: bit [31:0] mem_signature_end = 32'd0; bit [31:0] mem_mailbox = 32'hD0580000; + logic rst_l; `endif logic porst_l; logic [pt.PIC_TOTAL_INT:1] ext_int; @@ -1010,7 +1011,9 @@ module tb_top `endif end - +`ifndef VERILATOR + assign rst_l = cycleCnt > 5; +`endif assign porst_l = cycleCnt > 2; //=========================================================================- @@ -2570,7 +2573,7 @@ end : Gen_iccm_enable // ICACHE TAG -if (pt.ICACHE_WAYPACK == 0 ) begin : PACKED_0 +if (pt.ICACHE_WAYPACK == 0 ) begin : PACKED_11 for (genvar i=0; i