2020-09-10 15:04:38 +08:00
|
|
|
module EL2_IC_DATA(
|
|
|
|
input clock,
|
|
|
|
input reset,
|
|
|
|
input io_clk_override,
|
2020-09-30 14:57:37 +08:00
|
|
|
input [11:0] io_ic_rw_addr,
|
2020-09-10 15:04:38 +08:00
|
|
|
input [1:0] io_ic_wr_en,
|
|
|
|
input io_ic_rd_en,
|
|
|
|
input [70:0] io_ic_wr_data_0,
|
|
|
|
input [70:0] io_ic_wr_data_1,
|
|
|
|
output [63:0] io_ic_rd_data,
|
|
|
|
input [70:0] io_ic_debug_wr_data,
|
|
|
|
output [70:0] io_ic_debug_rd_data,
|
|
|
|
output [1:0] io_ic_parerr,
|
|
|
|
output [1:0] io_ic_eccerr,
|
2020-09-30 14:57:37 +08:00
|
|
|
input [8:0] io_ic_debug_addr,
|
2020-09-10 15:04:38 +08:00
|
|
|
input io_ic_debug_rd_en,
|
|
|
|
input io_ic_debug_wr_en,
|
|
|
|
input io_ic_debug_tag_array,
|
|
|
|
input [1:0] io_ic_debug_way,
|
|
|
|
input [63:0] io_ic_premux_data,
|
|
|
|
input io_ic_sel_premux_data,
|
|
|
|
input [1:0] io_ic_rd_hit,
|
2020-09-30 18:17:21 +08:00
|
|
|
input io_scan_mode,
|
2020-10-01 01:28:23 +08:00
|
|
|
input [70:0] io_test_in,
|
2020-10-01 14:41:24 +08:00
|
|
|
output io_test,
|
|
|
|
output [70:0] io_test_port_0_0,
|
|
|
|
output [70:0] io_test_port_0_1,
|
|
|
|
output [70:0] io_test_port_1_0,
|
|
|
|
output [70:0] io_test_port_1_1
|
2020-09-10 15:04:38 +08:00
|
|
|
);
|
2020-10-01 01:28:23 +08:00
|
|
|
`ifdef RANDOMIZE_MEM_INIT
|
|
|
|
reg [95:0] _RAND_0;
|
|
|
|
reg [95:0] _RAND_1;
|
|
|
|
reg [95:0] _RAND_2;
|
|
|
|
reg [95:0] _RAND_3;
|
|
|
|
`endif // RANDOMIZE_MEM_INIT
|
2020-10-01 13:18:39 +08:00
|
|
|
reg [70:0] data_mem_0_0 [0:511]; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 16:05:22 +08:00
|
|
|
wire [70:0] data_mem_0_0__T_145_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_0__T_145_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_0__T_158_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_0__T_158_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_0__T_171_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_0__T_171_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_0__T_184_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_0__T_184_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_0__T_139_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_0__T_139_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_0__T_139_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_0__T_139_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_0__T_152_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_0__T_152_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_0__T_152_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_0__T_152_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_0__T_165_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_0__T_165_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_0__T_165_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_0__T_165_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_0__T_178_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_0__T_178_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_0__T_178_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_0__T_178_en; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 13:18:39 +08:00
|
|
|
reg [70:0] data_mem_0_1 [0:511]; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 16:05:22 +08:00
|
|
|
wire [70:0] data_mem_0_1__T_145_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_1__T_145_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_1__T_158_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_1__T_158_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_1__T_171_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_1__T_171_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_1__T_184_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_1__T_184_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_1__T_139_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_1__T_139_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_1__T_139_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_1__T_139_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_1__T_152_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_1__T_152_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_1__T_152_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_1__T_152_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_1__T_165_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_1__T_165_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_1__T_165_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_1__T_165_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_0_1__T_178_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_0_1__T_178_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_1__T_178_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_0_1__T_178_en; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 13:18:39 +08:00
|
|
|
reg [70:0] data_mem_1_0 [0:511]; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 16:05:22 +08:00
|
|
|
wire [70:0] data_mem_1_0__T_145_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_0__T_145_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_0__T_158_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_0__T_158_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_0__T_171_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_0__T_171_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_0__T_184_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_0__T_184_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_0__T_139_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_0__T_139_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_0__T_139_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_0__T_139_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_0__T_152_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_0__T_152_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_0__T_152_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_0__T_152_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_0__T_165_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_0__T_165_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_0__T_165_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_0__T_165_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_0__T_178_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_0__T_178_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_0__T_178_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_0__T_178_en; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 13:18:39 +08:00
|
|
|
reg [70:0] data_mem_1_1 [0:511]; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 16:05:22 +08:00
|
|
|
wire [70:0] data_mem_1_1__T_145_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_1__T_145_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_1__T_158_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_1__T_158_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_1__T_171_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_1__T_171_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_1__T_184_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_1__T_184_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_1__T_139_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_1__T_139_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_1__T_139_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_1__T_139_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_1__T_152_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_1__T_152_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_1__T_152_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_1__T_152_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_1__T_165_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_1__T_165_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_1__T_165_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_1__T_165_en; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [70:0] data_mem_1_1__T_178_data; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire [8:0] data_mem_1_1__T_178_addr; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_1__T_178_mask; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
wire data_mem_1_1__T_178_en; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
wire _T = ~io_ic_debug_tag_array; // @[el2_ifu_ic_mem.scala 200:70]
|
|
|
|
wire _T_5 = io_ic_debug_wr_en & _T; // @[el2_ifu_ic_mem.scala 201:68]
|
|
|
|
wire [1:0] _T_7 = {_T_5,_T_5}; // @[Cat.scala 29:58]
|
|
|
|
wire [1:0] ic_debug_wr_way_en = _T_7 & io_ic_debug_way; // @[el2_ifu_ic_mem.scala 201:94]
|
2020-09-30 18:17:21 +08:00
|
|
|
wire _T_8 = io_ic_debug_rd_en | io_ic_debug_wr_en; // @[el2_ifu_ic_mem.scala 206:45]
|
|
|
|
wire [10:0] _T_10 = {io_ic_debug_addr,2'h0}; // @[Cat.scala 29:58]
|
|
|
|
wire [11:0] ic_rw_addr_q = _T_8 ? {{1'd0}, _T_10} : io_ic_rw_addr; // @[el2_ifu_ic_mem.scala 206:25]
|
2020-10-01 01:28:23 +08:00
|
|
|
wire [8:0] ic_rw_addr_q_inc = ic_rw_addr_q[11:3] + 9'h1; // @[el2_ifu_ic_mem.scala 208:79]
|
2020-10-01 13:18:39 +08:00
|
|
|
wire _T_14 = ~io_ic_debug_addr[0]; // @[el2_ifu_ic_mem.scala 210:113]
|
2020-10-01 01:28:23 +08:00
|
|
|
wire [1:0] _T_16 = _T_14 ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12]
|
2020-10-01 13:18:39 +08:00
|
|
|
wire [1:0] _T_17 = ic_debug_wr_way_en & _T_16; // @[el2_ifu_ic_mem.scala 210:38]
|
|
|
|
wire [1:0] ic_b_sb_wren_0 = io_ic_wr_en | _T_17; // @[el2_ifu_ic_mem.scala 210:17]
|
2020-10-01 01:28:23 +08:00
|
|
|
wire [1:0] _T_21 = io_ic_debug_addr[0] ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12]
|
2020-10-01 13:18:39 +08:00
|
|
|
wire [1:0] _T_22 = ic_debug_wr_way_en & _T_21; // @[el2_ifu_ic_mem.scala 210:38]
|
|
|
|
wire [1:0] ic_b_sb_wren_1 = io_ic_wr_en | _T_22; // @[el2_ifu_ic_mem.scala 210:17]
|
2020-10-01 16:05:22 +08:00
|
|
|
wire _T_35 = ~ic_rw_addr_q[2]; // @[el2_ifu_ic_mem.scala 214:16]
|
|
|
|
wire _T_40 = ic_rw_addr_q[1:0] == 2'h3; // @[el2_ifu_ic_mem.scala 215:91]
|
|
|
|
wire _T_54 = ic_rw_addr_q[2] & _T_40; // @[Mux.scala 27:72]
|
|
|
|
wire _T_57 = _T_35 | _T_54; // @[Mux.scala 27:72]
|
|
|
|
wire _T_111 = |io_ic_wr_en; // @[el2_ifu_ic_mem.scala 222:74]
|
|
|
|
wire _T_112 = ~_T_111; // @[el2_ifu_ic_mem.scala 222:61]
|
|
|
|
wire _T_113 = io_ic_debug_rd_en & _T_112; // @[el2_ifu_ic_mem.scala 222:58]
|
|
|
|
wire ic_rd_en_with_debug = io_ic_rd_en | _T_113; // @[el2_ifu_ic_mem.scala 222:38]
|
|
|
|
wire _T_61 = _T_57 & ic_rd_en_with_debug; // @[el2_ifu_ic_mem.scala 217:117]
|
|
|
|
wire _T_85 = _T_35 & _T_40; // @[Mux.scala 27:72]
|
|
|
|
wire _T_88 = ic_rw_addr_q[2] | _T_85; // @[Mux.scala 27:72]
|
|
|
|
wire _T_90 = _T_88 & ic_rd_en_with_debug; // @[el2_ifu_ic_mem.scala 217:117]
|
|
|
|
wire [1:0] ic_b_rden = {_T_90,_T_61}; // @[Cat.scala 29:58]
|
2020-10-01 01:28:23 +08:00
|
|
|
wire [1:0] ic_b_sb_rden_0 = ic_b_rden[0] ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12]
|
|
|
|
wire [1:0] ic_b_sb_rden_1 = ic_b_rden[1] ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12]
|
2020-10-01 16:05:22 +08:00
|
|
|
wire _T_96 = ic_b_sb_rden_0[0] | io_clk_override; // @[el2_ifu_ic_mem.scala 220:25]
|
|
|
|
wire _T_98 = _T_96 | ic_b_sb_wren_0[0]; // @[el2_ifu_ic_mem.scala 220:43]
|
|
|
|
wire _T_100 = ic_b_sb_rden_0[1] | io_clk_override; // @[el2_ifu_ic_mem.scala 220:25]
|
|
|
|
wire _T_102 = _T_100 | ic_b_sb_wren_0[1]; // @[el2_ifu_ic_mem.scala 220:43]
|
|
|
|
wire [1:0] ic_bank_way_clken_0 = {_T_98,_T_102}; // @[Cat.scala 29:58]
|
|
|
|
wire _T_104 = ic_b_sb_rden_1[0] | io_clk_override; // @[el2_ifu_ic_mem.scala 220:25]
|
|
|
|
wire _T_106 = _T_104 | ic_b_sb_wren_1[0]; // @[el2_ifu_ic_mem.scala 220:43]
|
|
|
|
wire _T_108 = ic_b_sb_rden_1[1] | io_clk_override; // @[el2_ifu_ic_mem.scala 220:25]
|
|
|
|
wire _T_110 = _T_108 | ic_b_sb_wren_1[1]; // @[el2_ifu_ic_mem.scala 220:43]
|
|
|
|
wire [1:0] ic_bank_way_clken_1 = {_T_106,_T_110}; // @[Cat.scala 29:58]
|
|
|
|
wire _T_119 = _T_54 & ic_rd_en_with_debug; // @[el2_ifu_ic_mem.scala 224:86]
|
|
|
|
wire ic_rw_addr_wrap = _T_119 & _T_112; // @[el2_ifu_ic_mem.scala 224:108]
|
|
|
|
wire _T_122 = ~ic_rw_addr_wrap; // @[el2_ifu_ic_mem.scala 226:40]
|
|
|
|
wire [8:0] _T_127 = {ic_rw_addr_q[11:5],ic_rw_addr_q_inc[4:3]}; // @[Cat.scala 29:58]
|
|
|
|
wire _T_137 = ic_b_sb_wren_0[0] & ic_bank_way_clken_0[0]; // @[el2_ifu_ic_mem.scala 248:30]
|
|
|
|
wire _T_141 = ~ic_b_sb_wren_0[0]; // @[el2_ifu_ic_mem.scala 250:17]
|
|
|
|
wire _T_143 = _T_141 & ic_bank_way_clken_0[0]; // @[el2_ifu_ic_mem.scala 250:36]
|
|
|
|
wire [70:0] _GEN_3 = _T_143 ? data_mem_0_0__T_145_data : 71'h0; // @[el2_ifu_ic_mem.scala 250:69]
|
|
|
|
wire _T_150 = ic_b_sb_wren_1[0] & ic_bank_way_clken_1[0]; // @[el2_ifu_ic_mem.scala 248:30]
|
|
|
|
wire _T_154 = ~ic_b_sb_wren_1[0]; // @[el2_ifu_ic_mem.scala 250:17]
|
|
|
|
wire _T_156 = _T_154 & ic_bank_way_clken_1[0]; // @[el2_ifu_ic_mem.scala 250:36]
|
|
|
|
wire [70:0] _GEN_17 = _T_156 ? data_mem_1_0__T_158_data : 71'h0; // @[el2_ifu_ic_mem.scala 250:69]
|
|
|
|
wire _T_163 = ic_b_sb_wren_0[1] & ic_bank_way_clken_0[1]; // @[el2_ifu_ic_mem.scala 248:30]
|
|
|
|
wire _T_167 = ~ic_b_sb_wren_0[1]; // @[el2_ifu_ic_mem.scala 250:17]
|
|
|
|
wire _T_169 = _T_167 & ic_bank_way_clken_0[1]; // @[el2_ifu_ic_mem.scala 250:36]
|
|
|
|
wire [70:0] _GEN_31 = _T_169 ? data_mem_0_1__T_171_data : 71'h0; // @[el2_ifu_ic_mem.scala 250:69]
|
|
|
|
wire _T_176 = ic_b_sb_wren_1[1] & ic_bank_way_clken_1[1]; // @[el2_ifu_ic_mem.scala 248:30]
|
|
|
|
wire _T_180 = ~ic_b_sb_wren_1[1]; // @[el2_ifu_ic_mem.scala 250:17]
|
|
|
|
wire _T_182 = _T_180 & ic_bank_way_clken_1[1]; // @[el2_ifu_ic_mem.scala 250:36]
|
|
|
|
wire [70:0] _GEN_45 = _T_182 ? data_mem_1_1__T_184_data : 71'h0; // @[el2_ifu_ic_mem.scala 250:69]
|
|
|
|
assign data_mem_0_0__T_145_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_0_0__T_145_data = data_mem_0_0[data_mem_0_0__T_145_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_0_0__T_158_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_0_0__T_158_data = data_mem_0_0[data_mem_0_0__T_158_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_0_0__T_171_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_0_0__T_171_data = data_mem_0_0[data_mem_0_0__T_171_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_0_0__T_184_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_0_0__T_184_data = data_mem_0_0[data_mem_0_0__T_184_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_0_0__T_139_data = io_test_in;
|
|
|
|
assign data_mem_0_0__T_139_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_0_0__T_139_mask = 1'h1;
|
|
|
|
assign data_mem_0_0__T_139_en = ic_b_sb_wren_0[0] & ic_bank_way_clken_0[0];
|
|
|
|
assign data_mem_0_0__T_152_data = 71'h0;
|
|
|
|
assign data_mem_0_0__T_152_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_0_0__T_152_mask = 1'h0;
|
|
|
|
assign data_mem_0_0__T_152_en = ic_b_sb_wren_1[0] & ic_bank_way_clken_1[0];
|
|
|
|
assign data_mem_0_0__T_165_data = 71'h0;
|
|
|
|
assign data_mem_0_0__T_165_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_0_0__T_165_mask = 1'h0;
|
|
|
|
assign data_mem_0_0__T_165_en = ic_b_sb_wren_0[1] & ic_bank_way_clken_0[1];
|
|
|
|
assign data_mem_0_0__T_178_data = 71'h0;
|
|
|
|
assign data_mem_0_0__T_178_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_0_0__T_178_mask = 1'h0;
|
|
|
|
assign data_mem_0_0__T_178_en = ic_b_sb_wren_1[1] & ic_bank_way_clken_1[1];
|
|
|
|
assign data_mem_0_1__T_145_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_0_1__T_145_data = data_mem_0_1[data_mem_0_1__T_145_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_0_1__T_158_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_0_1__T_158_data = data_mem_0_1[data_mem_0_1__T_158_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_0_1__T_171_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_0_1__T_171_data = data_mem_0_1[data_mem_0_1__T_171_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_0_1__T_184_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_0_1__T_184_data = data_mem_0_1[data_mem_0_1__T_184_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_0_1__T_139_data = 71'h0;
|
|
|
|
assign data_mem_0_1__T_139_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_0_1__T_139_mask = 1'h0;
|
|
|
|
assign data_mem_0_1__T_139_en = ic_b_sb_wren_0[0] & ic_bank_way_clken_0[0];
|
|
|
|
assign data_mem_0_1__T_152_data = 71'h0;
|
|
|
|
assign data_mem_0_1__T_152_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_0_1__T_152_mask = 1'h0;
|
|
|
|
assign data_mem_0_1__T_152_en = ic_b_sb_wren_1[0] & ic_bank_way_clken_1[0];
|
|
|
|
assign data_mem_0_1__T_165_data = io_test_in;
|
|
|
|
assign data_mem_0_1__T_165_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_0_1__T_165_mask = 1'h1;
|
|
|
|
assign data_mem_0_1__T_165_en = ic_b_sb_wren_0[1] & ic_bank_way_clken_0[1];
|
|
|
|
assign data_mem_0_1__T_178_data = 71'h0;
|
|
|
|
assign data_mem_0_1__T_178_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_0_1__T_178_mask = 1'h0;
|
|
|
|
assign data_mem_0_1__T_178_en = ic_b_sb_wren_1[1] & ic_bank_way_clken_1[1];
|
|
|
|
assign data_mem_1_0__T_145_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_1_0__T_145_data = data_mem_1_0[data_mem_1_0__T_145_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_1_0__T_158_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_1_0__T_158_data = data_mem_1_0[data_mem_1_0__T_158_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_1_0__T_171_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_1_0__T_171_data = data_mem_1_0[data_mem_1_0__T_171_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_1_0__T_184_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_1_0__T_184_data = data_mem_1_0[data_mem_1_0__T_184_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_1_0__T_139_data = 71'h0;
|
|
|
|
assign data_mem_1_0__T_139_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_1_0__T_139_mask = 1'h0;
|
|
|
|
assign data_mem_1_0__T_139_en = ic_b_sb_wren_0[0] & ic_bank_way_clken_0[0];
|
|
|
|
assign data_mem_1_0__T_152_data = io_test_in;
|
|
|
|
assign data_mem_1_0__T_152_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_1_0__T_152_mask = 1'h1;
|
|
|
|
assign data_mem_1_0__T_152_en = ic_b_sb_wren_1[0] & ic_bank_way_clken_1[0];
|
|
|
|
assign data_mem_1_0__T_165_data = 71'h0;
|
|
|
|
assign data_mem_1_0__T_165_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_1_0__T_165_mask = 1'h0;
|
|
|
|
assign data_mem_1_0__T_165_en = ic_b_sb_wren_0[1] & ic_bank_way_clken_0[1];
|
|
|
|
assign data_mem_1_0__T_178_data = 71'h0;
|
|
|
|
assign data_mem_1_0__T_178_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_1_0__T_178_mask = 1'h0;
|
|
|
|
assign data_mem_1_0__T_178_en = ic_b_sb_wren_1[1] & ic_bank_way_clken_1[1];
|
|
|
|
assign data_mem_1_1__T_145_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_1_1__T_145_data = data_mem_1_1[data_mem_1_1__T_145_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_1_1__T_158_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_1_1__T_158_data = data_mem_1_1[data_mem_1_1__T_158_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_1_1__T_171_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_1_1__T_171_data = data_mem_1_1[data_mem_1_1__T_171_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_1_1__T_184_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_1_1__T_184_data = data_mem_1_1[data_mem_1_1__T_184_addr]; // @[el2_ifu_ic_mem.scala 243:21]
|
|
|
|
assign data_mem_1_1__T_139_data = 71'h0;
|
|
|
|
assign data_mem_1_1__T_139_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_1_1__T_139_mask = 1'h0;
|
|
|
|
assign data_mem_1_1__T_139_en = ic_b_sb_wren_0[0] & ic_bank_way_clken_0[0];
|
|
|
|
assign data_mem_1_1__T_152_data = 71'h0;
|
|
|
|
assign data_mem_1_1__T_152_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_1_1__T_152_mask = 1'h0;
|
|
|
|
assign data_mem_1_1__T_152_en = ic_b_sb_wren_1[0] & ic_bank_way_clken_1[0];
|
|
|
|
assign data_mem_1_1__T_165_data = 71'h0;
|
|
|
|
assign data_mem_1_1__T_165_addr = _T_122 ? ic_rw_addr_q[11:3] : _T_127;
|
|
|
|
assign data_mem_1_1__T_165_mask = 1'h0;
|
|
|
|
assign data_mem_1_1__T_165_en = ic_b_sb_wren_0[1] & ic_bank_way_clken_0[1];
|
|
|
|
assign data_mem_1_1__T_178_data = io_test_in;
|
|
|
|
assign data_mem_1_1__T_178_addr = ic_rw_addr_q[11:3];
|
|
|
|
assign data_mem_1_1__T_178_mask = 1'h1;
|
|
|
|
assign data_mem_1_1__T_178_en = ic_b_sb_wren_1[1] & ic_bank_way_clken_1[1];
|
2020-09-30 14:57:37 +08:00
|
|
|
assign io_ic_rd_data = 64'h0; // @[el2_ifu_ic_mem.scala 194:17]
|
|
|
|
assign io_ic_debug_rd_data = 71'h0; // @[el2_ifu_ic_mem.scala 195:23]
|
|
|
|
assign io_ic_parerr = 2'h0; // @[el2_ifu_ic_mem.scala 196:16]
|
|
|
|
assign io_ic_eccerr = 2'h0; // @[el2_ifu_ic_mem.scala 197:16]
|
2020-10-01 14:41:24 +08:00
|
|
|
assign io_test = 1'h0; // @[el2_ifu_ic_mem.scala 198:11]
|
2020-10-01 16:05:22 +08:00
|
|
|
assign io_test_port_0_0 = _T_137 ? 71'h0 : _GEN_3; // @[el2_ifu_ic_mem.scala 254:16]
|
|
|
|
assign io_test_port_0_1 = _T_150 ? 71'h0 : _GEN_17; // @[el2_ifu_ic_mem.scala 254:16]
|
|
|
|
assign io_test_port_1_0 = _T_163 ? 71'h0 : _GEN_31; // @[el2_ifu_ic_mem.scala 254:16]
|
|
|
|
assign io_test_port_1_1 = _T_176 ? 71'h0 : _GEN_45; // @[el2_ifu_ic_mem.scala 254:16]
|
2020-10-01 01:28:23 +08:00
|
|
|
`ifdef RANDOMIZE_GARBAGE_ASSIGN
|
|
|
|
`define RANDOMIZE
|
|
|
|
`endif
|
|
|
|
`ifdef RANDOMIZE_INVALID_ASSIGN
|
|
|
|
`define RANDOMIZE
|
|
|
|
`endif
|
|
|
|
`ifdef RANDOMIZE_REG_INIT
|
|
|
|
`define RANDOMIZE
|
|
|
|
`endif
|
|
|
|
`ifdef RANDOMIZE_MEM_INIT
|
|
|
|
`define RANDOMIZE
|
|
|
|
`endif
|
|
|
|
`ifndef RANDOM
|
|
|
|
`define RANDOM $random
|
|
|
|
`endif
|
|
|
|
`ifdef RANDOMIZE_MEM_INIT
|
|
|
|
integer initvar;
|
|
|
|
`endif
|
|
|
|
`ifndef SYNTHESIS
|
|
|
|
`ifdef FIRRTL_BEFORE_INITIAL
|
|
|
|
`FIRRTL_BEFORE_INITIAL
|
|
|
|
`endif
|
|
|
|
initial begin
|
|
|
|
`ifdef RANDOMIZE
|
|
|
|
`ifdef INIT_RANDOM
|
|
|
|
`INIT_RANDOM
|
|
|
|
`endif
|
|
|
|
`ifndef VERILATOR
|
|
|
|
`ifdef RANDOMIZE_DELAY
|
|
|
|
#`RANDOMIZE_DELAY begin end
|
|
|
|
`else
|
|
|
|
#0.002 begin end
|
|
|
|
`endif
|
|
|
|
`endif
|
|
|
|
`ifdef RANDOMIZE_MEM_INIT
|
|
|
|
_RAND_0 = {3{`RANDOM}};
|
|
|
|
for (initvar = 0; initvar < 512; initvar = initvar+1)
|
|
|
|
data_mem_0_0[initvar] = _RAND_0[70:0];
|
|
|
|
_RAND_1 = {3{`RANDOM}};
|
|
|
|
for (initvar = 0; initvar < 512; initvar = initvar+1)
|
|
|
|
data_mem_0_1[initvar] = _RAND_1[70:0];
|
|
|
|
_RAND_2 = {3{`RANDOM}};
|
|
|
|
for (initvar = 0; initvar < 512; initvar = initvar+1)
|
|
|
|
data_mem_1_0[initvar] = _RAND_2[70:0];
|
|
|
|
_RAND_3 = {3{`RANDOM}};
|
|
|
|
for (initvar = 0; initvar < 512; initvar = initvar+1)
|
|
|
|
data_mem_1_1[initvar] = _RAND_3[70:0];
|
|
|
|
`endif // RANDOMIZE_MEM_INIT
|
|
|
|
`endif // RANDOMIZE
|
|
|
|
end // initial
|
|
|
|
`ifdef FIRRTL_AFTER_INITIAL
|
|
|
|
`FIRRTL_AFTER_INITIAL
|
|
|
|
`endif
|
|
|
|
`endif // SYNTHESIS
|
|
|
|
always @(posedge clock) begin
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_0_0__T_139_en & data_mem_0_0__T_139_mask) begin
|
|
|
|
data_mem_0_0[data_mem_0_0__T_139_addr] <= data_mem_0_0__T_139_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_0_0__T_152_en & data_mem_0_0__T_152_mask) begin
|
|
|
|
data_mem_0_0[data_mem_0_0__T_152_addr] <= data_mem_0_0__T_152_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_0_0__T_165_en & data_mem_0_0__T_165_mask) begin
|
|
|
|
data_mem_0_0[data_mem_0_0__T_165_addr] <= data_mem_0_0__T_165_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_0_0__T_178_en & data_mem_0_0__T_178_mask) begin
|
|
|
|
data_mem_0_0[data_mem_0_0__T_178_addr] <= data_mem_0_0__T_178_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_0_1__T_139_en & data_mem_0_1__T_139_mask) begin
|
|
|
|
data_mem_0_1[data_mem_0_1__T_139_addr] <= data_mem_0_1__T_139_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_0_1__T_152_en & data_mem_0_1__T_152_mask) begin
|
|
|
|
data_mem_0_1[data_mem_0_1__T_152_addr] <= data_mem_0_1__T_152_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_0_1__T_165_en & data_mem_0_1__T_165_mask) begin
|
|
|
|
data_mem_0_1[data_mem_0_1__T_165_addr] <= data_mem_0_1__T_165_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_0_1__T_178_en & data_mem_0_1__T_178_mask) begin
|
|
|
|
data_mem_0_1[data_mem_0_1__T_178_addr] <= data_mem_0_1__T_178_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_1_0__T_139_en & data_mem_1_0__T_139_mask) begin
|
|
|
|
data_mem_1_0[data_mem_1_0__T_139_addr] <= data_mem_1_0__T_139_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_1_0__T_152_en & data_mem_1_0__T_152_mask) begin
|
|
|
|
data_mem_1_0[data_mem_1_0__T_152_addr] <= data_mem_1_0__T_152_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_1_0__T_165_en & data_mem_1_0__T_165_mask) begin
|
|
|
|
data_mem_1_0[data_mem_1_0__T_165_addr] <= data_mem_1_0__T_165_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_1_0__T_178_en & data_mem_1_0__T_178_mask) begin
|
|
|
|
data_mem_1_0[data_mem_1_0__T_178_addr] <= data_mem_1_0__T_178_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_1_1__T_139_en & data_mem_1_1__T_139_mask) begin
|
|
|
|
data_mem_1_1[data_mem_1_1__T_139_addr] <= data_mem_1_1__T_139_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_1_1__T_152_en & data_mem_1_1__T_152_mask) begin
|
|
|
|
data_mem_1_1[data_mem_1_1__T_152_addr] <= data_mem_1_1__T_152_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_1_1__T_165_en & data_mem_1_1__T_165_mask) begin
|
|
|
|
data_mem_1_1[data_mem_1_1__T_165_addr] <= data_mem_1_1__T_165_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
2020-10-01 16:05:22 +08:00
|
|
|
if(data_mem_1_1__T_178_en & data_mem_1_1__T_178_mask) begin
|
|
|
|
data_mem_1_1[data_mem_1_1__T_178_addr] <= data_mem_1_1__T_178_data; // @[el2_ifu_ic_mem.scala 243:21]
|
2020-10-01 01:28:23 +08:00
|
|
|
end
|
|
|
|
end
|
2020-09-10 15:04:38 +08:00
|
|
|
endmodule
|