@@ -65,10 +65,10 @@ module ibex_top import ibex_pkg::*; #(
6565
6666 // enable all clock gates for testing
6767 input logic test_en_i,
68- input prim_ram_1p_pkg :: ram_1p_cfg_t ram_cfg_icache_tag_i,
69- output prim_ram_1p_pkg :: ram_1p_cfg_rsp_t [ibex_pkg :: IC_NUM_WAYS - 1 : 0 ] ram_cfg_rsp_icache_tag_o ,
70- input prim_ram_1p_pkg :: ram_1p_cfg_t ram_cfg_icache_data_i,
71- output prim_ram_1p_pkg :: ram_1p_cfg_rsp_t [ibex_pkg :: IC_NUM_WAYS - 1 : 0 ] ram_cfg_rsp_icache_data_o ,
68+ input prim_ram_1p_pkg :: ram_1p_cfg_req_t [ ibex_pkg :: IC_NUM_WAYS - 1 : 0 ] ram_cfg_icache_tag_i,
69+ output prim_ram_1p_pkg :: ram_1p_cfg_rsp_t [ibex_pkg :: IC_NUM_WAYS - 1 : 0 ] ram_cfg_icache_tag_o ,
70+ input prim_ram_1p_pkg :: ram_1p_cfg_req_t [ ibex_pkg :: IC_NUM_WAYS - 1 : 0 ] ram_cfg_icache_data_i,
71+ output prim_ram_1p_pkg :: ram_1p_cfg_rsp_t [ibex_pkg :: IC_NUM_WAYS - 1 : 0 ] ram_cfg_icache_data_o ,
7272
7373 input logic [31 : 0 ] hart_id_i,
7474 input logic [31 : 0 ] boot_addr_i,
@@ -633,8 +633,8 @@ module ibex_top import ibex_pkg::*; #(
633633 .rvalid_o (),
634634 .raddr_o (),
635635 .rerror_o (),
636- .cfg_i (ram_cfg_icache_tag_i),
637- .cfg_rsp_o (ram_cfg_rsp_icache_tag_o [way]),
636+ .cfg_i (ram_cfg_icache_tag_i[way] ),
637+ .cfg_o (ram_cfg_icache_tag_o [way]),
638638 .wr_collision_o (),
639639 .write_pending_o (),
640640
@@ -671,8 +671,8 @@ module ibex_top import ibex_pkg::*; #(
671671 .rvalid_o (),
672672 .raddr_o (),
673673 .rerror_o (),
674- .cfg_i (ram_cfg_icache_data_i),
675- .cfg_rsp_o (ram_cfg_rsp_icache_data_o [way]),
674+ .cfg_i (ram_cfg_icache_data_i[way] ),
675+ .cfg_o (ram_cfg_icache_data_o [way]),
676676 .wr_collision_o (),
677677 .write_pending_o (),
678678
@@ -728,8 +728,8 @@ module ibex_top import ibex_pkg::*; #(
728728 .wmask_i ({ TagSizeECC{ 1'b1 }} ),
729729
730730 .rdata_o (ic_tag_rdata[way]),
731- .cfg_i (ram_cfg_icache_tag_i),
732- .cfg_rsp_o (ram_cfg_rsp_icache_tag_o [way])
731+ .cfg_i (ram_cfg_icache_tag_i[way] ),
732+ .cfg_o (ram_cfg_icache_tag_o [way])
733733 );
734734
735735 // Data RAM instantiation
@@ -749,8 +749,8 @@ module ibex_top import ibex_pkg::*; #(
749749 .wmask_i ({ LineSizeECC{ 1'b1 }} ),
750750
751751 .rdata_o (ic_data_rdata[way]),
752- .cfg_i (ram_cfg_icache_data_i),
753- .cfg_rsp_o (ram_cfg_rsp_icache_data_o [way])
752+ .cfg_i (ram_cfg_icache_data_i[way] ),
753+ .cfg_o (ram_cfg_icache_data_o [way])
754754 );
755755
756756 assign icache_tag_alert = '{ default : 'b0 } ;
@@ -763,12 +763,12 @@ module ibex_top import ibex_pkg::*; #(
763763 logic unused_ram_cfg;
764764 logic unused_ram_inputs;
765765
766- assign unused_ram_cfg = |{ ram_cfg_icache_tag_i, ram_cfg_icache_data_i} ;
767- assign ram_cfg_rsp_icache_tag_o = '0 ;
768- assign ram_cfg_rsp_icache_data_o = '0 ;
769- assign unused_ram_inputs = (| ic_tag_req) & ic_tag_write & (| ic_tag_addr) & ( | ic_tag_wdata ) &
770- ( | ic_data_req) & ic_data_write & (| ic_data_addr ) & (| ic_data_wdata) &
771- (| NumAddrScrRounds);
766+ assign unused_ram_cfg = |{ ram_cfg_icache_tag_i, ram_cfg_icache_data_i} ;
767+ assign ram_cfg_icache_tag_o = '{ default : prim_ram_1p_pkg :: RAM_1P_CFG_RSP_DEFAULT } ;
768+ assign ram_cfg_icache_data_o = '{ default : prim_ram_1p_pkg :: RAM_1P_CFG_RSP_DEFAULT } ;
769+ assign unused_ram_inputs = (| ic_tag_req) & ic_tag_write & (| ic_tag_addr) &
770+ (| ic_tag_wdata ) & (| ic_data_req) & ic_data_write &
771+ ( | ic_data_addr) & ( | ic_data_wdata) & (| NumAddrScrRounds);
772772
773773 assign ic_tag_rdata = '{ default : 'b0 } ;
774774 assign ic_data_rdata = '{ default : 'b0 } ;
0 commit comments