diff --git a/axi4_to_ahb.fir b/axi4_to_ahb.fir index 4080b855..a2206c0b 100644 --- a/axi4_to_ahb.fir +++ b/axi4_to_ahb.fir @@ -408,140 +408,140 @@ circuit axi4_to_ahb : wire ahbm_data_clken : UInt<1> ahbm_data_clken <= UInt<1>("h00") wire buf_clk : Clock @[axi4_to_ahb.scala 156:21] - node _T_5 = and(wrbuf_vld, wrbuf_data_vld) @[axi4_to_ahb.scala 197:27] - wr_cmd_vld <= _T_5 @[axi4_to_ahb.scala 197:14] - node _T_6 = or(wr_cmd_vld, io.axi_arvalid) @[axi4_to_ahb.scala 198:30] - master_valid <= _T_6 @[axi4_to_ahb.scala 198:16] - node _T_7 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 199:38] - node _T_8 = bits(wrbuf_tag, 0, 0) @[axi4_to_ahb.scala 199:51] - node _T_9 = bits(io.axi_arid, 0, 0) @[axi4_to_ahb.scala 199:76] - node _T_10 = mux(_T_7, _T_8, _T_9) @[axi4_to_ahb.scala 199:20] - master_tag <= _T_10 @[axi4_to_ahb.scala 199:14] - node _T_11 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 200:38] - node _T_12 = mux(_T_11, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 200:20] - master_opc <= _T_12 @[axi4_to_ahb.scala 200:14] - node _T_13 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 201:39] - node _T_14 = bits(wrbuf_addr, 31, 0) @[axi4_to_ahb.scala 201:53] - node _T_15 = bits(io.axi_araddr, 31, 0) @[axi4_to_ahb.scala 201:75] - node _T_16 = mux(_T_13, _T_14, _T_15) @[axi4_to_ahb.scala 201:21] - master_addr <= _T_16 @[axi4_to_ahb.scala 201:15] - node _T_17 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 202:39] - node _T_18 = bits(wrbuf_size, 2, 0) @[axi4_to_ahb.scala 202:53] - node _T_19 = bits(io.axi_arsize, 2, 0) @[axi4_to_ahb.scala 202:74] - node _T_20 = mux(_T_17, _T_18, _T_19) @[axi4_to_ahb.scala 202:21] - master_size <= _T_20 @[axi4_to_ahb.scala 202:15] - node _T_21 = bits(wrbuf_byteen, 7, 0) @[axi4_to_ahb.scala 203:32] - master_byteen <= _T_21 @[axi4_to_ahb.scala 203:17] - node _T_22 = bits(wrbuf_data, 63, 0) @[axi4_to_ahb.scala 204:29] - master_wdata <= _T_22 @[axi4_to_ahb.scala 204:16] - node _T_23 = and(slave_valid, slave_ready) @[axi4_to_ahb.scala 207:32] - node _T_24 = bits(slave_opc, 3, 3) @[axi4_to_ahb.scala 207:57] - node _T_25 = and(_T_23, _T_24) @[axi4_to_ahb.scala 207:46] - io.axi_bvalid <= _T_25 @[axi4_to_ahb.scala 207:17] - node _T_26 = bits(slave_opc, 0, 0) @[axi4_to_ahb.scala 208:32] - node _T_27 = bits(slave_opc, 1, 1) @[axi4_to_ahb.scala 208:59] - node _T_28 = mux(_T_27, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 208:49] - node _T_29 = mux(_T_26, UInt<2>("h02"), _T_28) @[axi4_to_ahb.scala 208:22] - io.axi_bresp <= _T_29 @[axi4_to_ahb.scala 208:16] - node _T_30 = bits(slave_tag, 0, 0) @[axi4_to_ahb.scala 209:26] - io.axi_bid <= _T_30 @[axi4_to_ahb.scala 209:14] - node _T_31 = and(slave_valid, slave_ready) @[axi4_to_ahb.scala 211:32] - node _T_32 = bits(slave_opc, 3, 2) @[axi4_to_ahb.scala 211:58] - node _T_33 = eq(_T_32, UInt<1>("h00")) @[axi4_to_ahb.scala 211:65] - node _T_34 = and(_T_31, _T_33) @[axi4_to_ahb.scala 211:46] - io.axi_rvalid <= _T_34 @[axi4_to_ahb.scala 211:17] - node _T_35 = bits(slave_opc, 0, 0) @[axi4_to_ahb.scala 212:32] - node _T_36 = bits(slave_opc, 1, 1) @[axi4_to_ahb.scala 212:59] - node _T_37 = mux(_T_36, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 212:49] - node _T_38 = mux(_T_35, UInt<2>("h02"), _T_37) @[axi4_to_ahb.scala 212:22] - io.axi_rresp <= _T_38 @[axi4_to_ahb.scala 212:16] - node _T_39 = bits(slave_tag, 0, 0) @[axi4_to_ahb.scala 213:26] - io.axi_rid <= _T_39 @[axi4_to_ahb.scala 213:14] - node _T_40 = bits(slave_rdata, 63, 0) @[axi4_to_ahb.scala 214:30] - io.axi_rdata <= _T_40 @[axi4_to_ahb.scala 214:16] - node _T_41 = and(io.axi_bready, io.axi_rready) @[axi4_to_ahb.scala 215:32] - slave_ready <= _T_41 @[axi4_to_ahb.scala 215:15] - node _T_42 = and(io.axi_awvalid, io.axi_awready) @[axi4_to_ahb.scala 218:56] - node _T_43 = and(io.axi_wvalid, io.axi_wready) @[axi4_to_ahb.scala 218:91] - node _T_44 = or(_T_42, _T_43) @[axi4_to_ahb.scala 218:74] - node _T_45 = and(io.bus_clk_en, _T_44) @[axi4_to_ahb.scala 218:37] - bus_write_clk_en <= _T_45 @[axi4_to_ahb.scala 218:20] + node _T_5 = and(wrbuf_vld, wrbuf_data_vld) @[axi4_to_ahb.scala 196:27] + wr_cmd_vld <= _T_5 @[axi4_to_ahb.scala 196:14] + node _T_6 = or(wr_cmd_vld, io.axi_arvalid) @[axi4_to_ahb.scala 197:30] + master_valid <= _T_6 @[axi4_to_ahb.scala 197:16] + node _T_7 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 198:38] + node _T_8 = bits(wrbuf_tag, 0, 0) @[axi4_to_ahb.scala 198:51] + node _T_9 = bits(io.axi_arid, 0, 0) @[axi4_to_ahb.scala 198:76] + node _T_10 = mux(_T_7, _T_8, _T_9) @[axi4_to_ahb.scala 198:20] + master_tag <= _T_10 @[axi4_to_ahb.scala 198:14] + node _T_11 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 199:38] + node _T_12 = mux(_T_11, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 199:20] + master_opc <= _T_12 @[axi4_to_ahb.scala 199:14] + node _T_13 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 200:39] + node _T_14 = bits(wrbuf_addr, 31, 0) @[axi4_to_ahb.scala 200:53] + node _T_15 = bits(io.axi_araddr, 31, 0) @[axi4_to_ahb.scala 200:75] + node _T_16 = mux(_T_13, _T_14, _T_15) @[axi4_to_ahb.scala 200:21] + master_addr <= _T_16 @[axi4_to_ahb.scala 200:15] + node _T_17 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 201:39] + node _T_18 = bits(wrbuf_size, 2, 0) @[axi4_to_ahb.scala 201:53] + node _T_19 = bits(io.axi_arsize, 2, 0) @[axi4_to_ahb.scala 201:74] + node _T_20 = mux(_T_17, _T_18, _T_19) @[axi4_to_ahb.scala 201:21] + master_size <= _T_20 @[axi4_to_ahb.scala 201:15] + node _T_21 = bits(wrbuf_byteen, 7, 0) @[axi4_to_ahb.scala 202:32] + master_byteen <= _T_21 @[axi4_to_ahb.scala 202:17] + node _T_22 = bits(wrbuf_data, 63, 0) @[axi4_to_ahb.scala 203:29] + master_wdata <= _T_22 @[axi4_to_ahb.scala 203:16] + node _T_23 = and(slave_valid, slave_ready) @[axi4_to_ahb.scala 206:32] + node _T_24 = bits(slave_opc, 3, 3) @[axi4_to_ahb.scala 206:57] + node _T_25 = and(_T_23, _T_24) @[axi4_to_ahb.scala 206:46] + io.axi_bvalid <= _T_25 @[axi4_to_ahb.scala 206:17] + node _T_26 = bits(slave_opc, 0, 0) @[axi4_to_ahb.scala 207:32] + node _T_27 = bits(slave_opc, 1, 1) @[axi4_to_ahb.scala 207:59] + node _T_28 = mux(_T_27, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 207:49] + node _T_29 = mux(_T_26, UInt<2>("h02"), _T_28) @[axi4_to_ahb.scala 207:22] + io.axi_bresp <= _T_29 @[axi4_to_ahb.scala 207:16] + node _T_30 = bits(slave_tag, 0, 0) @[axi4_to_ahb.scala 208:26] + io.axi_bid <= _T_30 @[axi4_to_ahb.scala 208:14] + node _T_31 = and(slave_valid, slave_ready) @[axi4_to_ahb.scala 210:32] + node _T_32 = bits(slave_opc, 3, 2) @[axi4_to_ahb.scala 210:58] + node _T_33 = eq(_T_32, UInt<1>("h00")) @[axi4_to_ahb.scala 210:65] + node _T_34 = and(_T_31, _T_33) @[axi4_to_ahb.scala 210:46] + io.axi_rvalid <= _T_34 @[axi4_to_ahb.scala 210:17] + node _T_35 = bits(slave_opc, 0, 0) @[axi4_to_ahb.scala 211:32] + node _T_36 = bits(slave_opc, 1, 1) @[axi4_to_ahb.scala 211:59] + node _T_37 = mux(_T_36, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 211:49] + node _T_38 = mux(_T_35, UInt<2>("h02"), _T_37) @[axi4_to_ahb.scala 211:22] + io.axi_rresp <= _T_38 @[axi4_to_ahb.scala 211:16] + node _T_39 = bits(slave_tag, 0, 0) @[axi4_to_ahb.scala 212:26] + io.axi_rid <= _T_39 @[axi4_to_ahb.scala 212:14] + node _T_40 = bits(slave_rdata, 63, 0) @[axi4_to_ahb.scala 213:30] + io.axi_rdata <= _T_40 @[axi4_to_ahb.scala 213:16] + node _T_41 = and(io.axi_bready, io.axi_rready) @[axi4_to_ahb.scala 214:32] + slave_ready <= _T_41 @[axi4_to_ahb.scala 214:15] + node _T_42 = and(io.axi_awvalid, io.axi_awready) @[axi4_to_ahb.scala 217:56] + node _T_43 = and(io.axi_wvalid, io.axi_wready) @[axi4_to_ahb.scala 217:91] + node _T_44 = or(_T_42, _T_43) @[axi4_to_ahb.scala 217:74] + node _T_45 = and(io.bus_clk_en, _T_44) @[axi4_to_ahb.scala 217:37] + bus_write_clk_en <= _T_45 @[axi4_to_ahb.scala 217:20] inst rvclkhdr of rvclkhdr @[el2_lib.scala 483:22] rvclkhdr.clock <= clock rvclkhdr.reset <= reset rvclkhdr.io.clk <= clock @[el2_lib.scala 484:17] rvclkhdr.io.en <= io.bus_clk_en @[el2_lib.scala 485:16] rvclkhdr.io.scan_mode <= io.scan_mode @[el2_lib.scala 486:23] - bus_clk <= rvclkhdr.io.l1clk @[axi4_to_ahb.scala 220:11] - node _T_46 = bits(bus_write_clk_en, 0, 0) @[axi4_to_ahb.scala 221:59] + bus_clk <= rvclkhdr.io.l1clk @[axi4_to_ahb.scala 219:11] + node _T_46 = bits(bus_write_clk_en, 0, 0) @[axi4_to_ahb.scala 220:59] inst rvclkhdr_1 of rvclkhdr_1 @[el2_lib.scala 483:22] rvclkhdr_1.clock <= clock rvclkhdr_1.reset <= reset rvclkhdr_1.io.clk <= clock @[el2_lib.scala 484:17] rvclkhdr_1.io.en <= _T_46 @[el2_lib.scala 485:16] rvclkhdr_1.io.scan_mode <= io.scan_mode @[el2_lib.scala 486:23] - bus_write_clk <= rvclkhdr_1.io.l1clk @[axi4_to_ahb.scala 221:17] - io.ahb_htrans <= UInt<1>("h00") @[axi4_to_ahb.scala 224:17] - master_ready <= UInt<1>("h00") @[axi4_to_ahb.scala 225:16] - buf_state_en <= UInt<1>("h00") @[axi4_to_ahb.scala 226:16] - buf_nxtstate <= UInt<3>("h00") @[axi4_to_ahb.scala 227:18] - buf_data_wr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 229:18] - slvbuf_error_in <= UInt<1>("h00") @[axi4_to_ahb.scala 230:21] - slvbuf_error_en <= UInt<1>("h00") @[axi4_to_ahb.scala 231:21] - buf_write_in <= UInt<1>("h00") @[axi4_to_ahb.scala 232:18] - cmd_done <= UInt<1>("h00") @[axi4_to_ahb.scala 233:18] - trxn_done <= UInt<1>("h00") @[axi4_to_ahb.scala 234:18] - buf_cmd_byte_ptr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 235:23] - buf_cmd_byte_ptr <= UInt<1>("h00") @[axi4_to_ahb.scala 236:20] - slave_valid_pre <= UInt<1>("h00") @[axi4_to_ahb.scala 237:21] - slvbuf_wr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 238:19] - bypass_en <= UInt<1>("h00") @[axi4_to_ahb.scala 239:20] - rd_bypass_idle <= UInt<1>("h00") @[axi4_to_ahb.scala 240:18] + bus_write_clk <= rvclkhdr_1.io.l1clk @[axi4_to_ahb.scala 220:17] + io.ahb_htrans <= UInt<1>("h00") @[axi4_to_ahb.scala 223:17] + master_ready <= UInt<1>("h00") @[axi4_to_ahb.scala 224:16] + buf_state_en <= UInt<1>("h00") @[axi4_to_ahb.scala 225:16] + buf_nxtstate <= UInt<3>("h00") @[axi4_to_ahb.scala 226:18] + buf_data_wr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 228:18] + slvbuf_error_in <= UInt<1>("h00") @[axi4_to_ahb.scala 229:21] + slvbuf_error_en <= UInt<1>("h00") @[axi4_to_ahb.scala 230:21] + buf_write_in <= UInt<1>("h00") @[axi4_to_ahb.scala 231:18] + cmd_done <= UInt<1>("h00") @[axi4_to_ahb.scala 232:18] + trxn_done <= UInt<1>("h00") @[axi4_to_ahb.scala 233:18] + buf_cmd_byte_ptr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 234:23] + buf_cmd_byte_ptr <= UInt<1>("h00") @[axi4_to_ahb.scala 235:20] + slave_valid_pre <= UInt<1>("h00") @[axi4_to_ahb.scala 236:21] + slvbuf_wr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 237:19] + bypass_en <= UInt<1>("h00") @[axi4_to_ahb.scala 238:20] + rd_bypass_idle <= UInt<1>("h00") @[axi4_to_ahb.scala 239:18] node _T_47 = eq(UInt<3>("h00"), buf_state) @[Conditional.scala 37:30] when _T_47 : @[Conditional.scala 40:58] - master_ready <= UInt<1>("h01") @[axi4_to_ahb.scala 244:20] - node _T_48 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 245:34] - node _T_49 = eq(_T_48, UInt<1>("h01")) @[axi4_to_ahb.scala 245:41] - buf_write_in <= _T_49 @[axi4_to_ahb.scala 245:20] - node _T_50 = bits(buf_write_in, 0, 0) @[axi4_to_ahb.scala 246:46] - node _T_51 = mux(_T_50, UInt<3>("h02"), UInt<3>("h01")) @[axi4_to_ahb.scala 246:26] - buf_nxtstate <= _T_51 @[axi4_to_ahb.scala 246:20] - node _T_52 = and(master_valid, UInt<1>("h01")) @[axi4_to_ahb.scala 247:36] - buf_state_en <= _T_52 @[axi4_to_ahb.scala 247:20] - buf_wr_en <= buf_state_en @[axi4_to_ahb.scala 248:17] - node _T_53 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 249:54] - node _T_54 = and(buf_state_en, _T_53) @[axi4_to_ahb.scala 249:38] - buf_data_wr_en <= _T_54 @[axi4_to_ahb.scala 249:22] - buf_cmd_byte_ptr_en <= buf_state_en @[axi4_to_ahb.scala 250:27] - node _T_55 = bits(buf_write_in, 0, 0) @[axi4_to_ahb.scala 252:50] - node _T_56 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 252:89] - node _T_57 = add(UInt<1>("h00"), UInt<1>("h01")) @[axi4_to_ahb.scala 181:52] - node _T_58 = tail(_T_57, 1) @[axi4_to_ahb.scala 181:52] - node _T_59 = mux(UInt<1>("h00"), _T_58, UInt<1>("h00")) @[axi4_to_ahb.scala 181:24] - node _T_60 = bits(_T_56, 0, 0) @[axi4_to_ahb.scala 182:44] - node _T_61 = geq(UInt<1>("h00"), _T_59) @[axi4_to_ahb.scala 182:62] - node _T_62 = and(_T_60, _T_61) @[axi4_to_ahb.scala 182:48] - node _T_63 = bits(_T_56, 1, 1) @[axi4_to_ahb.scala 182:44] - node _T_64 = geq(UInt<1>("h01"), _T_59) @[axi4_to_ahb.scala 182:62] - node _T_65 = and(_T_63, _T_64) @[axi4_to_ahb.scala 182:48] - node _T_66 = bits(_T_56, 2, 2) @[axi4_to_ahb.scala 182:44] - node _T_67 = geq(UInt<2>("h02"), _T_59) @[axi4_to_ahb.scala 182:62] - node _T_68 = and(_T_66, _T_67) @[axi4_to_ahb.scala 182:48] - node _T_69 = bits(_T_56, 3, 3) @[axi4_to_ahb.scala 182:44] - node _T_70 = geq(UInt<2>("h03"), _T_59) @[axi4_to_ahb.scala 182:62] - node _T_71 = and(_T_69, _T_70) @[axi4_to_ahb.scala 182:48] - node _T_72 = bits(_T_56, 4, 4) @[axi4_to_ahb.scala 182:44] - node _T_73 = geq(UInt<3>("h04"), _T_59) @[axi4_to_ahb.scala 182:62] - node _T_74 = and(_T_72, _T_73) @[axi4_to_ahb.scala 182:48] - node _T_75 = bits(_T_56, 5, 5) @[axi4_to_ahb.scala 182:44] - node _T_76 = geq(UInt<3>("h05"), _T_59) @[axi4_to_ahb.scala 182:62] - node _T_77 = and(_T_75, _T_76) @[axi4_to_ahb.scala 182:48] - node _T_78 = bits(_T_56, 6, 6) @[axi4_to_ahb.scala 182:44] - node _T_79 = geq(UInt<3>("h06"), _T_59) @[axi4_to_ahb.scala 182:62] - node _T_80 = and(_T_78, _T_79) @[axi4_to_ahb.scala 182:48] - node _T_81 = bits(_T_56, 7, 7) @[axi4_to_ahb.scala 182:44] - node _T_82 = geq(UInt<3>("h07"), _T_59) @[axi4_to_ahb.scala 182:62] - node _T_83 = and(_T_81, _T_82) @[axi4_to_ahb.scala 182:48] + master_ready <= UInt<1>("h01") @[axi4_to_ahb.scala 243:20] + node _T_48 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 244:34] + node _T_49 = eq(_T_48, UInt<1>("h01")) @[axi4_to_ahb.scala 244:41] + buf_write_in <= _T_49 @[axi4_to_ahb.scala 244:20] + node _T_50 = bits(buf_write_in, 0, 0) @[axi4_to_ahb.scala 245:46] + node _T_51 = mux(_T_50, UInt<3>("h02"), UInt<3>("h01")) @[axi4_to_ahb.scala 245:26] + buf_nxtstate <= _T_51 @[axi4_to_ahb.scala 245:20] + node _T_52 = and(master_valid, UInt<1>("h01")) @[axi4_to_ahb.scala 246:36] + buf_state_en <= _T_52 @[axi4_to_ahb.scala 246:20] + buf_wr_en <= buf_state_en @[axi4_to_ahb.scala 247:17] + node _T_53 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 248:54] + node _T_54 = and(buf_state_en, _T_53) @[axi4_to_ahb.scala 248:38] + buf_data_wr_en <= _T_54 @[axi4_to_ahb.scala 248:22] + buf_cmd_byte_ptr_en <= buf_state_en @[axi4_to_ahb.scala 249:27] + node _T_55 = bits(buf_write_in, 0, 0) @[axi4_to_ahb.scala 251:50] + node _T_56 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 251:89] + node _T_57 = add(UInt<1>("h00"), UInt<1>("h01")) @[axi4_to_ahb.scala 180:52] + node _T_58 = tail(_T_57, 1) @[axi4_to_ahb.scala 180:52] + node _T_59 = mux(UInt<1>("h00"), _T_58, UInt<1>("h00")) @[axi4_to_ahb.scala 180:24] + node _T_60 = bits(_T_56, 0, 0) @[axi4_to_ahb.scala 181:44] + node _T_61 = geq(UInt<1>("h00"), _T_59) @[axi4_to_ahb.scala 181:62] + node _T_62 = and(_T_60, _T_61) @[axi4_to_ahb.scala 181:48] + node _T_63 = bits(_T_56, 1, 1) @[axi4_to_ahb.scala 181:44] + node _T_64 = geq(UInt<1>("h01"), _T_59) @[axi4_to_ahb.scala 181:62] + node _T_65 = and(_T_63, _T_64) @[axi4_to_ahb.scala 181:48] + node _T_66 = bits(_T_56, 2, 2) @[axi4_to_ahb.scala 181:44] + node _T_67 = geq(UInt<2>("h02"), _T_59) @[axi4_to_ahb.scala 181:62] + node _T_68 = and(_T_66, _T_67) @[axi4_to_ahb.scala 181:48] + node _T_69 = bits(_T_56, 3, 3) @[axi4_to_ahb.scala 181:44] + node _T_70 = geq(UInt<2>("h03"), _T_59) @[axi4_to_ahb.scala 181:62] + node _T_71 = and(_T_69, _T_70) @[axi4_to_ahb.scala 181:48] + node _T_72 = bits(_T_56, 4, 4) @[axi4_to_ahb.scala 181:44] + node _T_73 = geq(UInt<3>("h04"), _T_59) @[axi4_to_ahb.scala 181:62] + node _T_74 = and(_T_72, _T_73) @[axi4_to_ahb.scala 181:48] + node _T_75 = bits(_T_56, 5, 5) @[axi4_to_ahb.scala 181:44] + node _T_76 = geq(UInt<3>("h05"), _T_59) @[axi4_to_ahb.scala 181:62] + node _T_77 = and(_T_75, _T_76) @[axi4_to_ahb.scala 181:48] + node _T_78 = bits(_T_56, 6, 6) @[axi4_to_ahb.scala 181:44] + node _T_79 = geq(UInt<3>("h06"), _T_59) @[axi4_to_ahb.scala 181:62] + node _T_80 = and(_T_78, _T_79) @[axi4_to_ahb.scala 181:48] + node _T_81 = bits(_T_56, 7, 7) @[axi4_to_ahb.scala 181:44] + node _T_82 = geq(UInt<3>("h07"), _T_59) @[axi4_to_ahb.scala 181:62] + node _T_83 = and(_T_81, _T_82) @[axi4_to_ahb.scala 181:48] node _T_84 = mux(_T_83, UInt<3>("h07"), UInt<1>("h00")) @[Mux.scala 98:16] node _T_85 = mux(_T_80, UInt<3>("h06"), _T_84) @[Mux.scala 98:16] node _T_86 = mux(_T_77, UInt<3>("h05"), _T_85) @[Mux.scala 98:16] @@ -550,193 +550,193 @@ circuit axi4_to_ahb : node _T_89 = mux(_T_68, UInt<2>("h02"), _T_88) @[Mux.scala 98:16] node _T_90 = mux(_T_65, UInt<1>("h01"), _T_89) @[Mux.scala 98:16] node _T_91 = mux(_T_62, UInt<1>("h00"), _T_90) @[Mux.scala 98:16] - node _T_92 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 252:138] - node _T_93 = mux(_T_55, _T_91, _T_92) @[axi4_to_ahb.scala 252:30] - buf_cmd_byte_ptr <= _T_93 @[axi4_to_ahb.scala 252:24] - bypass_en <= buf_state_en @[axi4_to_ahb.scala 253:17] - node _T_94 = eq(buf_nxtstate, UInt<3>("h01")) @[axi4_to_ahb.scala 254:51] - node _T_95 = and(bypass_en, _T_94) @[axi4_to_ahb.scala 254:35] - rd_bypass_idle <= _T_95 @[axi4_to_ahb.scala 254:22] + node _T_92 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 251:138] + node _T_93 = mux(_T_55, _T_91, _T_92) @[axi4_to_ahb.scala 251:30] + buf_cmd_byte_ptr <= _T_93 @[axi4_to_ahb.scala 251:24] + bypass_en <= buf_state_en @[axi4_to_ahb.scala 252:17] + node _T_94 = eq(buf_nxtstate, UInt<3>("h01")) @[axi4_to_ahb.scala 253:51] + node _T_95 = and(bypass_en, _T_94) @[axi4_to_ahb.scala 253:35] + rd_bypass_idle <= _T_95 @[axi4_to_ahb.scala 253:22] node _T_96 = bits(bypass_en, 0, 0) @[Bitwise.scala 72:15] node _T_97 = mux(_T_96, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_98 = and(_T_97, UInt<2>("h02")) @[axi4_to_ahb.scala 255:45] - io.ahb_htrans <= _T_98 @[axi4_to_ahb.scala 255:21] + node _T_98 = and(_T_97, UInt<2>("h02")) @[axi4_to_ahb.scala 254:45] + io.ahb_htrans <= _T_98 @[axi4_to_ahb.scala 254:21] skip @[Conditional.scala 40:58] else : @[Conditional.scala 39:67] node _T_99 = eq(UInt<3>("h01"), buf_state) @[Conditional.scala 37:30] when _T_99 : @[Conditional.scala 39:67] - node _T_100 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 259:54] - node _T_101 = eq(_T_100, UInt<1>("h00")) @[axi4_to_ahb.scala 259:61] - node _T_102 = and(master_valid, _T_101) @[axi4_to_ahb.scala 259:41] - node _T_103 = bits(_T_102, 0, 0) @[axi4_to_ahb.scala 259:82] - node _T_104 = mux(_T_103, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 259:26] - buf_nxtstate <= _T_104 @[axi4_to_ahb.scala 259:20] - node _T_105 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 260:51] - node _T_106 = neq(_T_105, UInt<1>("h00")) @[axi4_to_ahb.scala 260:58] - node _T_107 = and(ahb_hready_q, _T_106) @[axi4_to_ahb.scala 260:36] - node _T_108 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 260:72] - node _T_109 = and(_T_107, _T_108) @[axi4_to_ahb.scala 260:70] - buf_state_en <= _T_109 @[axi4_to_ahb.scala 260:20] - node _T_110 = eq(master_valid, UInt<1>("h00")) @[axi4_to_ahb.scala 261:34] - node _T_111 = and(buf_state_en, _T_110) @[axi4_to_ahb.scala 261:32] - cmd_done <= _T_111 @[axi4_to_ahb.scala 261:16] - slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 262:20] - node _T_112 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 263:52] - node _T_113 = neq(_T_112, UInt<1>("h00")) @[axi4_to_ahb.scala 263:59] - node _T_114 = and(ahb_hready_q, _T_113) @[axi4_to_ahb.scala 263:37] - node _T_115 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 263:73] - node _T_116 = and(_T_114, _T_115) @[axi4_to_ahb.scala 263:71] - node _T_117 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 263:122] - node _T_118 = eq(_T_117, UInt<1>("h00")) @[axi4_to_ahb.scala 263:129] - node _T_119 = and(master_valid, _T_118) @[axi4_to_ahb.scala 263:109] - node _T_120 = bits(_T_119, 0, 0) @[axi4_to_ahb.scala 263:150] - node _T_121 = mux(_T_120, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 263:94] - node _T_122 = eq(_T_121, UInt<3>("h06")) @[axi4_to_ahb.scala 263:174] - node _T_123 = and(_T_116, _T_122) @[axi4_to_ahb.scala 263:88] - master_ready <= _T_123 @[axi4_to_ahb.scala 263:20] - buf_wr_en <= master_ready @[axi4_to_ahb.scala 264:17] - node _T_124 = and(master_ready, master_valid) @[axi4_to_ahb.scala 265:33] - bypass_en <= _T_124 @[axi4_to_ahb.scala 265:17] - node _T_125 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 266:47] - node _T_126 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 266:62] - node _T_127 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 266:78] - node _T_128 = mux(_T_125, _T_126, _T_127) @[axi4_to_ahb.scala 266:30] - buf_cmd_byte_ptr <= _T_128 @[axi4_to_ahb.scala 266:24] - node _T_129 = eq(buf_state_en, UInt<1>("h00")) @[axi4_to_ahb.scala 267:44] - node _T_130 = or(_T_129, bypass_en) @[axi4_to_ahb.scala 267:58] + node _T_100 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 258:54] + node _T_101 = eq(_T_100, UInt<1>("h00")) @[axi4_to_ahb.scala 258:61] + node _T_102 = and(master_valid, _T_101) @[axi4_to_ahb.scala 258:41] + node _T_103 = bits(_T_102, 0, 0) @[axi4_to_ahb.scala 258:82] + node _T_104 = mux(_T_103, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 258:26] + buf_nxtstate <= _T_104 @[axi4_to_ahb.scala 258:20] + node _T_105 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 259:51] + node _T_106 = neq(_T_105, UInt<1>("h00")) @[axi4_to_ahb.scala 259:58] + node _T_107 = and(ahb_hready_q, _T_106) @[axi4_to_ahb.scala 259:36] + node _T_108 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 259:72] + node _T_109 = and(_T_107, _T_108) @[axi4_to_ahb.scala 259:70] + buf_state_en <= _T_109 @[axi4_to_ahb.scala 259:20] + node _T_110 = eq(master_valid, UInt<1>("h00")) @[axi4_to_ahb.scala 260:34] + node _T_111 = and(buf_state_en, _T_110) @[axi4_to_ahb.scala 260:32] + cmd_done <= _T_111 @[axi4_to_ahb.scala 260:16] + slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 261:20] + node _T_112 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 262:52] + node _T_113 = neq(_T_112, UInt<1>("h00")) @[axi4_to_ahb.scala 262:59] + node _T_114 = and(ahb_hready_q, _T_113) @[axi4_to_ahb.scala 262:37] + node _T_115 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 262:73] + node _T_116 = and(_T_114, _T_115) @[axi4_to_ahb.scala 262:71] + node _T_117 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 262:122] + node _T_118 = eq(_T_117, UInt<1>("h00")) @[axi4_to_ahb.scala 262:129] + node _T_119 = and(master_valid, _T_118) @[axi4_to_ahb.scala 262:109] + node _T_120 = bits(_T_119, 0, 0) @[axi4_to_ahb.scala 262:150] + node _T_121 = mux(_T_120, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 262:94] + node _T_122 = eq(_T_121, UInt<3>("h06")) @[axi4_to_ahb.scala 262:174] + node _T_123 = and(_T_116, _T_122) @[axi4_to_ahb.scala 262:88] + master_ready <= _T_123 @[axi4_to_ahb.scala 262:20] + buf_wr_en <= master_ready @[axi4_to_ahb.scala 263:17] + node _T_124 = and(master_ready, master_valid) @[axi4_to_ahb.scala 264:33] + bypass_en <= _T_124 @[axi4_to_ahb.scala 264:17] + node _T_125 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 265:47] + node _T_126 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 265:62] + node _T_127 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 265:78] + node _T_128 = mux(_T_125, _T_126, _T_127) @[axi4_to_ahb.scala 265:30] + buf_cmd_byte_ptr <= _T_128 @[axi4_to_ahb.scala 265:24] + node _T_129 = eq(buf_state_en, UInt<1>("h00")) @[axi4_to_ahb.scala 266:44] + node _T_130 = or(_T_129, bypass_en) @[axi4_to_ahb.scala 266:58] node _T_131 = bits(_T_130, 0, 0) @[Bitwise.scala 72:15] node _T_132 = mux(_T_131, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_133 = and(UInt<2>("h02"), _T_132) @[axi4_to_ahb.scala 267:32] - io.ahb_htrans <= _T_133 @[axi4_to_ahb.scala 267:21] + node _T_133 = and(UInt<2>("h02"), _T_132) @[axi4_to_ahb.scala 266:32] + io.ahb_htrans <= _T_133 @[axi4_to_ahb.scala 266:21] skip @[Conditional.scala 39:67] else : @[Conditional.scala 39:67] node _T_134 = eq(UInt<3>("h06"), buf_state) @[Conditional.scala 37:30] when _T_134 : @[Conditional.scala 39:67] - node _T_135 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 271:39] - node _T_136 = and(ahb_hready_q, _T_135) @[axi4_to_ahb.scala 271:37] - node _T_137 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 271:82] - node _T_138 = eq(_T_137, UInt<1>("h01")) @[axi4_to_ahb.scala 271:89] - node _T_139 = and(master_valid, _T_138) @[axi4_to_ahb.scala 271:70] - node _T_140 = eq(_T_139, UInt<1>("h00")) @[axi4_to_ahb.scala 271:55] - node _T_141 = and(_T_136, _T_140) @[axi4_to_ahb.scala 271:53] - master_ready <= _T_141 @[axi4_to_ahb.scala 271:20] - node _T_142 = and(master_valid, master_ready) @[axi4_to_ahb.scala 272:34] - node _T_143 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 272:62] - node _T_144 = eq(_T_143, UInt<1>("h00")) @[axi4_to_ahb.scala 272:69] - node _T_145 = and(_T_142, _T_144) @[axi4_to_ahb.scala 272:49] - buf_wr_en <= _T_145 @[axi4_to_ahb.scala 272:17] - node _T_146 = bits(ahb_hresp_q, 0, 0) @[axi4_to_ahb.scala 273:45] - node _T_147 = and(master_valid, master_ready) @[axi4_to_ahb.scala 273:82] - node _T_148 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 273:110] - node _T_149 = eq(_T_148, UInt<1>("h00")) @[axi4_to_ahb.scala 273:117] - node _T_150 = and(_T_147, _T_149) @[axi4_to_ahb.scala 273:97] - node _T_151 = bits(_T_150, 0, 0) @[axi4_to_ahb.scala 273:138] - node _T_152 = mux(_T_151, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 273:67] - node _T_153 = mux(_T_146, UInt<3>("h07"), _T_152) @[axi4_to_ahb.scala 273:26] - buf_nxtstate <= _T_153 @[axi4_to_ahb.scala 273:20] - node _T_154 = or(ahb_hready_q, ahb_hresp_q) @[axi4_to_ahb.scala 274:37] - buf_state_en <= _T_154 @[axi4_to_ahb.scala 274:20] - buf_data_wr_en <= buf_state_en @[axi4_to_ahb.scala 275:22] - slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 276:23] - slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 277:23] - node _T_155 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 278:41] - node _T_156 = and(buf_state_en, _T_155) @[axi4_to_ahb.scala 278:39] - slave_valid_pre <= _T_156 @[axi4_to_ahb.scala 278:23] - node _T_157 = eq(master_valid, UInt<1>("h00")) @[axi4_to_ahb.scala 279:34] - node _T_158 = and(buf_state_en, _T_157) @[axi4_to_ahb.scala 279:32] - cmd_done <= _T_158 @[axi4_to_ahb.scala 279:16] - node _T_159 = and(master_ready, master_valid) @[axi4_to_ahb.scala 280:33] - node _T_160 = eq(buf_nxtstate, UInt<3>("h06")) @[axi4_to_ahb.scala 280:64] - node _T_161 = and(_T_159, _T_160) @[axi4_to_ahb.scala 280:48] - node _T_162 = and(_T_161, buf_state_en) @[axi4_to_ahb.scala 280:79] - bypass_en <= _T_162 @[axi4_to_ahb.scala 280:17] - node _T_163 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 281:47] - node _T_164 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 281:62] - node _T_165 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 281:78] - node _T_166 = mux(_T_163, _T_164, _T_165) @[axi4_to_ahb.scala 281:30] - buf_cmd_byte_ptr <= _T_166 @[axi4_to_ahb.scala 281:24] - node _T_167 = neq(buf_nxtstate, UInt<3>("h06")) @[axi4_to_ahb.scala 282:59] - node _T_168 = and(_T_167, buf_state_en) @[axi4_to_ahb.scala 282:74] - node _T_169 = eq(_T_168, UInt<1>("h00")) @[axi4_to_ahb.scala 282:43] + node _T_135 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 270:39] + node _T_136 = and(ahb_hready_q, _T_135) @[axi4_to_ahb.scala 270:37] + node _T_137 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 270:82] + node _T_138 = eq(_T_137, UInt<1>("h01")) @[axi4_to_ahb.scala 270:89] + node _T_139 = and(master_valid, _T_138) @[axi4_to_ahb.scala 270:70] + node _T_140 = eq(_T_139, UInt<1>("h00")) @[axi4_to_ahb.scala 270:55] + node _T_141 = and(_T_136, _T_140) @[axi4_to_ahb.scala 270:53] + master_ready <= _T_141 @[axi4_to_ahb.scala 270:20] + node _T_142 = and(master_valid, master_ready) @[axi4_to_ahb.scala 271:34] + node _T_143 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 271:62] + node _T_144 = eq(_T_143, UInt<1>("h00")) @[axi4_to_ahb.scala 271:69] + node _T_145 = and(_T_142, _T_144) @[axi4_to_ahb.scala 271:49] + buf_wr_en <= _T_145 @[axi4_to_ahb.scala 271:17] + node _T_146 = bits(ahb_hresp_q, 0, 0) @[axi4_to_ahb.scala 272:45] + node _T_147 = and(master_valid, master_ready) @[axi4_to_ahb.scala 272:82] + node _T_148 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 272:110] + node _T_149 = eq(_T_148, UInt<1>("h00")) @[axi4_to_ahb.scala 272:117] + node _T_150 = and(_T_147, _T_149) @[axi4_to_ahb.scala 272:97] + node _T_151 = bits(_T_150, 0, 0) @[axi4_to_ahb.scala 272:138] + node _T_152 = mux(_T_151, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 272:67] + node _T_153 = mux(_T_146, UInt<3>("h07"), _T_152) @[axi4_to_ahb.scala 272:26] + buf_nxtstate <= _T_153 @[axi4_to_ahb.scala 272:20] + node _T_154 = or(ahb_hready_q, ahb_hresp_q) @[axi4_to_ahb.scala 273:37] + buf_state_en <= _T_154 @[axi4_to_ahb.scala 273:20] + buf_data_wr_en <= buf_state_en @[axi4_to_ahb.scala 274:22] + slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 275:23] + slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 276:23] + node _T_155 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 277:41] + node _T_156 = and(buf_state_en, _T_155) @[axi4_to_ahb.scala 277:39] + slave_valid_pre <= _T_156 @[axi4_to_ahb.scala 277:23] + node _T_157 = eq(master_valid, UInt<1>("h00")) @[axi4_to_ahb.scala 278:34] + node _T_158 = and(buf_state_en, _T_157) @[axi4_to_ahb.scala 278:32] + cmd_done <= _T_158 @[axi4_to_ahb.scala 278:16] + node _T_159 = and(master_ready, master_valid) @[axi4_to_ahb.scala 279:33] + node _T_160 = eq(buf_nxtstate, UInt<3>("h06")) @[axi4_to_ahb.scala 279:64] + node _T_161 = and(_T_159, _T_160) @[axi4_to_ahb.scala 279:48] + node _T_162 = and(_T_161, buf_state_en) @[axi4_to_ahb.scala 279:79] + bypass_en <= _T_162 @[axi4_to_ahb.scala 279:17] + node _T_163 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 280:47] + node _T_164 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 280:62] + node _T_165 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 280:78] + node _T_166 = mux(_T_163, _T_164, _T_165) @[axi4_to_ahb.scala 280:30] + buf_cmd_byte_ptr <= _T_166 @[axi4_to_ahb.scala 280:24] + node _T_167 = neq(buf_nxtstate, UInt<3>("h06")) @[axi4_to_ahb.scala 281:59] + node _T_168 = and(_T_167, buf_state_en) @[axi4_to_ahb.scala 281:74] + node _T_169 = eq(_T_168, UInt<1>("h00")) @[axi4_to_ahb.scala 281:43] node _T_170 = bits(_T_169, 0, 0) @[Bitwise.scala 72:15] node _T_171 = mux(_T_170, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_172 = and(UInt<2>("h02"), _T_171) @[axi4_to_ahb.scala 282:32] - io.ahb_htrans <= _T_172 @[axi4_to_ahb.scala 282:21] - slvbuf_wr_en <= buf_wr_en @[axi4_to_ahb.scala 283:20] + node _T_172 = and(UInt<2>("h02"), _T_171) @[axi4_to_ahb.scala 281:32] + io.ahb_htrans <= _T_172 @[axi4_to_ahb.scala 281:21] + slvbuf_wr_en <= buf_wr_en @[axi4_to_ahb.scala 282:20] skip @[Conditional.scala 39:67] else : @[Conditional.scala 39:67] node _T_173 = eq(UInt<3>("h07"), buf_state) @[Conditional.scala 37:30] when _T_173 : @[Conditional.scala 39:67] - buf_nxtstate <= UInt<3>("h03") @[axi4_to_ahb.scala 287:20] - node _T_174 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 288:51] - node _T_175 = neq(_T_174, UInt<1>("h00")) @[axi4_to_ahb.scala 288:58] - node _T_176 = and(ahb_hready_q, _T_175) @[axi4_to_ahb.scala 288:36] - node _T_177 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 288:72] - node _T_178 = and(_T_176, _T_177) @[axi4_to_ahb.scala 288:70] - buf_state_en <= _T_178 @[axi4_to_ahb.scala 288:20] - slave_valid_pre <= buf_state_en @[axi4_to_ahb.scala 289:23] - slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 290:20] - node _T_179 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 291:35] - buf_cmd_byte_ptr <= _T_179 @[axi4_to_ahb.scala 291:24] - node _T_180 = eq(buf_state_en, UInt<1>("h00")) @[axi4_to_ahb.scala 292:47] + buf_nxtstate <= UInt<3>("h03") @[axi4_to_ahb.scala 286:20] + node _T_174 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 287:51] + node _T_175 = neq(_T_174, UInt<1>("h00")) @[axi4_to_ahb.scala 287:58] + node _T_176 = and(ahb_hready_q, _T_175) @[axi4_to_ahb.scala 287:36] + node _T_177 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 287:72] + node _T_178 = and(_T_176, _T_177) @[axi4_to_ahb.scala 287:70] + buf_state_en <= _T_178 @[axi4_to_ahb.scala 287:20] + slave_valid_pre <= buf_state_en @[axi4_to_ahb.scala 288:23] + slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 289:20] + node _T_179 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 290:35] + buf_cmd_byte_ptr <= _T_179 @[axi4_to_ahb.scala 290:24] + node _T_180 = eq(buf_state_en, UInt<1>("h00")) @[axi4_to_ahb.scala 291:47] node _T_181 = bits(_T_180, 0, 0) @[Bitwise.scala 72:15] node _T_182 = mux(_T_181, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_183 = and(UInt<2>("h02"), _T_182) @[axi4_to_ahb.scala 292:37] - io.ahb_htrans <= _T_183 @[axi4_to_ahb.scala 292:21] + node _T_183 = and(UInt<2>("h02"), _T_182) @[axi4_to_ahb.scala 291:37] + io.ahb_htrans <= _T_183 @[axi4_to_ahb.scala 291:21] skip @[Conditional.scala 39:67] else : @[Conditional.scala 39:67] node _T_184 = eq(UInt<3>("h03"), buf_state) @[Conditional.scala 37:30] when _T_184 : @[Conditional.scala 39:67] - buf_nxtstate <= UInt<3>("h05") @[axi4_to_ahb.scala 296:20] - node _T_185 = or(ahb_hready_q, ahb_hresp_q) @[axi4_to_ahb.scala 297:37] - buf_state_en <= _T_185 @[axi4_to_ahb.scala 297:20] - buf_data_wr_en <= buf_state_en @[axi4_to_ahb.scala 298:22] - slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 299:23] - slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 300:23] - slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 301:20] + buf_nxtstate <= UInt<3>("h05") @[axi4_to_ahb.scala 295:20] + node _T_185 = or(ahb_hready_q, ahb_hresp_q) @[axi4_to_ahb.scala 296:37] + buf_state_en <= _T_185 @[axi4_to_ahb.scala 296:20] + buf_data_wr_en <= buf_state_en @[axi4_to_ahb.scala 297:22] + slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 298:23] + slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 299:23] + slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 300:20] skip @[Conditional.scala 39:67] else : @[Conditional.scala 39:67] node _T_186 = eq(UInt<3>("h02"), buf_state) @[Conditional.scala 37:30] when _T_186 : @[Conditional.scala 39:67] - buf_nxtstate <= UInt<3>("h04") @[axi4_to_ahb.scala 305:20] - node _T_187 = and(ahb_hready_q, ahb_hwrite_q) @[axi4_to_ahb.scala 306:33] - node _T_188 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 306:63] - node _T_189 = neq(_T_188, UInt<1>("h00")) @[axi4_to_ahb.scala 306:70] - node _T_190 = and(_T_187, _T_189) @[axi4_to_ahb.scala 306:48] - trxn_done <= _T_190 @[axi4_to_ahb.scala 306:17] - buf_state_en <= trxn_done @[axi4_to_ahb.scala 307:20] - buf_cmd_byte_ptr_en <= buf_state_en @[axi4_to_ahb.scala 308:27] - slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 309:20] - node _T_191 = bits(trxn_done, 0, 0) @[axi4_to_ahb.scala 310:47] - node _T_192 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 310:85] - node _T_193 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 310:103] - node _T_194 = add(_T_192, UInt<1>("h01")) @[axi4_to_ahb.scala 181:52] - node _T_195 = tail(_T_194, 1) @[axi4_to_ahb.scala 181:52] - node _T_196 = mux(UInt<1>("h01"), _T_195, _T_192) @[axi4_to_ahb.scala 181:24] - node _T_197 = bits(_T_193, 0, 0) @[axi4_to_ahb.scala 182:44] - node _T_198 = geq(UInt<1>("h00"), _T_196) @[axi4_to_ahb.scala 182:62] - node _T_199 = and(_T_197, _T_198) @[axi4_to_ahb.scala 182:48] - node _T_200 = bits(_T_193, 1, 1) @[axi4_to_ahb.scala 182:44] - node _T_201 = geq(UInt<1>("h01"), _T_196) @[axi4_to_ahb.scala 182:62] - node _T_202 = and(_T_200, _T_201) @[axi4_to_ahb.scala 182:48] - node _T_203 = bits(_T_193, 2, 2) @[axi4_to_ahb.scala 182:44] - node _T_204 = geq(UInt<2>("h02"), _T_196) @[axi4_to_ahb.scala 182:62] - node _T_205 = and(_T_203, _T_204) @[axi4_to_ahb.scala 182:48] - node _T_206 = bits(_T_193, 3, 3) @[axi4_to_ahb.scala 182:44] - node _T_207 = geq(UInt<2>("h03"), _T_196) @[axi4_to_ahb.scala 182:62] - node _T_208 = and(_T_206, _T_207) @[axi4_to_ahb.scala 182:48] - node _T_209 = bits(_T_193, 4, 4) @[axi4_to_ahb.scala 182:44] - node _T_210 = geq(UInt<3>("h04"), _T_196) @[axi4_to_ahb.scala 182:62] - node _T_211 = and(_T_209, _T_210) @[axi4_to_ahb.scala 182:48] - node _T_212 = bits(_T_193, 5, 5) @[axi4_to_ahb.scala 182:44] - node _T_213 = geq(UInt<3>("h05"), _T_196) @[axi4_to_ahb.scala 182:62] - node _T_214 = and(_T_212, _T_213) @[axi4_to_ahb.scala 182:48] - node _T_215 = bits(_T_193, 6, 6) @[axi4_to_ahb.scala 182:44] - node _T_216 = geq(UInt<3>("h06"), _T_196) @[axi4_to_ahb.scala 182:62] - node _T_217 = and(_T_215, _T_216) @[axi4_to_ahb.scala 182:48] - node _T_218 = bits(_T_193, 7, 7) @[axi4_to_ahb.scala 182:44] - node _T_219 = geq(UInt<3>("h07"), _T_196) @[axi4_to_ahb.scala 182:62] - node _T_220 = and(_T_218, _T_219) @[axi4_to_ahb.scala 182:48] + buf_nxtstate <= UInt<3>("h04") @[axi4_to_ahb.scala 304:20] + node _T_187 = and(ahb_hready_q, ahb_hwrite_q) @[axi4_to_ahb.scala 305:33] + node _T_188 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 305:63] + node _T_189 = neq(_T_188, UInt<1>("h00")) @[axi4_to_ahb.scala 305:70] + node _T_190 = and(_T_187, _T_189) @[axi4_to_ahb.scala 305:48] + trxn_done <= _T_190 @[axi4_to_ahb.scala 305:17] + buf_state_en <= trxn_done @[axi4_to_ahb.scala 306:20] + buf_cmd_byte_ptr_en <= buf_state_en @[axi4_to_ahb.scala 307:27] + slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 308:20] + node _T_191 = bits(trxn_done, 0, 0) @[axi4_to_ahb.scala 309:47] + node _T_192 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 309:85] + node _T_193 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 309:103] + node _T_194 = add(_T_192, UInt<1>("h01")) @[axi4_to_ahb.scala 180:52] + node _T_195 = tail(_T_194, 1) @[axi4_to_ahb.scala 180:52] + node _T_196 = mux(UInt<1>("h01"), _T_195, _T_192) @[axi4_to_ahb.scala 180:24] + node _T_197 = bits(_T_193, 0, 0) @[axi4_to_ahb.scala 181:44] + node _T_198 = geq(UInt<1>("h00"), _T_196) @[axi4_to_ahb.scala 181:62] + node _T_199 = and(_T_197, _T_198) @[axi4_to_ahb.scala 181:48] + node _T_200 = bits(_T_193, 1, 1) @[axi4_to_ahb.scala 181:44] + node _T_201 = geq(UInt<1>("h01"), _T_196) @[axi4_to_ahb.scala 181:62] + node _T_202 = and(_T_200, _T_201) @[axi4_to_ahb.scala 181:48] + node _T_203 = bits(_T_193, 2, 2) @[axi4_to_ahb.scala 181:44] + node _T_204 = geq(UInt<2>("h02"), _T_196) @[axi4_to_ahb.scala 181:62] + node _T_205 = and(_T_203, _T_204) @[axi4_to_ahb.scala 181:48] + node _T_206 = bits(_T_193, 3, 3) @[axi4_to_ahb.scala 181:44] + node _T_207 = geq(UInt<2>("h03"), _T_196) @[axi4_to_ahb.scala 181:62] + node _T_208 = and(_T_206, _T_207) @[axi4_to_ahb.scala 181:48] + node _T_209 = bits(_T_193, 4, 4) @[axi4_to_ahb.scala 181:44] + node _T_210 = geq(UInt<3>("h04"), _T_196) @[axi4_to_ahb.scala 181:62] + node _T_211 = and(_T_209, _T_210) @[axi4_to_ahb.scala 181:48] + node _T_212 = bits(_T_193, 5, 5) @[axi4_to_ahb.scala 181:44] + node _T_213 = geq(UInt<3>("h05"), _T_196) @[axi4_to_ahb.scala 181:62] + node _T_214 = and(_T_212, _T_213) @[axi4_to_ahb.scala 181:48] + node _T_215 = bits(_T_193, 6, 6) @[axi4_to_ahb.scala 181:44] + node _T_216 = geq(UInt<3>("h06"), _T_196) @[axi4_to_ahb.scala 181:62] + node _T_217 = and(_T_215, _T_216) @[axi4_to_ahb.scala 181:48] + node _T_218 = bits(_T_193, 7, 7) @[axi4_to_ahb.scala 181:44] + node _T_219 = geq(UInt<3>("h07"), _T_196) @[axi4_to_ahb.scala 181:62] + node _T_220 = and(_T_218, _T_219) @[axi4_to_ahb.scala 181:48] node _T_221 = mux(_T_220, UInt<3>("h07"), UInt<1>("h00")) @[Mux.scala 98:16] node _T_222 = mux(_T_217, UInt<3>("h06"), _T_221) @[Mux.scala 98:16] node _T_223 = mux(_T_214, UInt<3>("h05"), _T_222) @[Mux.scala 98:16] @@ -745,39 +745,39 @@ circuit axi4_to_ahb : node _T_226 = mux(_T_205, UInt<2>("h02"), _T_225) @[Mux.scala 98:16] node _T_227 = mux(_T_202, UInt<1>("h01"), _T_226) @[Mux.scala 98:16] node _T_228 = mux(_T_199, UInt<1>("h00"), _T_227) @[Mux.scala 98:16] - node _T_229 = mux(_T_191, _T_228, buf_cmd_byte_ptrQ) @[axi4_to_ahb.scala 310:30] - buf_cmd_byte_ptr <= _T_229 @[axi4_to_ahb.scala 310:24] - node _T_230 = eq(buf_cmd_byte_ptrQ, UInt<3>("h07")) @[axi4_to_ahb.scala 311:65] - node _T_231 = or(buf_aligned, _T_230) @[axi4_to_ahb.scala 311:44] - node _T_232 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 311:127] - node _T_233 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 311:145] - node _T_234 = add(_T_232, UInt<1>("h01")) @[axi4_to_ahb.scala 181:52] - node _T_235 = tail(_T_234, 1) @[axi4_to_ahb.scala 181:52] - node _T_236 = mux(UInt<1>("h01"), _T_235, _T_232) @[axi4_to_ahb.scala 181:24] - node _T_237 = bits(_T_233, 0, 0) @[axi4_to_ahb.scala 182:44] - node _T_238 = geq(UInt<1>("h00"), _T_236) @[axi4_to_ahb.scala 182:62] - node _T_239 = and(_T_237, _T_238) @[axi4_to_ahb.scala 182:48] - node _T_240 = bits(_T_233, 1, 1) @[axi4_to_ahb.scala 182:44] - node _T_241 = geq(UInt<1>("h01"), _T_236) @[axi4_to_ahb.scala 182:62] - node _T_242 = and(_T_240, _T_241) @[axi4_to_ahb.scala 182:48] - node _T_243 = bits(_T_233, 2, 2) @[axi4_to_ahb.scala 182:44] - node _T_244 = geq(UInt<2>("h02"), _T_236) @[axi4_to_ahb.scala 182:62] - node _T_245 = and(_T_243, _T_244) @[axi4_to_ahb.scala 182:48] - node _T_246 = bits(_T_233, 3, 3) @[axi4_to_ahb.scala 182:44] - node _T_247 = geq(UInt<2>("h03"), _T_236) @[axi4_to_ahb.scala 182:62] - node _T_248 = and(_T_246, _T_247) @[axi4_to_ahb.scala 182:48] - node _T_249 = bits(_T_233, 4, 4) @[axi4_to_ahb.scala 182:44] - node _T_250 = geq(UInt<3>("h04"), _T_236) @[axi4_to_ahb.scala 182:62] - node _T_251 = and(_T_249, _T_250) @[axi4_to_ahb.scala 182:48] - node _T_252 = bits(_T_233, 5, 5) @[axi4_to_ahb.scala 182:44] - node _T_253 = geq(UInt<3>("h05"), _T_236) @[axi4_to_ahb.scala 182:62] - node _T_254 = and(_T_252, _T_253) @[axi4_to_ahb.scala 182:48] - node _T_255 = bits(_T_233, 6, 6) @[axi4_to_ahb.scala 182:44] - node _T_256 = geq(UInt<3>("h06"), _T_236) @[axi4_to_ahb.scala 182:62] - node _T_257 = and(_T_255, _T_256) @[axi4_to_ahb.scala 182:48] - node _T_258 = bits(_T_233, 7, 7) @[axi4_to_ahb.scala 182:44] - node _T_259 = geq(UInt<3>("h07"), _T_236) @[axi4_to_ahb.scala 182:62] - node _T_260 = and(_T_258, _T_259) @[axi4_to_ahb.scala 182:48] + node _T_229 = mux(_T_191, _T_228, buf_cmd_byte_ptrQ) @[axi4_to_ahb.scala 309:30] + buf_cmd_byte_ptr <= _T_229 @[axi4_to_ahb.scala 309:24] + node _T_230 = eq(buf_cmd_byte_ptrQ, UInt<3>("h07")) @[axi4_to_ahb.scala 310:65] + node _T_231 = or(buf_aligned, _T_230) @[axi4_to_ahb.scala 310:44] + node _T_232 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 310:127] + node _T_233 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 310:145] + node _T_234 = add(_T_232, UInt<1>("h01")) @[axi4_to_ahb.scala 180:52] + node _T_235 = tail(_T_234, 1) @[axi4_to_ahb.scala 180:52] + node _T_236 = mux(UInt<1>("h01"), _T_235, _T_232) @[axi4_to_ahb.scala 180:24] + node _T_237 = bits(_T_233, 0, 0) @[axi4_to_ahb.scala 181:44] + node _T_238 = geq(UInt<1>("h00"), _T_236) @[axi4_to_ahb.scala 181:62] + node _T_239 = and(_T_237, _T_238) @[axi4_to_ahb.scala 181:48] + node _T_240 = bits(_T_233, 1, 1) @[axi4_to_ahb.scala 181:44] + node _T_241 = geq(UInt<1>("h01"), _T_236) @[axi4_to_ahb.scala 181:62] + node _T_242 = and(_T_240, _T_241) @[axi4_to_ahb.scala 181:48] + node _T_243 = bits(_T_233, 2, 2) @[axi4_to_ahb.scala 181:44] + node _T_244 = geq(UInt<2>("h02"), _T_236) @[axi4_to_ahb.scala 181:62] + node _T_245 = and(_T_243, _T_244) @[axi4_to_ahb.scala 181:48] + node _T_246 = bits(_T_233, 3, 3) @[axi4_to_ahb.scala 181:44] + node _T_247 = geq(UInt<2>("h03"), _T_236) @[axi4_to_ahb.scala 181:62] + node _T_248 = and(_T_246, _T_247) @[axi4_to_ahb.scala 181:48] + node _T_249 = bits(_T_233, 4, 4) @[axi4_to_ahb.scala 181:44] + node _T_250 = geq(UInt<3>("h04"), _T_236) @[axi4_to_ahb.scala 181:62] + node _T_251 = and(_T_249, _T_250) @[axi4_to_ahb.scala 181:48] + node _T_252 = bits(_T_233, 5, 5) @[axi4_to_ahb.scala 181:44] + node _T_253 = geq(UInt<3>("h05"), _T_236) @[axi4_to_ahb.scala 181:62] + node _T_254 = and(_T_252, _T_253) @[axi4_to_ahb.scala 181:48] + node _T_255 = bits(_T_233, 6, 6) @[axi4_to_ahb.scala 181:44] + node _T_256 = geq(UInt<3>("h06"), _T_236) @[axi4_to_ahb.scala 181:62] + node _T_257 = and(_T_255, _T_256) @[axi4_to_ahb.scala 181:48] + node _T_258 = bits(_T_233, 7, 7) @[axi4_to_ahb.scala 181:44] + node _T_259 = geq(UInt<3>("h07"), _T_236) @[axi4_to_ahb.scala 181:62] + node _T_260 = and(_T_258, _T_259) @[axi4_to_ahb.scala 181:48] node _T_261 = mux(_T_260, UInt<3>("h07"), UInt<1>("h00")) @[Mux.scala 98:16] node _T_262 = mux(_T_257, UInt<3>("h06"), _T_261) @[Mux.scala 98:16] node _T_263 = mux(_T_254, UInt<3>("h05"), _T_262) @[Mux.scala 98:16] @@ -786,86 +786,86 @@ circuit axi4_to_ahb : node _T_266 = mux(_T_245, UInt<2>("h02"), _T_265) @[Mux.scala 98:16] node _T_267 = mux(_T_242, UInt<1>("h01"), _T_266) @[Mux.scala 98:16] node _T_268 = mux(_T_239, UInt<1>("h00"), _T_267) @[Mux.scala 98:16] - node _T_269 = dshr(buf_byteen, _T_268) @[axi4_to_ahb.scala 311:92] - node _T_270 = bits(_T_269, 0, 0) @[axi4_to_ahb.scala 311:92] - node _T_271 = eq(_T_270, UInt<1>("h00")) @[axi4_to_ahb.scala 311:163] - node _T_272 = or(_T_231, _T_271) @[axi4_to_ahb.scala 311:79] - node _T_273 = and(trxn_done, _T_272) @[axi4_to_ahb.scala 311:29] - cmd_done <= _T_273 @[axi4_to_ahb.scala 311:16] - node _T_274 = or(cmd_done, cmd_doneQ) @[axi4_to_ahb.scala 312:43] - node _T_275 = eq(_T_274, UInt<1>("h00")) @[axi4_to_ahb.scala 312:32] + node _T_269 = dshr(buf_byteen, _T_268) @[axi4_to_ahb.scala 310:92] + node _T_270 = bits(_T_269, 0, 0) @[axi4_to_ahb.scala 310:92] + node _T_271 = eq(_T_270, UInt<1>("h00")) @[axi4_to_ahb.scala 310:163] + node _T_272 = or(_T_231, _T_271) @[axi4_to_ahb.scala 310:79] + node _T_273 = and(trxn_done, _T_272) @[axi4_to_ahb.scala 310:29] + cmd_done <= _T_273 @[axi4_to_ahb.scala 310:16] + node _T_274 = or(cmd_done, cmd_doneQ) @[axi4_to_ahb.scala 311:43] + node _T_275 = eq(_T_274, UInt<1>("h00")) @[axi4_to_ahb.scala 311:32] node _T_276 = bits(_T_275, 0, 0) @[Bitwise.scala 72:15] node _T_277 = mux(_T_276, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_278 = and(_T_277, UInt<2>("h02")) @[axi4_to_ahb.scala 312:57] - io.ahb_htrans <= _T_278 @[axi4_to_ahb.scala 312:21] + node _T_278 = and(_T_277, UInt<2>("h02")) @[axi4_to_ahb.scala 311:57] + io.ahb_htrans <= _T_278 @[axi4_to_ahb.scala 311:21] skip @[Conditional.scala 39:67] else : @[Conditional.scala 39:67] node _T_279 = eq(UInt<3>("h04"), buf_state) @[Conditional.scala 37:30] when _T_279 : @[Conditional.scala 39:67] - node _T_280 = and(cmd_doneQ, ahb_hready_q) @[axi4_to_ahb.scala 316:34] - node _T_281 = or(_T_280, ahb_hresp_q) @[axi4_to_ahb.scala 316:50] - buf_state_en <= _T_281 @[axi4_to_ahb.scala 316:20] - node _T_282 = and(cmd_doneQ, ahb_hready_q) @[axi4_to_ahb.scala 317:35] - node _T_283 = or(_T_282, ahb_hresp_q) @[axi4_to_ahb.scala 317:51] - node _T_284 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 317:68] - node _T_285 = and(_T_283, _T_284) @[axi4_to_ahb.scala 317:66] - node _T_286 = and(_T_285, slave_ready) @[axi4_to_ahb.scala 317:81] - master_ready <= _T_286 @[axi4_to_ahb.scala 317:20] - node _T_287 = eq(slave_ready, UInt<1>("h00")) @[axi4_to_ahb.scala 318:42] - node _T_288 = or(ahb_hresp_q, _T_287) @[axi4_to_ahb.scala 318:40] - node _T_289 = bits(_T_288, 0, 0) @[axi4_to_ahb.scala 318:62] - node _T_290 = and(master_valid, master_ready) @[axi4_to_ahb.scala 318:90] - node _T_291 = bits(_T_290, 0, 0) @[axi4_to_ahb.scala 318:112] - node _T_292 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 318:131] - node _T_293 = eq(_T_292, UInt<1>("h01")) @[axi4_to_ahb.scala 318:138] - node _T_294 = mux(_T_293, UInt<3>("h02"), UInt<3>("h01")) @[axi4_to_ahb.scala 318:119] - node _T_295 = mux(_T_291, _T_294, UInt<3>("h00")) @[axi4_to_ahb.scala 318:75] - node _T_296 = mux(_T_289, UInt<3>("h05"), _T_295) @[axi4_to_ahb.scala 318:26] - buf_nxtstate <= _T_296 @[axi4_to_ahb.scala 318:20] - slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 319:23] - slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 320:23] - node _T_297 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 321:34] - node _T_298 = eq(_T_297, UInt<1>("h01")) @[axi4_to_ahb.scala 321:41] - buf_write_in <= _T_298 @[axi4_to_ahb.scala 321:20] - node _T_299 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 322:50] - node _T_300 = eq(buf_nxtstate, UInt<3>("h01")) @[axi4_to_ahb.scala 322:78] - node _T_301 = or(_T_299, _T_300) @[axi4_to_ahb.scala 322:62] - node _T_302 = and(buf_state_en, _T_301) @[axi4_to_ahb.scala 322:33] - buf_wr_en <= _T_302 @[axi4_to_ahb.scala 322:17] - buf_data_wr_en <= buf_wr_en @[axi4_to_ahb.scala 323:22] - node _T_303 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 324:63] - node _T_304 = neq(_T_303, UInt<1>("h00")) @[axi4_to_ahb.scala 324:70] - node _T_305 = and(ahb_hready_q, _T_304) @[axi4_to_ahb.scala 324:48] - node _T_306 = eq(buf_cmd_byte_ptrQ, UInt<3>("h07")) @[axi4_to_ahb.scala 324:104] - node _T_307 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 324:166] - node _T_308 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 324:184] - node _T_309 = add(_T_307, UInt<1>("h01")) @[axi4_to_ahb.scala 181:52] - node _T_310 = tail(_T_309, 1) @[axi4_to_ahb.scala 181:52] - node _T_311 = mux(UInt<1>("h01"), _T_310, _T_307) @[axi4_to_ahb.scala 181:24] - node _T_312 = bits(_T_308, 0, 0) @[axi4_to_ahb.scala 182:44] - node _T_313 = geq(UInt<1>("h00"), _T_311) @[axi4_to_ahb.scala 182:62] - node _T_314 = and(_T_312, _T_313) @[axi4_to_ahb.scala 182:48] - node _T_315 = bits(_T_308, 1, 1) @[axi4_to_ahb.scala 182:44] - node _T_316 = geq(UInt<1>("h01"), _T_311) @[axi4_to_ahb.scala 182:62] - node _T_317 = and(_T_315, _T_316) @[axi4_to_ahb.scala 182:48] - node _T_318 = bits(_T_308, 2, 2) @[axi4_to_ahb.scala 182:44] - node _T_319 = geq(UInt<2>("h02"), _T_311) @[axi4_to_ahb.scala 182:62] - node _T_320 = and(_T_318, _T_319) @[axi4_to_ahb.scala 182:48] - node _T_321 = bits(_T_308, 3, 3) @[axi4_to_ahb.scala 182:44] - node _T_322 = geq(UInt<2>("h03"), _T_311) @[axi4_to_ahb.scala 182:62] - node _T_323 = and(_T_321, _T_322) @[axi4_to_ahb.scala 182:48] - node _T_324 = bits(_T_308, 4, 4) @[axi4_to_ahb.scala 182:44] - node _T_325 = geq(UInt<3>("h04"), _T_311) @[axi4_to_ahb.scala 182:62] - node _T_326 = and(_T_324, _T_325) @[axi4_to_ahb.scala 182:48] - node _T_327 = bits(_T_308, 5, 5) @[axi4_to_ahb.scala 182:44] - node _T_328 = geq(UInt<3>("h05"), _T_311) @[axi4_to_ahb.scala 182:62] - node _T_329 = and(_T_327, _T_328) @[axi4_to_ahb.scala 182:48] - node _T_330 = bits(_T_308, 6, 6) @[axi4_to_ahb.scala 182:44] - node _T_331 = geq(UInt<3>("h06"), _T_311) @[axi4_to_ahb.scala 182:62] - node _T_332 = and(_T_330, _T_331) @[axi4_to_ahb.scala 182:48] - node _T_333 = bits(_T_308, 7, 7) @[axi4_to_ahb.scala 182:44] - node _T_334 = geq(UInt<3>("h07"), _T_311) @[axi4_to_ahb.scala 182:62] - node _T_335 = and(_T_333, _T_334) @[axi4_to_ahb.scala 182:48] + node _T_280 = and(cmd_doneQ, ahb_hready_q) @[axi4_to_ahb.scala 315:34] + node _T_281 = or(_T_280, ahb_hresp_q) @[axi4_to_ahb.scala 315:50] + buf_state_en <= _T_281 @[axi4_to_ahb.scala 315:20] + node _T_282 = and(cmd_doneQ, ahb_hready_q) @[axi4_to_ahb.scala 316:35] + node _T_283 = or(_T_282, ahb_hresp_q) @[axi4_to_ahb.scala 316:51] + node _T_284 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 316:68] + node _T_285 = and(_T_283, _T_284) @[axi4_to_ahb.scala 316:66] + node _T_286 = and(_T_285, slave_ready) @[axi4_to_ahb.scala 316:81] + master_ready <= _T_286 @[axi4_to_ahb.scala 316:20] + node _T_287 = eq(slave_ready, UInt<1>("h00")) @[axi4_to_ahb.scala 317:42] + node _T_288 = or(ahb_hresp_q, _T_287) @[axi4_to_ahb.scala 317:40] + node _T_289 = bits(_T_288, 0, 0) @[axi4_to_ahb.scala 317:62] + node _T_290 = and(master_valid, master_ready) @[axi4_to_ahb.scala 317:90] + node _T_291 = bits(_T_290, 0, 0) @[axi4_to_ahb.scala 317:112] + node _T_292 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 317:131] + node _T_293 = eq(_T_292, UInt<1>("h01")) @[axi4_to_ahb.scala 317:138] + node _T_294 = mux(_T_293, UInt<3>("h02"), UInt<3>("h01")) @[axi4_to_ahb.scala 317:119] + node _T_295 = mux(_T_291, _T_294, UInt<3>("h00")) @[axi4_to_ahb.scala 317:75] + node _T_296 = mux(_T_289, UInt<3>("h05"), _T_295) @[axi4_to_ahb.scala 317:26] + buf_nxtstate <= _T_296 @[axi4_to_ahb.scala 317:20] + slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 318:23] + slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 319:23] + node _T_297 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 320:34] + node _T_298 = eq(_T_297, UInt<1>("h01")) @[axi4_to_ahb.scala 320:41] + buf_write_in <= _T_298 @[axi4_to_ahb.scala 320:20] + node _T_299 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 321:50] + node _T_300 = eq(buf_nxtstate, UInt<3>("h01")) @[axi4_to_ahb.scala 321:78] + node _T_301 = or(_T_299, _T_300) @[axi4_to_ahb.scala 321:62] + node _T_302 = and(buf_state_en, _T_301) @[axi4_to_ahb.scala 321:33] + buf_wr_en <= _T_302 @[axi4_to_ahb.scala 321:17] + buf_data_wr_en <= buf_wr_en @[axi4_to_ahb.scala 322:22] + node _T_303 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 323:63] + node _T_304 = neq(_T_303, UInt<1>("h00")) @[axi4_to_ahb.scala 323:70] + node _T_305 = and(ahb_hready_q, _T_304) @[axi4_to_ahb.scala 323:48] + node _T_306 = eq(buf_cmd_byte_ptrQ, UInt<3>("h07")) @[axi4_to_ahb.scala 323:104] + node _T_307 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 323:166] + node _T_308 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 323:184] + node _T_309 = add(_T_307, UInt<1>("h01")) @[axi4_to_ahb.scala 180:52] + node _T_310 = tail(_T_309, 1) @[axi4_to_ahb.scala 180:52] + node _T_311 = mux(UInt<1>("h01"), _T_310, _T_307) @[axi4_to_ahb.scala 180:24] + node _T_312 = bits(_T_308, 0, 0) @[axi4_to_ahb.scala 181:44] + node _T_313 = geq(UInt<1>("h00"), _T_311) @[axi4_to_ahb.scala 181:62] + node _T_314 = and(_T_312, _T_313) @[axi4_to_ahb.scala 181:48] + node _T_315 = bits(_T_308, 1, 1) @[axi4_to_ahb.scala 181:44] + node _T_316 = geq(UInt<1>("h01"), _T_311) @[axi4_to_ahb.scala 181:62] + node _T_317 = and(_T_315, _T_316) @[axi4_to_ahb.scala 181:48] + node _T_318 = bits(_T_308, 2, 2) @[axi4_to_ahb.scala 181:44] + node _T_319 = geq(UInt<2>("h02"), _T_311) @[axi4_to_ahb.scala 181:62] + node _T_320 = and(_T_318, _T_319) @[axi4_to_ahb.scala 181:48] + node _T_321 = bits(_T_308, 3, 3) @[axi4_to_ahb.scala 181:44] + node _T_322 = geq(UInt<2>("h03"), _T_311) @[axi4_to_ahb.scala 181:62] + node _T_323 = and(_T_321, _T_322) @[axi4_to_ahb.scala 181:48] + node _T_324 = bits(_T_308, 4, 4) @[axi4_to_ahb.scala 181:44] + node _T_325 = geq(UInt<3>("h04"), _T_311) @[axi4_to_ahb.scala 181:62] + node _T_326 = and(_T_324, _T_325) @[axi4_to_ahb.scala 181:48] + node _T_327 = bits(_T_308, 5, 5) @[axi4_to_ahb.scala 181:44] + node _T_328 = geq(UInt<3>("h05"), _T_311) @[axi4_to_ahb.scala 181:62] + node _T_329 = and(_T_327, _T_328) @[axi4_to_ahb.scala 181:48] + node _T_330 = bits(_T_308, 6, 6) @[axi4_to_ahb.scala 181:44] + node _T_331 = geq(UInt<3>("h06"), _T_311) @[axi4_to_ahb.scala 181:62] + node _T_332 = and(_T_330, _T_331) @[axi4_to_ahb.scala 181:48] + node _T_333 = bits(_T_308, 7, 7) @[axi4_to_ahb.scala 181:44] + node _T_334 = geq(UInt<3>("h07"), _T_311) @[axi4_to_ahb.scala 181:62] + node _T_335 = and(_T_333, _T_334) @[axi4_to_ahb.scala 181:48] node _T_336 = mux(_T_335, UInt<3>("h07"), UInt<1>("h00")) @[Mux.scala 98:16] node _T_337 = mux(_T_332, UInt<3>("h06"), _T_336) @[Mux.scala 98:16] node _T_338 = mux(_T_329, UInt<3>("h05"), _T_337) @[Mux.scala 98:16] @@ -874,62 +874,62 @@ circuit axi4_to_ahb : node _T_341 = mux(_T_320, UInt<2>("h02"), _T_340) @[Mux.scala 98:16] node _T_342 = mux(_T_317, UInt<1>("h01"), _T_341) @[Mux.scala 98:16] node _T_343 = mux(_T_314, UInt<1>("h00"), _T_342) @[Mux.scala 98:16] - node _T_344 = dshr(buf_byteen, _T_343) @[axi4_to_ahb.scala 324:131] - node _T_345 = bits(_T_344, 0, 0) @[axi4_to_ahb.scala 324:131] - node _T_346 = eq(_T_345, UInt<1>("h00")) @[axi4_to_ahb.scala 324:202] - node _T_347 = or(_T_306, _T_346) @[axi4_to_ahb.scala 324:118] - node _T_348 = and(_T_305, _T_347) @[axi4_to_ahb.scala 324:82] - node _T_349 = or(ahb_hresp_q, _T_348) @[axi4_to_ahb.scala 324:32] - cmd_done <= _T_349 @[axi4_to_ahb.scala 324:16] - node _T_350 = and(buf_state_en, buf_write_in) @[axi4_to_ahb.scala 325:33] - node _T_351 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 325:64] - node _T_352 = and(_T_350, _T_351) @[axi4_to_ahb.scala 325:48] - bypass_en <= _T_352 @[axi4_to_ahb.scala 325:17] - node _T_353 = or(cmd_done, cmd_doneQ) @[axi4_to_ahb.scala 326:44] - node _T_354 = eq(_T_353, UInt<1>("h00")) @[axi4_to_ahb.scala 326:33] - node _T_355 = or(_T_354, bypass_en) @[axi4_to_ahb.scala 326:57] + node _T_344 = dshr(buf_byteen, _T_343) @[axi4_to_ahb.scala 323:131] + node _T_345 = bits(_T_344, 0, 0) @[axi4_to_ahb.scala 323:131] + node _T_346 = eq(_T_345, UInt<1>("h00")) @[axi4_to_ahb.scala 323:202] + node _T_347 = or(_T_306, _T_346) @[axi4_to_ahb.scala 323:118] + node _T_348 = and(_T_305, _T_347) @[axi4_to_ahb.scala 323:82] + node _T_349 = or(ahb_hresp_q, _T_348) @[axi4_to_ahb.scala 323:32] + cmd_done <= _T_349 @[axi4_to_ahb.scala 323:16] + node _T_350 = and(buf_state_en, buf_write_in) @[axi4_to_ahb.scala 324:33] + node _T_351 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 324:64] + node _T_352 = and(_T_350, _T_351) @[axi4_to_ahb.scala 324:48] + bypass_en <= _T_352 @[axi4_to_ahb.scala 324:17] + node _T_353 = or(cmd_done, cmd_doneQ) @[axi4_to_ahb.scala 325:44] + node _T_354 = eq(_T_353, UInt<1>("h00")) @[axi4_to_ahb.scala 325:33] + node _T_355 = or(_T_354, bypass_en) @[axi4_to_ahb.scala 325:57] node _T_356 = bits(_T_355, 0, 0) @[Bitwise.scala 72:15] node _T_357 = mux(_T_356, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_358 = and(_T_357, UInt<2>("h02")) @[axi4_to_ahb.scala 326:71] - io.ahb_htrans <= _T_358 @[axi4_to_ahb.scala 326:21] - node _T_359 = neq(buf_nxtstate, UInt<3>("h05")) @[axi4_to_ahb.scala 327:55] - node _T_360 = and(buf_state_en, _T_359) @[axi4_to_ahb.scala 327:39] - slave_valid_pre <= _T_360 @[axi4_to_ahb.scala 327:23] - node _T_361 = and(ahb_hready_q, ahb_hwrite_q) @[axi4_to_ahb.scala 328:33] - node _T_362 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 328:63] - node _T_363 = neq(_T_362, UInt<1>("h00")) @[axi4_to_ahb.scala 328:70] - node _T_364 = and(_T_361, _T_363) @[axi4_to_ahb.scala 328:48] - trxn_done <= _T_364 @[axi4_to_ahb.scala 328:17] - node _T_365 = or(trxn_done, bypass_en) @[axi4_to_ahb.scala 329:40] - buf_cmd_byte_ptr_en <= _T_365 @[axi4_to_ahb.scala 329:27] - node _T_366 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 332:76] - node _T_367 = add(UInt<1>("h00"), UInt<1>("h01")) @[axi4_to_ahb.scala 181:52] - node _T_368 = tail(_T_367, 1) @[axi4_to_ahb.scala 181:52] - node _T_369 = mux(UInt<1>("h00"), _T_368, UInt<1>("h00")) @[axi4_to_ahb.scala 181:24] - node _T_370 = bits(_T_366, 0, 0) @[axi4_to_ahb.scala 182:44] - node _T_371 = geq(UInt<1>("h00"), _T_369) @[axi4_to_ahb.scala 182:62] - node _T_372 = and(_T_370, _T_371) @[axi4_to_ahb.scala 182:48] - node _T_373 = bits(_T_366, 1, 1) @[axi4_to_ahb.scala 182:44] - node _T_374 = geq(UInt<1>("h01"), _T_369) @[axi4_to_ahb.scala 182:62] - node _T_375 = and(_T_373, _T_374) @[axi4_to_ahb.scala 182:48] - node _T_376 = bits(_T_366, 2, 2) @[axi4_to_ahb.scala 182:44] - node _T_377 = geq(UInt<2>("h02"), _T_369) @[axi4_to_ahb.scala 182:62] - node _T_378 = and(_T_376, _T_377) @[axi4_to_ahb.scala 182:48] - node _T_379 = bits(_T_366, 3, 3) @[axi4_to_ahb.scala 182:44] - node _T_380 = geq(UInt<2>("h03"), _T_369) @[axi4_to_ahb.scala 182:62] - node _T_381 = and(_T_379, _T_380) @[axi4_to_ahb.scala 182:48] - node _T_382 = bits(_T_366, 4, 4) @[axi4_to_ahb.scala 182:44] - node _T_383 = geq(UInt<3>("h04"), _T_369) @[axi4_to_ahb.scala 182:62] - node _T_384 = and(_T_382, _T_383) @[axi4_to_ahb.scala 182:48] - node _T_385 = bits(_T_366, 5, 5) @[axi4_to_ahb.scala 182:44] - node _T_386 = geq(UInt<3>("h05"), _T_369) @[axi4_to_ahb.scala 182:62] - node _T_387 = and(_T_385, _T_386) @[axi4_to_ahb.scala 182:48] - node _T_388 = bits(_T_366, 6, 6) @[axi4_to_ahb.scala 182:44] - node _T_389 = geq(UInt<3>("h06"), _T_369) @[axi4_to_ahb.scala 182:62] - node _T_390 = and(_T_388, _T_389) @[axi4_to_ahb.scala 182:48] - node _T_391 = bits(_T_366, 7, 7) @[axi4_to_ahb.scala 182:44] - node _T_392 = geq(UInt<3>("h07"), _T_369) @[axi4_to_ahb.scala 182:62] - node _T_393 = and(_T_391, _T_392) @[axi4_to_ahb.scala 182:48] + node _T_358 = and(_T_357, UInt<2>("h02")) @[axi4_to_ahb.scala 325:71] + io.ahb_htrans <= _T_358 @[axi4_to_ahb.scala 325:21] + node _T_359 = neq(buf_nxtstate, UInt<3>("h05")) @[axi4_to_ahb.scala 326:55] + node _T_360 = and(buf_state_en, _T_359) @[axi4_to_ahb.scala 326:39] + slave_valid_pre <= _T_360 @[axi4_to_ahb.scala 326:23] + node _T_361 = and(ahb_hready_q, ahb_hwrite_q) @[axi4_to_ahb.scala 327:33] + node _T_362 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 327:63] + node _T_363 = neq(_T_362, UInt<1>("h00")) @[axi4_to_ahb.scala 327:70] + node _T_364 = and(_T_361, _T_363) @[axi4_to_ahb.scala 327:48] + trxn_done <= _T_364 @[axi4_to_ahb.scala 327:17] + node _T_365 = or(trxn_done, bypass_en) @[axi4_to_ahb.scala 328:40] + buf_cmd_byte_ptr_en <= _T_365 @[axi4_to_ahb.scala 328:27] + node _T_366 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 331:76] + node _T_367 = add(UInt<1>("h00"), UInt<1>("h01")) @[axi4_to_ahb.scala 180:52] + node _T_368 = tail(_T_367, 1) @[axi4_to_ahb.scala 180:52] + node _T_369 = mux(UInt<1>("h00"), _T_368, UInt<1>("h00")) @[axi4_to_ahb.scala 180:24] + node _T_370 = bits(_T_366, 0, 0) @[axi4_to_ahb.scala 181:44] + node _T_371 = geq(UInt<1>("h00"), _T_369) @[axi4_to_ahb.scala 181:62] + node _T_372 = and(_T_370, _T_371) @[axi4_to_ahb.scala 181:48] + node _T_373 = bits(_T_366, 1, 1) @[axi4_to_ahb.scala 181:44] + node _T_374 = geq(UInt<1>("h01"), _T_369) @[axi4_to_ahb.scala 181:62] + node _T_375 = and(_T_373, _T_374) @[axi4_to_ahb.scala 181:48] + node _T_376 = bits(_T_366, 2, 2) @[axi4_to_ahb.scala 181:44] + node _T_377 = geq(UInt<2>("h02"), _T_369) @[axi4_to_ahb.scala 181:62] + node _T_378 = and(_T_376, _T_377) @[axi4_to_ahb.scala 181:48] + node _T_379 = bits(_T_366, 3, 3) @[axi4_to_ahb.scala 181:44] + node _T_380 = geq(UInt<2>("h03"), _T_369) @[axi4_to_ahb.scala 181:62] + node _T_381 = and(_T_379, _T_380) @[axi4_to_ahb.scala 181:48] + node _T_382 = bits(_T_366, 4, 4) @[axi4_to_ahb.scala 181:44] + node _T_383 = geq(UInt<3>("h04"), _T_369) @[axi4_to_ahb.scala 181:62] + node _T_384 = and(_T_382, _T_383) @[axi4_to_ahb.scala 181:48] + node _T_385 = bits(_T_366, 5, 5) @[axi4_to_ahb.scala 181:44] + node _T_386 = geq(UInt<3>("h05"), _T_369) @[axi4_to_ahb.scala 181:62] + node _T_387 = and(_T_385, _T_386) @[axi4_to_ahb.scala 181:48] + node _T_388 = bits(_T_366, 6, 6) @[axi4_to_ahb.scala 181:44] + node _T_389 = geq(UInt<3>("h06"), _T_369) @[axi4_to_ahb.scala 181:62] + node _T_390 = and(_T_388, _T_389) @[axi4_to_ahb.scala 181:48] + node _T_391 = bits(_T_366, 7, 7) @[axi4_to_ahb.scala 181:44] + node _T_392 = geq(UInt<3>("h07"), _T_369) @[axi4_to_ahb.scala 181:62] + node _T_393 = and(_T_391, _T_392) @[axi4_to_ahb.scala 181:48] node _T_394 = mux(_T_393, UInt<3>("h07"), UInt<1>("h00")) @[Mux.scala 98:16] node _T_395 = mux(_T_390, UInt<3>("h06"), _T_394) @[Mux.scala 98:16] node _T_396 = mux(_T_387, UInt<3>("h05"), _T_395) @[Mux.scala 98:16] @@ -938,35 +938,35 @@ circuit axi4_to_ahb : node _T_399 = mux(_T_378, UInt<2>("h02"), _T_398) @[Mux.scala 98:16] node _T_400 = mux(_T_375, UInt<1>("h01"), _T_399) @[Mux.scala 98:16] node _T_401 = mux(_T_372, UInt<1>("h00"), _T_400) @[Mux.scala 98:16] - node _T_402 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 332:142] - node _T_403 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 332:160] - node _T_404 = add(_T_402, UInt<1>("h01")) @[axi4_to_ahb.scala 181:52] - node _T_405 = tail(_T_404, 1) @[axi4_to_ahb.scala 181:52] - node _T_406 = mux(UInt<1>("h01"), _T_405, _T_402) @[axi4_to_ahb.scala 181:24] - node _T_407 = bits(_T_403, 0, 0) @[axi4_to_ahb.scala 182:44] - node _T_408 = geq(UInt<1>("h00"), _T_406) @[axi4_to_ahb.scala 182:62] - node _T_409 = and(_T_407, _T_408) @[axi4_to_ahb.scala 182:48] - node _T_410 = bits(_T_403, 1, 1) @[axi4_to_ahb.scala 182:44] - node _T_411 = geq(UInt<1>("h01"), _T_406) @[axi4_to_ahb.scala 182:62] - node _T_412 = and(_T_410, _T_411) @[axi4_to_ahb.scala 182:48] - node _T_413 = bits(_T_403, 2, 2) @[axi4_to_ahb.scala 182:44] - node _T_414 = geq(UInt<2>("h02"), _T_406) @[axi4_to_ahb.scala 182:62] - node _T_415 = and(_T_413, _T_414) @[axi4_to_ahb.scala 182:48] - node _T_416 = bits(_T_403, 3, 3) @[axi4_to_ahb.scala 182:44] - node _T_417 = geq(UInt<2>("h03"), _T_406) @[axi4_to_ahb.scala 182:62] - node _T_418 = and(_T_416, _T_417) @[axi4_to_ahb.scala 182:48] - node _T_419 = bits(_T_403, 4, 4) @[axi4_to_ahb.scala 182:44] - node _T_420 = geq(UInt<3>("h04"), _T_406) @[axi4_to_ahb.scala 182:62] - node _T_421 = and(_T_419, _T_420) @[axi4_to_ahb.scala 182:48] - node _T_422 = bits(_T_403, 5, 5) @[axi4_to_ahb.scala 182:44] - node _T_423 = geq(UInt<3>("h05"), _T_406) @[axi4_to_ahb.scala 182:62] - node _T_424 = and(_T_422, _T_423) @[axi4_to_ahb.scala 182:48] - node _T_425 = bits(_T_403, 6, 6) @[axi4_to_ahb.scala 182:44] - node _T_426 = geq(UInt<3>("h06"), _T_406) @[axi4_to_ahb.scala 182:62] - node _T_427 = and(_T_425, _T_426) @[axi4_to_ahb.scala 182:48] - node _T_428 = bits(_T_403, 7, 7) @[axi4_to_ahb.scala 182:44] - node _T_429 = geq(UInt<3>("h07"), _T_406) @[axi4_to_ahb.scala 182:62] - node _T_430 = and(_T_428, _T_429) @[axi4_to_ahb.scala 182:48] + node _T_402 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 331:142] + node _T_403 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 331:160] + node _T_404 = add(_T_402, UInt<1>("h01")) @[axi4_to_ahb.scala 180:52] + node _T_405 = tail(_T_404, 1) @[axi4_to_ahb.scala 180:52] + node _T_406 = mux(UInt<1>("h01"), _T_405, _T_402) @[axi4_to_ahb.scala 180:24] + node _T_407 = bits(_T_403, 0, 0) @[axi4_to_ahb.scala 181:44] + node _T_408 = geq(UInt<1>("h00"), _T_406) @[axi4_to_ahb.scala 181:62] + node _T_409 = and(_T_407, _T_408) @[axi4_to_ahb.scala 181:48] + node _T_410 = bits(_T_403, 1, 1) @[axi4_to_ahb.scala 181:44] + node _T_411 = geq(UInt<1>("h01"), _T_406) @[axi4_to_ahb.scala 181:62] + node _T_412 = and(_T_410, _T_411) @[axi4_to_ahb.scala 181:48] + node _T_413 = bits(_T_403, 2, 2) @[axi4_to_ahb.scala 181:44] + node _T_414 = geq(UInt<2>("h02"), _T_406) @[axi4_to_ahb.scala 181:62] + node _T_415 = and(_T_413, _T_414) @[axi4_to_ahb.scala 181:48] + node _T_416 = bits(_T_403, 3, 3) @[axi4_to_ahb.scala 181:44] + node _T_417 = geq(UInt<2>("h03"), _T_406) @[axi4_to_ahb.scala 181:62] + node _T_418 = and(_T_416, _T_417) @[axi4_to_ahb.scala 181:48] + node _T_419 = bits(_T_403, 4, 4) @[axi4_to_ahb.scala 181:44] + node _T_420 = geq(UInt<3>("h04"), _T_406) @[axi4_to_ahb.scala 181:62] + node _T_421 = and(_T_419, _T_420) @[axi4_to_ahb.scala 181:48] + node _T_422 = bits(_T_403, 5, 5) @[axi4_to_ahb.scala 181:44] + node _T_423 = geq(UInt<3>("h05"), _T_406) @[axi4_to_ahb.scala 181:62] + node _T_424 = and(_T_422, _T_423) @[axi4_to_ahb.scala 181:48] + node _T_425 = bits(_T_403, 6, 6) @[axi4_to_ahb.scala 181:44] + node _T_426 = geq(UInt<3>("h06"), _T_406) @[axi4_to_ahb.scala 181:62] + node _T_427 = and(_T_425, _T_426) @[axi4_to_ahb.scala 181:48] + node _T_428 = bits(_T_403, 7, 7) @[axi4_to_ahb.scala 181:44] + node _T_429 = geq(UInt<3>("h07"), _T_406) @[axi4_to_ahb.scala 181:62] + node _T_430 = and(_T_428, _T_429) @[axi4_to_ahb.scala 181:48] node _T_431 = mux(_T_430, UInt<3>("h07"), UInt<1>("h00")) @[Mux.scala 98:16] node _T_432 = mux(_T_427, UInt<3>("h06"), _T_431) @[Mux.scala 98:16] node _T_433 = mux(_T_424, UInt<3>("h05"), _T_432) @[Mux.scala 98:16] @@ -975,81 +975,81 @@ circuit axi4_to_ahb : node _T_436 = mux(_T_415, UInt<2>("h02"), _T_435) @[Mux.scala 98:16] node _T_437 = mux(_T_412, UInt<1>("h01"), _T_436) @[Mux.scala 98:16] node _T_438 = mux(_T_409, UInt<1>("h00"), _T_437) @[Mux.scala 98:16] - node _T_439 = mux(trxn_done, _T_438, buf_cmd_byte_ptrQ) @[axi4_to_ahb.scala 332:97] - node _T_440 = mux(bypass_en, _T_401, _T_439) @[axi4_to_ahb.scala 332:30] - buf_cmd_byte_ptr <= _T_440 @[axi4_to_ahb.scala 332:24] + node _T_439 = mux(trxn_done, _T_438, buf_cmd_byte_ptrQ) @[axi4_to_ahb.scala 331:97] + node _T_440 = mux(bypass_en, _T_401, _T_439) @[axi4_to_ahb.scala 331:30] + buf_cmd_byte_ptr <= _T_440 @[axi4_to_ahb.scala 331:24] skip @[Conditional.scala 39:67] else : @[Conditional.scala 39:67] node _T_441 = eq(UInt<3>("h05"), buf_state) @[Conditional.scala 37:30] when _T_441 : @[Conditional.scala 39:67] - buf_nxtstate <= UInt<3>("h00") @[axi4_to_ahb.scala 335:20] - buf_state_en <= slave_ready @[axi4_to_ahb.scala 336:20] - slvbuf_error_en <= UInt<1>("h01") @[axi4_to_ahb.scala 337:23] - slave_valid_pre <= UInt<1>("h01") @[axi4_to_ahb.scala 338:23] + buf_nxtstate <= UInt<3>("h00") @[axi4_to_ahb.scala 334:20] + buf_state_en <= slave_ready @[axi4_to_ahb.scala 335:20] + slvbuf_error_en <= UInt<1>("h01") @[axi4_to_ahb.scala 336:23] + slave_valid_pre <= UInt<1>("h01") @[axi4_to_ahb.scala 337:23] skip @[Conditional.scala 39:67] - buf_rst <= UInt<1>("h00") @[axi4_to_ahb.scala 342:11] - cmd_done_rst <= slave_valid_pre @[axi4_to_ahb.scala 343:16] - node _T_442 = bits(master_addr, 31, 3) @[axi4_to_ahb.scala 344:33] - node _T_443 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 344:73] - node _T_444 = eq(_T_443, UInt<1>("h01")) @[axi4_to_ahb.scala 344:80] - node _T_445 = and(buf_aligned_in, _T_444) @[axi4_to_ahb.scala 344:60] - node _T_446 = bits(_T_445, 0, 0) @[axi4_to_ahb.scala 344:100] - node _T_447 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 344:132] + buf_rst <= UInt<1>("h00") @[axi4_to_ahb.scala 341:11] + cmd_done_rst <= slave_valid_pre @[axi4_to_ahb.scala 342:16] + node _T_442 = bits(master_addr, 31, 3) @[axi4_to_ahb.scala 343:33] + node _T_443 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 343:73] + node _T_444 = eq(_T_443, UInt<1>("h01")) @[axi4_to_ahb.scala 343:80] + node _T_445 = and(buf_aligned_in, _T_444) @[axi4_to_ahb.scala 343:60] + node _T_446 = bits(_T_445, 0, 0) @[axi4_to_ahb.scala 343:100] + node _T_447 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 343:132] wire _T_448 : UInt<8> _T_448 <= UInt<8>("h00") - node _T_449 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 173:45] - node _T_450 = eq(_T_449, UInt<8>("h0ff")) @[axi4_to_ahb.scala 173:52] - node _T_451 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 173:76] - node _T_452 = eq(_T_451, UInt<4>("h0f")) @[axi4_to_ahb.scala 173:83] - node _T_453 = or(_T_450, _T_452) @[axi4_to_ahb.scala 173:65] - node _T_454 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 173:107] - node _T_455 = eq(_T_454, UInt<2>("h03")) @[axi4_to_ahb.scala 173:114] - node _T_456 = or(_T_453, _T_455) @[axi4_to_ahb.scala 173:96] + node _T_449 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 173:50] + node _T_450 = eq(_T_449, UInt<8>("h0ff")) @[axi4_to_ahb.scala 173:57] + node _T_451 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 173:81] + node _T_452 = eq(_T_451, UInt<8>("h0f")) @[axi4_to_ahb.scala 173:88] + node _T_453 = or(_T_450, _T_452) @[axi4_to_ahb.scala 173:70] + node _T_454 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 173:117] + node _T_455 = eq(_T_454, UInt<8>("h03")) @[axi4_to_ahb.scala 173:124] + node _T_456 = or(_T_453, _T_455) @[axi4_to_ahb.scala 173:106] node _T_457 = bits(_T_456, 0, 0) @[Bitwise.scala 72:15] node _T_458 = mux(_T_457, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12] - node _T_459 = and(UInt<1>("h00"), _T_458) @[axi4_to_ahb.scala 173:24] + node _T_459 = and(UInt<3>("h00"), _T_458) @[axi4_to_ahb.scala 173:29] node _T_460 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 174:35] - node _T_461 = eq(_T_460, UInt<4>("h0c")) @[axi4_to_ahb.scala 174:42] + node _T_461 = eq(_T_460, UInt<8>("h0c")) @[axi4_to_ahb.scala 174:42] node _T_462 = bits(_T_461, 0, 0) @[Bitwise.scala 72:15] node _T_463 = mux(_T_462, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12] node _T_464 = and(UInt<2>("h02"), _T_463) @[axi4_to_ahb.scala 174:15] - node _T_465 = or(_T_459, _T_464) @[axi4_to_ahb.scala 173:131] + node _T_465 = or(_T_459, _T_464) @[axi4_to_ahb.scala 173:146] node _T_466 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 175:36] node _T_467 = eq(_T_466, UInt<8>("h0f0")) @[axi4_to_ahb.scala 175:43] node _T_468 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 175:67] - node _T_469 = eq(_T_468, UInt<2>("h03")) @[axi4_to_ahb.scala 175:74] + node _T_469 = eq(_T_468, UInt<8>("h03")) @[axi4_to_ahb.scala 175:74] node _T_470 = or(_T_467, _T_469) @[axi4_to_ahb.scala 175:56] node _T_471 = bits(_T_470, 0, 0) @[Bitwise.scala 72:15] node _T_472 = mux(_T_471, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12] node _T_473 = and(UInt<3>("h04"), _T_472) @[axi4_to_ahb.scala 175:15] - node _T_474 = or(_T_465, _T_473) @[axi4_to_ahb.scala 174:58] + node _T_474 = or(_T_465, _T_473) @[axi4_to_ahb.scala 174:63] node _T_475 = bits(_T_448, 7, 0) @[axi4_to_ahb.scala 176:37] node _T_476 = eq(_T_475, UInt<8>("h0c0")) @[axi4_to_ahb.scala 176:44] node _T_477 = bits(_T_476, 0, 0) @[Bitwise.scala 72:15] node _T_478 = mux(_T_477, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12] node _T_479 = and(UInt<3>("h06"), _T_478) @[axi4_to_ahb.scala 176:17] - node _T_480 = or(_T_474, _T_479) @[axi4_to_ahb.scala 175:91] - node _T_481 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 344:152] - node _T_482 = mux(_T_446, _T_480, _T_481) @[axi4_to_ahb.scala 344:43] + node _T_480 = or(_T_474, _T_479) @[axi4_to_ahb.scala 175:96] + node _T_481 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 343:152] + node _T_482 = mux(_T_446, _T_480, _T_481) @[axi4_to_ahb.scala 343:43] node _T_483 = cat(_T_442, _T_482) @[Cat.scala 29:58] - buf_addr_in <= _T_483 @[axi4_to_ahb.scala 344:15] - node _T_484 = bits(master_tag, 0, 0) @[axi4_to_ahb.scala 345:27] - buf_tag_in <= _T_484 @[axi4_to_ahb.scala 345:14] - node _T_485 = bits(wrbuf_byteen, 7, 0) @[axi4_to_ahb.scala 346:32] - buf_byteen_in <= _T_485 @[axi4_to_ahb.scala 346:17] - node _T_486 = eq(buf_state, UInt<3>("h03")) @[axi4_to_ahb.scala 347:33] - node _T_487 = bits(ahb_hrdata_q, 63, 0) @[axi4_to_ahb.scala 347:59] - node _T_488 = bits(master_wdata, 63, 0) @[axi4_to_ahb.scala 347:80] - node _T_489 = mux(_T_486, _T_487, _T_488) @[axi4_to_ahb.scala 347:21] - buf_data_in <= _T_489 @[axi4_to_ahb.scala 347:15] - node _T_490 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 348:52] - node _T_491 = eq(_T_490, UInt<2>("h03")) @[axi4_to_ahb.scala 348:59] - node _T_492 = and(buf_aligned_in, _T_491) @[axi4_to_ahb.scala 348:38] - node _T_493 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 348:85] - node _T_494 = eq(_T_493, UInt<1>("h01")) @[axi4_to_ahb.scala 348:92] - node _T_495 = and(_T_492, _T_494) @[axi4_to_ahb.scala 348:72] - node _T_496 = bits(_T_495, 0, 0) @[axi4_to_ahb.scala 348:112] - node _T_497 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 348:144] + buf_addr_in <= _T_483 @[axi4_to_ahb.scala 343:15] + node _T_484 = bits(master_tag, 0, 0) @[axi4_to_ahb.scala 344:27] + buf_tag_in <= _T_484 @[axi4_to_ahb.scala 344:14] + node _T_485 = bits(wrbuf_byteen, 7, 0) @[axi4_to_ahb.scala 345:32] + buf_byteen_in <= _T_485 @[axi4_to_ahb.scala 345:17] + node _T_486 = eq(buf_state, UInt<3>("h03")) @[axi4_to_ahb.scala 346:33] + node _T_487 = bits(ahb_hrdata_q, 63, 0) @[axi4_to_ahb.scala 346:59] + node _T_488 = bits(master_wdata, 63, 0) @[axi4_to_ahb.scala 346:80] + node _T_489 = mux(_T_486, _T_487, _T_488) @[axi4_to_ahb.scala 346:21] + buf_data_in <= _T_489 @[axi4_to_ahb.scala 346:15] + node _T_490 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 347:52] + node _T_491 = eq(_T_490, UInt<2>("h03")) @[axi4_to_ahb.scala 347:58] + node _T_492 = and(buf_aligned_in, _T_491) @[axi4_to_ahb.scala 347:38] + node _T_493 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 347:84] + node _T_494 = eq(_T_493, UInt<1>("h01")) @[axi4_to_ahb.scala 347:91] + node _T_495 = and(_T_492, _T_494) @[axi4_to_ahb.scala 347:71] + node _T_496 = bits(_T_495, 0, 0) @[axi4_to_ahb.scala 347:111] + node _T_497 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 347:142] wire _T_498 : UInt<8> _T_498 <= UInt<8>("h00") node _T_499 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 166:42] @@ -1060,183 +1060,183 @@ circuit axi4_to_ahb : node _T_504 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 167:35] node _T_505 = eq(_T_504, UInt<8>("h0f0")) @[axi4_to_ahb.scala 167:42] node _T_506 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 167:64] - node _T_507 = eq(_T_506, UInt<4>("h0f")) @[axi4_to_ahb.scala 167:71] + node _T_507 = eq(_T_506, UInt<8>("h0f")) @[axi4_to_ahb.scala 167:71] node _T_508 = or(_T_505, _T_507) @[axi4_to_ahb.scala 167:55] node _T_509 = bits(_T_508, 0, 0) @[Bitwise.scala 72:15] node _T_510 = mux(_T_509, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] node _T_511 = and(UInt<2>("h02"), _T_510) @[axi4_to_ahb.scala 167:16] node _T_512 = or(_T_503, _T_511) @[axi4_to_ahb.scala 166:64] - node _T_513 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 168:35] - node _T_514 = eq(_T_513, UInt<8>("h0c0")) @[axi4_to_ahb.scala 168:42] - node _T_515 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 168:64] - node _T_516 = eq(_T_515, UInt<6>("h030")) @[axi4_to_ahb.scala 168:71] - node _T_517 = or(_T_514, _T_516) @[axi4_to_ahb.scala 168:55] - node _T_518 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 168:93] - node _T_519 = eq(_T_518, UInt<4>("h0c")) @[axi4_to_ahb.scala 168:100] - node _T_520 = or(_T_517, _T_519) @[axi4_to_ahb.scala 168:84] - node _T_521 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 168:122] - node _T_522 = eq(_T_521, UInt<2>("h03")) @[axi4_to_ahb.scala 168:129] - node _T_523 = or(_T_520, _T_522) @[axi4_to_ahb.scala 168:113] + node _T_513 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 168:40] + node _T_514 = eq(_T_513, UInt<8>("h0c0")) @[axi4_to_ahb.scala 168:47] + node _T_515 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 168:69] + node _T_516 = eq(_T_515, UInt<6>("h030")) @[axi4_to_ahb.scala 168:76] + node _T_517 = or(_T_514, _T_516) @[axi4_to_ahb.scala 168:60] + node _T_518 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 168:98] + node _T_519 = eq(_T_518, UInt<8>("h0c")) @[axi4_to_ahb.scala 168:105] + node _T_520 = or(_T_517, _T_519) @[axi4_to_ahb.scala 168:89] + node _T_521 = bits(_T_498, 7, 0) @[axi4_to_ahb.scala 168:132] + node _T_522 = eq(_T_521, UInt<8>("h03")) @[axi4_to_ahb.scala 168:139] + node _T_523 = or(_T_520, _T_522) @[axi4_to_ahb.scala 168:123] node _T_524 = bits(_T_523, 0, 0) @[Bitwise.scala 72:15] node _T_525 = mux(_T_524, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_526 = and(UInt<1>("h01"), _T_525) @[axi4_to_ahb.scala 168:16] - node _T_527 = or(_T_512, _T_526) @[axi4_to_ahb.scala 167:88] - node _T_528 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 348:164] - node _T_529 = mux(_T_496, _T_527, _T_528) @[axi4_to_ahb.scala 348:21] - buf_size_in <= _T_529 @[axi4_to_ahb.scala 348:15] - node _T_530 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 349:32] - node _T_531 = eq(_T_530, UInt<1>("h00")) @[axi4_to_ahb.scala 349:39] - node _T_532 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 350:17] - node _T_533 = eq(_T_532, UInt<1>("h00")) @[axi4_to_ahb.scala 350:24] - node _T_534 = or(_T_531, _T_533) @[axi4_to_ahb.scala 349:51] - node _T_535 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 350:50] - node _T_536 = eq(_T_535, UInt<1>("h01")) @[axi4_to_ahb.scala 350:57] - node _T_537 = or(_T_534, _T_536) @[axi4_to_ahb.scala 350:36] - node _T_538 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 350:84] - node _T_539 = eq(_T_538, UInt<2>("h02")) @[axi4_to_ahb.scala 350:91] - node _T_540 = or(_T_537, _T_539) @[axi4_to_ahb.scala 350:70] - node _T_541 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 351:18] - node _T_542 = eq(_T_541, UInt<2>("h03")) @[axi4_to_ahb.scala 351:25] - node _T_543 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 351:55] - node _T_544 = eq(_T_543, UInt<2>("h03")) @[axi4_to_ahb.scala 351:62] - node _T_545 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 351:90] - node _T_546 = eq(_T_545, UInt<4>("h0c")) @[axi4_to_ahb.scala 351:97] - node _T_547 = or(_T_544, _T_546) @[axi4_to_ahb.scala 351:74] - node _T_548 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 351:125] - node _T_549 = eq(_T_548, UInt<6>("h030")) @[axi4_to_ahb.scala 351:132] - node _T_550 = or(_T_547, _T_549) @[axi4_to_ahb.scala 351:109] - node _T_551 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 351:161] - node _T_552 = eq(_T_551, UInt<8>("h0c0")) @[axi4_to_ahb.scala 351:168] - node _T_553 = or(_T_550, _T_552) @[axi4_to_ahb.scala 351:145] - node _T_554 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 352:21] - node _T_555 = eq(_T_554, UInt<4>("h0f")) @[axi4_to_ahb.scala 352:28] - node _T_556 = or(_T_553, _T_555) @[axi4_to_ahb.scala 351:181] - node _T_557 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 352:56] - node _T_558 = eq(_T_557, UInt<8>("h0f0")) @[axi4_to_ahb.scala 352:63] - node _T_559 = or(_T_556, _T_558) @[axi4_to_ahb.scala 352:40] - node _T_560 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 352:92] - node _T_561 = eq(_T_560, UInt<8>("h0ff")) @[axi4_to_ahb.scala 352:99] - node _T_562 = or(_T_559, _T_561) @[axi4_to_ahb.scala 352:76] - node _T_563 = and(_T_542, _T_562) @[axi4_to_ahb.scala 351:38] - node _T_564 = or(_T_540, _T_563) @[axi4_to_ahb.scala 350:104] - buf_aligned_in <= _T_564 @[axi4_to_ahb.scala 349:18] - node _T_565 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 354:39] - node _T_566 = bits(master_addr, 31, 3) @[axi4_to_ahb.scala 354:58] - node _T_567 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 354:83] + node _T_526 = and(UInt<2>("h01"), _T_525) @[axi4_to_ahb.scala 168:21] + node _T_527 = or(_T_512, _T_526) @[axi4_to_ahb.scala 167:93] + node _T_528 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 347:161] + node _T_529 = mux(_T_496, _T_527, _T_528) @[axi4_to_ahb.scala 347:21] + buf_size_in <= _T_529 @[axi4_to_ahb.scala 347:15] + node _T_530 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 348:32] + node _T_531 = eq(_T_530, UInt<1>("h00")) @[axi4_to_ahb.scala 348:39] + node _T_532 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 349:17] + node _T_533 = eq(_T_532, UInt<1>("h00")) @[axi4_to_ahb.scala 349:24] + node _T_534 = or(_T_531, _T_533) @[axi4_to_ahb.scala 348:48] + node _T_535 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 349:47] + node _T_536 = eq(_T_535, UInt<2>("h01")) @[axi4_to_ahb.scala 349:54] + node _T_537 = or(_T_534, _T_536) @[axi4_to_ahb.scala 349:33] + node _T_538 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 349:86] + node _T_539 = eq(_T_538, UInt<2>("h02")) @[axi4_to_ahb.scala 349:93] + node _T_540 = or(_T_537, _T_539) @[axi4_to_ahb.scala 349:72] + node _T_541 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 350:18] + node _T_542 = eq(_T_541, UInt<2>("h03")) @[axi4_to_ahb.scala 350:25] + node _T_543 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 350:55] + node _T_544 = eq(_T_543, UInt<2>("h03")) @[axi4_to_ahb.scala 350:62] + node _T_545 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 350:90] + node _T_546 = eq(_T_545, UInt<4>("h0c")) @[axi4_to_ahb.scala 350:97] + node _T_547 = or(_T_544, _T_546) @[axi4_to_ahb.scala 350:74] + node _T_548 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 350:125] + node _T_549 = eq(_T_548, UInt<6>("h030")) @[axi4_to_ahb.scala 350:132] + node _T_550 = or(_T_547, _T_549) @[axi4_to_ahb.scala 350:109] + node _T_551 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 350:161] + node _T_552 = eq(_T_551, UInt<8>("h0c0")) @[axi4_to_ahb.scala 350:168] + node _T_553 = or(_T_550, _T_552) @[axi4_to_ahb.scala 350:145] + node _T_554 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 351:21] + node _T_555 = eq(_T_554, UInt<4>("h0f")) @[axi4_to_ahb.scala 351:28] + node _T_556 = or(_T_553, _T_555) @[axi4_to_ahb.scala 350:181] + node _T_557 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 351:56] + node _T_558 = eq(_T_557, UInt<8>("h0f0")) @[axi4_to_ahb.scala 351:63] + node _T_559 = or(_T_556, _T_558) @[axi4_to_ahb.scala 351:40] + node _T_560 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 351:92] + node _T_561 = eq(_T_560, UInt<8>("h0ff")) @[axi4_to_ahb.scala 351:99] + node _T_562 = or(_T_559, _T_561) @[axi4_to_ahb.scala 351:76] + node _T_563 = and(_T_542, _T_562) @[axi4_to_ahb.scala 350:38] + node _T_564 = or(_T_540, _T_563) @[axi4_to_ahb.scala 349:106] + buf_aligned_in <= _T_564 @[axi4_to_ahb.scala 348:18] + node _T_565 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 353:39] + node _T_566 = bits(master_addr, 31, 3) @[axi4_to_ahb.scala 353:58] + node _T_567 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 353:83] node _T_568 = cat(_T_566, _T_567) @[Cat.scala 29:58] - node _T_569 = bits(buf_addr, 31, 3) @[axi4_to_ahb.scala 354:104] - node _T_570 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 354:129] + node _T_569 = bits(buf_addr, 31, 3) @[axi4_to_ahb.scala 353:104] + node _T_570 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 353:129] node _T_571 = cat(_T_569, _T_570) @[Cat.scala 29:58] - node _T_572 = mux(_T_565, _T_568, _T_571) @[axi4_to_ahb.scala 354:22] - io.ahb_haddr <= _T_572 @[axi4_to_ahb.scala 354:16] - node _T_573 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 355:39] + node _T_572 = mux(_T_565, _T_568, _T_571) @[axi4_to_ahb.scala 353:22] + io.ahb_haddr <= _T_572 @[axi4_to_ahb.scala 353:16] + node _T_573 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 354:39] node _T_574 = bits(buf_aligned_in, 0, 0) @[Bitwise.scala 72:15] node _T_575 = mux(_T_574, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_576 = bits(buf_size_in, 1, 0) @[axi4_to_ahb.scala 355:90] - node _T_577 = and(_T_575, _T_576) @[axi4_to_ahb.scala 355:77] + node _T_576 = bits(buf_size_in, 1, 0) @[axi4_to_ahb.scala 354:90] + node _T_577 = and(_T_575, _T_576) @[axi4_to_ahb.scala 354:77] node _T_578 = cat(UInt<1>("h00"), _T_577) @[Cat.scala 29:58] node _T_579 = bits(buf_aligned, 0, 0) @[Bitwise.scala 72:15] node _T_580 = mux(_T_579, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_581 = bits(buf_size, 1, 0) @[axi4_to_ahb.scala 355:145] - node _T_582 = and(_T_580, _T_581) @[axi4_to_ahb.scala 355:135] + node _T_581 = bits(buf_size, 1, 0) @[axi4_to_ahb.scala 354:144] + node _T_582 = and(_T_580, _T_581) @[axi4_to_ahb.scala 354:134] node _T_583 = cat(UInt<1>("h00"), _T_582) @[Cat.scala 29:58] - node _T_584 = mux(_T_573, _T_578, _T_583) @[axi4_to_ahb.scala 355:22] - io.ahb_hsize <= _T_584 @[axi4_to_ahb.scala 355:16] - io.ahb_hburst <= UInt<1>("h00") @[axi4_to_ahb.scala 357:17] - io.ahb_hmastlock <= UInt<1>("h00") @[axi4_to_ahb.scala 358:20] - node _T_585 = bits(io.axi_arprot, 2, 2) @[axi4_to_ahb.scala 359:47] - node _T_586 = not(_T_585) @[axi4_to_ahb.scala 359:33] + node _T_584 = mux(_T_573, _T_578, _T_583) @[axi4_to_ahb.scala 354:22] + io.ahb_hsize <= _T_584 @[axi4_to_ahb.scala 354:16] + io.ahb_hburst <= UInt<1>("h00") @[axi4_to_ahb.scala 356:17] + io.ahb_hmastlock <= UInt<1>("h00") @[axi4_to_ahb.scala 357:20] + node _T_585 = bits(io.axi_arprot, 2, 2) @[axi4_to_ahb.scala 358:47] + node _T_586 = not(_T_585) @[axi4_to_ahb.scala 358:33] node _T_587 = cat(UInt<1>("h01"), _T_586) @[Cat.scala 29:58] - io.ahb_hprot <= _T_587 @[axi4_to_ahb.scala 359:16] - node _T_588 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 360:40] - node _T_589 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 360:55] - node _T_590 = eq(_T_589, UInt<1>("h01")) @[axi4_to_ahb.scala 360:62] - node _T_591 = mux(_T_588, _T_590, buf_write) @[axi4_to_ahb.scala 360:23] - io.ahb_hwrite <= _T_591 @[axi4_to_ahb.scala 360:17] - node _T_592 = bits(buf_data, 63, 0) @[axi4_to_ahb.scala 361:28] - io.ahb_hwdata <= _T_592 @[axi4_to_ahb.scala 361:17] - slave_valid <= slave_valid_pre @[axi4_to_ahb.scala 363:15] - node _T_593 = bits(slvbuf_write, 0, 0) @[axi4_to_ahb.scala 364:43] - node _T_594 = mux(_T_593, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 364:23] + io.ahb_hprot <= _T_587 @[axi4_to_ahb.scala 358:16] + node _T_588 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 359:40] + node _T_589 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 359:55] + node _T_590 = eq(_T_589, UInt<1>("h01")) @[axi4_to_ahb.scala 359:62] + node _T_591 = mux(_T_588, _T_590, buf_write) @[axi4_to_ahb.scala 359:23] + io.ahb_hwrite <= _T_591 @[axi4_to_ahb.scala 359:17] + node _T_592 = bits(buf_data, 63, 0) @[axi4_to_ahb.scala 360:28] + io.ahb_hwdata <= _T_592 @[axi4_to_ahb.scala 360:17] + slave_valid <= slave_valid_pre @[axi4_to_ahb.scala 362:15] + node _T_593 = bits(slvbuf_write, 0, 0) @[axi4_to_ahb.scala 363:43] + node _T_594 = mux(_T_593, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 363:23] node _T_595 = bits(slvbuf_error, 0, 0) @[Bitwise.scala 72:15] node _T_596 = mux(_T_595, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12] - node _T_597 = and(_T_596, UInt<2>("h02")) @[axi4_to_ahb.scala 364:88] + node _T_597 = and(_T_596, UInt<2>("h02")) @[axi4_to_ahb.scala 363:88] node _T_598 = cat(_T_594, _T_597) @[Cat.scala 29:58] - slave_opc <= _T_598 @[axi4_to_ahb.scala 364:13] - node _T_599 = bits(slvbuf_error, 0, 0) @[axi4_to_ahb.scala 365:41] - node _T_600 = bits(last_bus_addr, 31, 0) @[axi4_to_ahb.scala 365:66] + slave_opc <= _T_598 @[axi4_to_ahb.scala 363:13] + node _T_599 = bits(slvbuf_error, 0, 0) @[axi4_to_ahb.scala 364:41] + node _T_600 = bits(last_bus_addr, 31, 0) @[axi4_to_ahb.scala 364:66] node _T_601 = cat(_T_600, _T_600) @[Cat.scala 29:58] - node _T_602 = eq(buf_state, UInt<3>("h05")) @[axi4_to_ahb.scala 365:91] - node _T_603 = bits(buf_data, 63, 0) @[axi4_to_ahb.scala 365:110] - node _T_604 = bits(ahb_hrdata_q, 63, 0) @[axi4_to_ahb.scala 365:131] - node _T_605 = mux(_T_602, _T_603, _T_604) @[axi4_to_ahb.scala 365:79] - node _T_606 = mux(_T_599, _T_601, _T_605) @[axi4_to_ahb.scala 365:21] - slave_rdata <= _T_606 @[axi4_to_ahb.scala 365:15] - node _T_607 = bits(slvbuf_tag, 0, 0) @[axi4_to_ahb.scala 366:26] - slave_tag <= _T_607 @[axi4_to_ahb.scala 366:13] - node _T_608 = bits(io.ahb_htrans, 1, 0) @[axi4_to_ahb.scala 368:33] - node _T_609 = neq(_T_608, UInt<1>("h00")) @[axi4_to_ahb.scala 368:40] - node _T_610 = and(_T_609, io.ahb_hready) @[axi4_to_ahb.scala 368:52] - node _T_611 = and(_T_610, io.ahb_hwrite) @[axi4_to_ahb.scala 368:68] - last_addr_en <= _T_611 @[axi4_to_ahb.scala 368:16] - node _T_612 = and(io.axi_awvalid, io.axi_awready) @[axi4_to_ahb.scala 370:30] - node _T_613 = and(_T_612, master_ready) @[axi4_to_ahb.scala 370:47] - wrbuf_en <= _T_613 @[axi4_to_ahb.scala 370:12] - node _T_614 = and(io.axi_wvalid, io.axi_wready) @[axi4_to_ahb.scala 371:34] - node _T_615 = and(_T_614, master_ready) @[axi4_to_ahb.scala 371:50] - wrbuf_data_en <= _T_615 @[axi4_to_ahb.scala 371:17] - node _T_616 = and(master_valid, master_ready) @[axi4_to_ahb.scala 372:34] - node _T_617 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 372:62] - node _T_618 = eq(_T_617, UInt<1>("h01")) @[axi4_to_ahb.scala 372:69] - node _T_619 = and(_T_616, _T_618) @[axi4_to_ahb.scala 372:49] - wrbuf_cmd_sent <= _T_619 @[axi4_to_ahb.scala 372:18] - node _T_620 = eq(wrbuf_en, UInt<1>("h00")) @[axi4_to_ahb.scala 373:33] - node _T_621 = and(wrbuf_cmd_sent, _T_620) @[axi4_to_ahb.scala 373:31] - wrbuf_rst <= _T_621 @[axi4_to_ahb.scala 373:13] - node _T_622 = eq(wrbuf_cmd_sent, UInt<1>("h00")) @[axi4_to_ahb.scala 375:35] - node _T_623 = and(wrbuf_vld, _T_622) @[axi4_to_ahb.scala 375:33] - node _T_624 = eq(_T_623, UInt<1>("h00")) @[axi4_to_ahb.scala 375:21] - node _T_625 = and(_T_624, master_ready) @[axi4_to_ahb.scala 375:52] - io.axi_awready <= _T_625 @[axi4_to_ahb.scala 375:18] - node _T_626 = eq(wrbuf_cmd_sent, UInt<1>("h00")) @[axi4_to_ahb.scala 376:39] - node _T_627 = and(wrbuf_data_vld, _T_626) @[axi4_to_ahb.scala 376:37] - node _T_628 = eq(_T_627, UInt<1>("h00")) @[axi4_to_ahb.scala 376:20] - node _T_629 = and(_T_628, master_ready) @[axi4_to_ahb.scala 376:56] - io.axi_wready <= _T_629 @[axi4_to_ahb.scala 376:17] - node _T_630 = and(wrbuf_vld, wrbuf_data_vld) @[axi4_to_ahb.scala 377:33] - node _T_631 = eq(_T_630, UInt<1>("h00")) @[axi4_to_ahb.scala 377:21] - node _T_632 = and(_T_631, master_ready) @[axi4_to_ahb.scala 377:51] - io.axi_arready <= _T_632 @[axi4_to_ahb.scala 377:18] - io.axi_rlast <= UInt<1>("h01") @[axi4_to_ahb.scala 378:16] - node _T_633 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 381:68] - node _T_634 = mux(_T_633, UInt<1>("h01"), wrbuf_vld) @[axi4_to_ahb.scala 381:52] - node _T_635 = eq(wrbuf_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 381:88] - node _T_636 = and(_T_634, _T_635) @[axi4_to_ahb.scala 381:86] - reg _T_637 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 381:48] - _T_637 <= _T_636 @[axi4_to_ahb.scala 381:48] - wrbuf_vld <= _T_637 @[axi4_to_ahb.scala 381:18] - node _T_638 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 382:73] - node _T_639 = mux(_T_638, UInt<1>("h01"), wrbuf_data_vld) @[axi4_to_ahb.scala 382:52] - node _T_640 = eq(wrbuf_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 382:99] - node _T_641 = and(_T_639, _T_640) @[axi4_to_ahb.scala 382:97] - reg _T_642 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 382:48] - _T_642 <= _T_641 @[axi4_to_ahb.scala 382:48] - wrbuf_data_vld <= _T_642 @[axi4_to_ahb.scala 382:18] - node _T_643 = bits(io.axi_awid, 0, 0) @[axi4_to_ahb.scala 384:57] - node _T_644 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 384:91] + node _T_602 = eq(buf_state, UInt<3>("h05")) @[axi4_to_ahb.scala 364:91] + node _T_603 = bits(buf_data, 63, 0) @[axi4_to_ahb.scala 364:110] + node _T_604 = bits(ahb_hrdata_q, 63, 0) @[axi4_to_ahb.scala 364:131] + node _T_605 = mux(_T_602, _T_603, _T_604) @[axi4_to_ahb.scala 364:79] + node _T_606 = mux(_T_599, _T_601, _T_605) @[axi4_to_ahb.scala 364:21] + slave_rdata <= _T_606 @[axi4_to_ahb.scala 364:15] + node _T_607 = bits(slvbuf_tag, 0, 0) @[axi4_to_ahb.scala 365:26] + slave_tag <= _T_607 @[axi4_to_ahb.scala 365:13] + node _T_608 = bits(io.ahb_htrans, 1, 0) @[axi4_to_ahb.scala 367:33] + node _T_609 = neq(_T_608, UInt<1>("h00")) @[axi4_to_ahb.scala 367:40] + node _T_610 = and(_T_609, io.ahb_hready) @[axi4_to_ahb.scala 367:52] + node _T_611 = and(_T_610, io.ahb_hwrite) @[axi4_to_ahb.scala 367:68] + last_addr_en <= _T_611 @[axi4_to_ahb.scala 367:16] + node _T_612 = and(io.axi_awvalid, io.axi_awready) @[axi4_to_ahb.scala 369:30] + node _T_613 = and(_T_612, master_ready) @[axi4_to_ahb.scala 369:47] + wrbuf_en <= _T_613 @[axi4_to_ahb.scala 369:12] + node _T_614 = and(io.axi_wvalid, io.axi_wready) @[axi4_to_ahb.scala 370:34] + node _T_615 = and(_T_614, master_ready) @[axi4_to_ahb.scala 370:50] + wrbuf_data_en <= _T_615 @[axi4_to_ahb.scala 370:17] + node _T_616 = and(master_valid, master_ready) @[axi4_to_ahb.scala 371:34] + node _T_617 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 371:62] + node _T_618 = eq(_T_617, UInt<1>("h01")) @[axi4_to_ahb.scala 371:69] + node _T_619 = and(_T_616, _T_618) @[axi4_to_ahb.scala 371:49] + wrbuf_cmd_sent <= _T_619 @[axi4_to_ahb.scala 371:18] + node _T_620 = eq(wrbuf_en, UInt<1>("h00")) @[axi4_to_ahb.scala 372:33] + node _T_621 = and(wrbuf_cmd_sent, _T_620) @[axi4_to_ahb.scala 372:31] + wrbuf_rst <= _T_621 @[axi4_to_ahb.scala 372:13] + node _T_622 = eq(wrbuf_cmd_sent, UInt<1>("h00")) @[axi4_to_ahb.scala 374:35] + node _T_623 = and(wrbuf_vld, _T_622) @[axi4_to_ahb.scala 374:33] + node _T_624 = eq(_T_623, UInt<1>("h00")) @[axi4_to_ahb.scala 374:21] + node _T_625 = and(_T_624, master_ready) @[axi4_to_ahb.scala 374:52] + io.axi_awready <= _T_625 @[axi4_to_ahb.scala 374:18] + node _T_626 = eq(wrbuf_cmd_sent, UInt<1>("h00")) @[axi4_to_ahb.scala 375:39] + node _T_627 = and(wrbuf_data_vld, _T_626) @[axi4_to_ahb.scala 375:37] + node _T_628 = eq(_T_627, UInt<1>("h00")) @[axi4_to_ahb.scala 375:20] + node _T_629 = and(_T_628, master_ready) @[axi4_to_ahb.scala 375:56] + io.axi_wready <= _T_629 @[axi4_to_ahb.scala 375:17] + node _T_630 = and(wrbuf_vld, wrbuf_data_vld) @[axi4_to_ahb.scala 376:33] + node _T_631 = eq(_T_630, UInt<1>("h00")) @[axi4_to_ahb.scala 376:21] + node _T_632 = and(_T_631, master_ready) @[axi4_to_ahb.scala 376:51] + io.axi_arready <= _T_632 @[axi4_to_ahb.scala 376:18] + io.axi_rlast <= UInt<1>("h01") @[axi4_to_ahb.scala 377:16] + node _T_633 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 380:68] + node _T_634 = mux(_T_633, UInt<1>("h01"), wrbuf_vld) @[axi4_to_ahb.scala 380:52] + node _T_635 = eq(wrbuf_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 380:88] + node _T_636 = and(_T_634, _T_635) @[axi4_to_ahb.scala 380:86] + reg _T_637 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 380:48] + _T_637 <= _T_636 @[axi4_to_ahb.scala 380:48] + wrbuf_vld <= _T_637 @[axi4_to_ahb.scala 380:18] + node _T_638 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 381:73] + node _T_639 = mux(_T_638, UInt<1>("h01"), wrbuf_data_vld) @[axi4_to_ahb.scala 381:52] + node _T_640 = eq(wrbuf_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 381:99] + node _T_641 = and(_T_639, _T_640) @[axi4_to_ahb.scala 381:97] + reg _T_642 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 381:48] + _T_642 <= _T_641 @[axi4_to_ahb.scala 381:48] + wrbuf_data_vld <= _T_642 @[axi4_to_ahb.scala 381:18] + node _T_643 = bits(io.axi_awid, 0, 0) @[axi4_to_ahb.scala 383:57] + node _T_644 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 383:91] reg _T_645 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_644 : @[Reg.scala 28:19] _T_645 <= _T_643 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - wrbuf_tag <= _T_645 @[axi4_to_ahb.scala 384:13] - node _T_646 = bits(io.axi_awsize, 2, 0) @[axi4_to_ahb.scala 385:60] - node _T_647 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 385:88] + wrbuf_tag <= _T_645 @[axi4_to_ahb.scala 383:13] + node _T_646 = bits(io.axi_awsize, 2, 0) @[axi4_to_ahb.scala 384:60] + node _T_647 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 384:88] reg _T_648 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_647 : @[Reg.scala 28:19] _T_648 <= _T_646 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - wrbuf_size <= _T_648 @[axi4_to_ahb.scala 385:14] - node _T_649 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 387:48] + wrbuf_size <= _T_648 @[axi4_to_ahb.scala 384:14] + node _T_649 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 386:48] inst rvclkhdr_2 of rvclkhdr_2 @[el2_lib.scala 508:23] rvclkhdr_2.clock <= clock rvclkhdr_2.reset <= reset @@ -1245,8 +1245,8 @@ circuit axi4_to_ahb : rvclkhdr_2.io.scan_mode <= io.scan_mode @[el2_lib.scala 512:24] reg _T_650 : UInt, rvclkhdr_2.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[el2_lib.scala 514:16] _T_650 <= io.axi_awaddr @[el2_lib.scala 514:16] - wrbuf_addr <= _T_650 @[axi4_to_ahb.scala 387:14] - node _T_651 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 388:52] + wrbuf_addr <= _T_650 @[axi4_to_ahb.scala 386:14] + node _T_651 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 387:52] inst rvclkhdr_3 of rvclkhdr_3 @[el2_lib.scala 508:23] rvclkhdr_3.clock <= clock rvclkhdr_3.reset <= reset @@ -1255,37 +1255,37 @@ circuit axi4_to_ahb : rvclkhdr_3.io.scan_mode <= io.scan_mode @[el2_lib.scala 512:24] reg _T_652 : UInt, rvclkhdr_3.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[el2_lib.scala 514:16] _T_652 <= io.axi_wdata @[el2_lib.scala 514:16] - wrbuf_data <= _T_652 @[axi4_to_ahb.scala 388:14] - node _T_653 = bits(io.axi_wstrb, 7, 0) @[axi4_to_ahb.scala 391:27] - node _T_654 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 391:60] + wrbuf_data <= _T_652 @[axi4_to_ahb.scala 387:14] + node _T_653 = bits(io.axi_wstrb, 7, 0) @[axi4_to_ahb.scala 390:27] + node _T_654 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 390:60] reg _T_655 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_654 : @[Reg.scala 28:19] _T_655 <= _T_653 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - wrbuf_byteen <= _T_655 @[axi4_to_ahb.scala 390:16] - node _T_656 = bits(io.ahb_haddr, 31, 0) @[axi4_to_ahb.scala 394:27] - node _T_657 = bits(last_addr_en, 0, 0) @[axi4_to_ahb.scala 394:60] + wrbuf_byteen <= _T_655 @[axi4_to_ahb.scala 389:16] + node _T_656 = bits(io.ahb_haddr, 31, 0) @[axi4_to_ahb.scala 393:27] + node _T_657 = bits(last_addr_en, 0, 0) @[axi4_to_ahb.scala 393:60] reg _T_658 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_657 : @[Reg.scala 28:19] _T_658 <= _T_656 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - last_bus_addr <= _T_658 @[axi4_to_ahb.scala 393:17] - node _T_659 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 402:50] + last_bus_addr <= _T_658 @[axi4_to_ahb.scala 392:17] + node _T_659 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 401:50] reg _T_660 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_659 : @[Reg.scala 28:19] _T_660 <= buf_write_in @[Reg.scala 28:23] skip @[Reg.scala 28:19] - buf_write <= _T_660 @[axi4_to_ahb.scala 401:13] - node _T_661 = bits(buf_tag_in, 0, 0) @[axi4_to_ahb.scala 405:25] - node _T_662 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 405:60] + buf_write <= _T_660 @[axi4_to_ahb.scala 400:13] + node _T_661 = bits(buf_tag_in, 0, 0) @[axi4_to_ahb.scala 404:25] + node _T_662 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 404:60] reg _T_663 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_662 : @[Reg.scala 28:19] _T_663 <= _T_661 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - buf_tag <= _T_663 @[axi4_to_ahb.scala 404:11] - node _T_664 = bits(buf_addr_in, 31, 0) @[axi4_to_ahb.scala 408:33] - node _T_665 = and(buf_wr_en, io.bus_clk_en) @[axi4_to_ahb.scala 408:52] - node _T_666 = bits(_T_665, 0, 0) @[axi4_to_ahb.scala 408:69] + buf_tag <= _T_663 @[axi4_to_ahb.scala 403:11] + node _T_664 = bits(buf_addr_in, 31, 0) @[axi4_to_ahb.scala 407:33] + node _T_665 = and(buf_wr_en, io.bus_clk_en) @[axi4_to_ahb.scala 407:52] + node _T_666 = bits(_T_665, 0, 0) @[axi4_to_ahb.scala 407:69] inst rvclkhdr_4 of rvclkhdr_4 @[el2_lib.scala 508:23] rvclkhdr_4.clock <= clock rvclkhdr_4.reset <= reset @@ -1294,30 +1294,30 @@ circuit axi4_to_ahb : rvclkhdr_4.io.scan_mode <= io.scan_mode @[el2_lib.scala 512:24] reg _T_667 : UInt, rvclkhdr_4.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[el2_lib.scala 514:16] _T_667 <= _T_664 @[el2_lib.scala 514:16] - buf_addr <= _T_667 @[axi4_to_ahb.scala 408:12] - node _T_668 = bits(buf_size_in, 1, 0) @[axi4_to_ahb.scala 411:26] - node _T_669 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 411:55] + buf_addr <= _T_667 @[axi4_to_ahb.scala 407:12] + node _T_668 = bits(buf_size_in, 1, 0) @[axi4_to_ahb.scala 410:26] + node _T_669 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 410:55] reg _T_670 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_669 : @[Reg.scala 28:19] _T_670 <= _T_668 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - buf_size <= _T_670 @[axi4_to_ahb.scala 410:12] - node _T_671 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 414:52] + buf_size <= _T_670 @[axi4_to_ahb.scala 409:12] + node _T_671 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 413:52] reg _T_672 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_671 : @[Reg.scala 28:19] _T_672 <= buf_aligned_in @[Reg.scala 28:23] skip @[Reg.scala 28:19] - buf_aligned <= _T_672 @[axi4_to_ahb.scala 413:15] - node _T_673 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 417:28] - node _T_674 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 417:57] + buf_aligned <= _T_672 @[axi4_to_ahb.scala 412:15] + node _T_673 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 416:28] + node _T_674 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 416:57] reg _T_675 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_674 : @[Reg.scala 28:19] _T_675 <= _T_673 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - buf_byteen <= _T_675 @[axi4_to_ahb.scala 416:14] - node _T_676 = bits(buf_data_in, 63, 0) @[axi4_to_ahb.scala 420:33] - node _T_677 = and(buf_data_wr_en, io.bus_clk_en) @[axi4_to_ahb.scala 420:57] - node _T_678 = bits(_T_677, 0, 0) @[axi4_to_ahb.scala 420:80] + buf_byteen <= _T_675 @[axi4_to_ahb.scala 415:14] + node _T_676 = bits(buf_data_in, 63, 0) @[axi4_to_ahb.scala 419:33] + node _T_677 = and(buf_data_wr_en, io.bus_clk_en) @[axi4_to_ahb.scala 419:57] + node _T_678 = bits(_T_677, 0, 0) @[axi4_to_ahb.scala 419:80] inst rvclkhdr_5 of rvclkhdr_5 @[el2_lib.scala 508:23] rvclkhdr_5.clock <= clock rvclkhdr_5.reset <= reset @@ -1326,96 +1326,96 @@ circuit axi4_to_ahb : rvclkhdr_5.io.scan_mode <= io.scan_mode @[el2_lib.scala 512:24] reg _T_679 : UInt, rvclkhdr_5.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[el2_lib.scala 514:16] _T_679 <= _T_676 @[el2_lib.scala 514:16] - buf_data <= _T_679 @[axi4_to_ahb.scala 420:12] - node _T_680 = bits(slvbuf_wr_en, 0, 0) @[axi4_to_ahb.scala 423:50] + buf_data <= _T_679 @[axi4_to_ahb.scala 419:12] + node _T_680 = bits(slvbuf_wr_en, 0, 0) @[axi4_to_ahb.scala 422:50] reg _T_681 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_680 : @[Reg.scala 28:19] _T_681 <= buf_write @[Reg.scala 28:23] skip @[Reg.scala 28:19] - slvbuf_write <= _T_681 @[axi4_to_ahb.scala 422:16] - node _T_682 = bits(buf_tag, 0, 0) @[axi4_to_ahb.scala 426:22] - node _T_683 = bits(slvbuf_wr_en, 0, 0) @[axi4_to_ahb.scala 426:60] + slvbuf_write <= _T_681 @[axi4_to_ahb.scala 421:16] + node _T_682 = bits(buf_tag, 0, 0) @[axi4_to_ahb.scala 425:22] + node _T_683 = bits(slvbuf_wr_en, 0, 0) @[axi4_to_ahb.scala 425:60] reg _T_684 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_683 : @[Reg.scala 28:19] _T_684 <= _T_682 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - slvbuf_tag <= _T_684 @[axi4_to_ahb.scala 425:14] - node _T_685 = bits(slvbuf_error_en, 0, 0) @[axi4_to_ahb.scala 429:59] + slvbuf_tag <= _T_684 @[axi4_to_ahb.scala 424:14] + node _T_685 = bits(slvbuf_error_en, 0, 0) @[axi4_to_ahb.scala 428:59] reg _T_686 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_685 : @[Reg.scala 28:19] _T_686 <= slvbuf_error_in @[Reg.scala 28:23] skip @[Reg.scala 28:19] - slvbuf_error <= _T_686 @[axi4_to_ahb.scala 428:16] - node _T_687 = bits(cmd_done, 0, 0) @[axi4_to_ahb.scala 433:32] - node _T_688 = mux(_T_687, UInt<1>("h01"), cmd_doneQ) @[axi4_to_ahb.scala 433:16] - node _T_689 = eq(cmd_done_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 433:52] - node _T_690 = and(_T_688, _T_689) @[axi4_to_ahb.scala 433:50] - reg _T_691 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 433:12] - _T_691 <= _T_690 @[axi4_to_ahb.scala 433:12] - cmd_doneQ <= _T_691 @[axi4_to_ahb.scala 432:13] - node _T_692 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 437:31] - node _T_693 = bits(buf_cmd_byte_ptr_en, 0, 0) @[axi4_to_ahb.scala 437:70] + slvbuf_error <= _T_686 @[axi4_to_ahb.scala 427:16] + node _T_687 = bits(cmd_done, 0, 0) @[axi4_to_ahb.scala 432:32] + node _T_688 = mux(_T_687, UInt<1>("h01"), cmd_doneQ) @[axi4_to_ahb.scala 432:16] + node _T_689 = eq(cmd_done_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 432:52] + node _T_690 = and(_T_688, _T_689) @[axi4_to_ahb.scala 432:50] + reg _T_691 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 432:12] + _T_691 <= _T_690 @[axi4_to_ahb.scala 432:12] + cmd_doneQ <= _T_691 @[axi4_to_ahb.scala 431:13] + node _T_692 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 436:31] + node _T_693 = bits(buf_cmd_byte_ptr_en, 0, 0) @[axi4_to_ahb.scala 436:70] reg _T_694 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20] when _T_693 : @[Reg.scala 28:19] _T_694 <= _T_692 @[Reg.scala 28:23] skip @[Reg.scala 28:19] - buf_cmd_byte_ptrQ <= _T_694 @[axi4_to_ahb.scala 436:21] - reg _T_695 : UInt<1>, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 442:12] - _T_695 <= io.ahb_hready @[axi4_to_ahb.scala 442:12] - ahb_hready_q <= _T_695 @[axi4_to_ahb.scala 441:16] - node _T_696 = bits(io.ahb_htrans, 1, 0) @[axi4_to_ahb.scala 445:26] - reg _T_697 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 445:12] - _T_697 <= _T_696 @[axi4_to_ahb.scala 445:12] - ahb_htrans_q <= _T_697 @[axi4_to_ahb.scala 444:16] - reg _T_698 : UInt<1>, ahbm_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 448:12] - _T_698 <= io.ahb_hwrite @[axi4_to_ahb.scala 448:12] - ahb_hwrite_q <= _T_698 @[axi4_to_ahb.scala 447:16] - reg _T_699 : UInt<1>, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 451:12] - _T_699 <= io.ahb_hresp @[axi4_to_ahb.scala 451:12] - ahb_hresp_q <= _T_699 @[axi4_to_ahb.scala 450:15] - node _T_700 = bits(io.ahb_hrdata, 63, 0) @[axi4_to_ahb.scala 454:26] - reg _T_701 : UInt, ahbm_data_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 454:12] - _T_701 <= _T_700 @[axi4_to_ahb.scala 454:12] - ahb_hrdata_q <= _T_701 @[axi4_to_ahb.scala 453:16] - node _T_702 = or(buf_wr_en, slvbuf_wr_en) @[axi4_to_ahb.scala 457:43] - node _T_703 = or(_T_702, io.clk_override) @[axi4_to_ahb.scala 457:58] - node _T_704 = and(io.bus_clk_en, _T_703) @[axi4_to_ahb.scala 457:30] - buf_clken <= _T_704 @[axi4_to_ahb.scala 457:13] - node _T_705 = bits(io.ahb_htrans, 1, 1) @[axi4_to_ahb.scala 458:69] - node _T_706 = and(io.ahb_hready, _T_705) @[axi4_to_ahb.scala 458:54] - node _T_707 = or(_T_706, io.clk_override) @[axi4_to_ahb.scala 458:74] - node _T_708 = and(io.bus_clk_en, _T_707) @[axi4_to_ahb.scala 458:36] - ahbm_addr_clken <= _T_708 @[axi4_to_ahb.scala 458:19] - node _T_709 = neq(buf_state, UInt<3>("h00")) @[axi4_to_ahb.scala 459:50] - node _T_710 = or(_T_709, io.clk_override) @[axi4_to_ahb.scala 459:60] - node _T_711 = and(io.bus_clk_en, _T_710) @[axi4_to_ahb.scala 459:36] - ahbm_data_clken <= _T_711 @[axi4_to_ahb.scala 459:19] + buf_cmd_byte_ptrQ <= _T_694 @[axi4_to_ahb.scala 435:21] + reg _T_695 : UInt<1>, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 441:12] + _T_695 <= io.ahb_hready @[axi4_to_ahb.scala 441:12] + ahb_hready_q <= _T_695 @[axi4_to_ahb.scala 440:16] + node _T_696 = bits(io.ahb_htrans, 1, 0) @[axi4_to_ahb.scala 444:26] + reg _T_697 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 444:12] + _T_697 <= _T_696 @[axi4_to_ahb.scala 444:12] + ahb_htrans_q <= _T_697 @[axi4_to_ahb.scala 443:16] + reg _T_698 : UInt<1>, ahbm_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 447:12] + _T_698 <= io.ahb_hwrite @[axi4_to_ahb.scala 447:12] + ahb_hwrite_q <= _T_698 @[axi4_to_ahb.scala 446:16] + reg _T_699 : UInt<1>, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 450:12] + _T_699 <= io.ahb_hresp @[axi4_to_ahb.scala 450:12] + ahb_hresp_q <= _T_699 @[axi4_to_ahb.scala 449:15] + node _T_700 = bits(io.ahb_hrdata, 63, 0) @[axi4_to_ahb.scala 453:26] + reg _T_701 : UInt, ahbm_data_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 453:12] + _T_701 <= _T_700 @[axi4_to_ahb.scala 453:12] + ahb_hrdata_q <= _T_701 @[axi4_to_ahb.scala 452:16] + node _T_702 = or(buf_wr_en, slvbuf_wr_en) @[axi4_to_ahb.scala 456:43] + node _T_703 = or(_T_702, io.clk_override) @[axi4_to_ahb.scala 456:58] + node _T_704 = and(io.bus_clk_en, _T_703) @[axi4_to_ahb.scala 456:30] + buf_clken <= _T_704 @[axi4_to_ahb.scala 456:13] + node _T_705 = bits(io.ahb_htrans, 1, 1) @[axi4_to_ahb.scala 457:69] + node _T_706 = and(io.ahb_hready, _T_705) @[axi4_to_ahb.scala 457:54] + node _T_707 = or(_T_706, io.clk_override) @[axi4_to_ahb.scala 457:74] + node _T_708 = and(io.bus_clk_en, _T_707) @[axi4_to_ahb.scala 457:36] + ahbm_addr_clken <= _T_708 @[axi4_to_ahb.scala 457:19] + node _T_709 = neq(buf_state, UInt<3>("h00")) @[axi4_to_ahb.scala 458:50] + node _T_710 = or(_T_709, io.clk_override) @[axi4_to_ahb.scala 458:60] + node _T_711 = and(io.bus_clk_en, _T_710) @[axi4_to_ahb.scala 458:36] + ahbm_data_clken <= _T_711 @[axi4_to_ahb.scala 458:19] inst rvclkhdr_6 of rvclkhdr_6 @[el2_lib.scala 483:22] rvclkhdr_6.clock <= clock rvclkhdr_6.reset <= reset rvclkhdr_6.io.clk <= clock @[el2_lib.scala 484:17] rvclkhdr_6.io.en <= buf_clken @[el2_lib.scala 485:16] rvclkhdr_6.io.scan_mode <= io.scan_mode @[el2_lib.scala 486:23] - buf_clk <= rvclkhdr_6.io.l1clk @[axi4_to_ahb.scala 462:12] + buf_clk <= rvclkhdr_6.io.l1clk @[axi4_to_ahb.scala 461:12] inst rvclkhdr_7 of rvclkhdr_7 @[el2_lib.scala 483:22] rvclkhdr_7.clock <= clock rvclkhdr_7.reset <= reset rvclkhdr_7.io.clk <= clock @[el2_lib.scala 484:17] rvclkhdr_7.io.en <= io.bus_clk_en @[el2_lib.scala 485:16] rvclkhdr_7.io.scan_mode <= io.scan_mode @[el2_lib.scala 486:23] - ahbm_clk <= rvclkhdr_7.io.l1clk @[axi4_to_ahb.scala 463:12] + ahbm_clk <= rvclkhdr_7.io.l1clk @[axi4_to_ahb.scala 462:12] inst rvclkhdr_8 of rvclkhdr_8 @[el2_lib.scala 483:22] rvclkhdr_8.clock <= clock rvclkhdr_8.reset <= reset rvclkhdr_8.io.clk <= clock @[el2_lib.scala 484:17] rvclkhdr_8.io.en <= ahbm_addr_clken @[el2_lib.scala 485:16] rvclkhdr_8.io.scan_mode <= io.scan_mode @[el2_lib.scala 486:23] - ahbm_addr_clk <= rvclkhdr_8.io.l1clk @[axi4_to_ahb.scala 464:17] + ahbm_addr_clk <= rvclkhdr_8.io.l1clk @[axi4_to_ahb.scala 463:17] inst rvclkhdr_9 of rvclkhdr_9 @[el2_lib.scala 483:22] rvclkhdr_9.clock <= clock rvclkhdr_9.reset <= reset rvclkhdr_9.io.clk <= clock @[el2_lib.scala 484:17] rvclkhdr_9.io.en <= ahbm_data_clken @[el2_lib.scala 485:16] rvclkhdr_9.io.scan_mode <= io.scan_mode @[el2_lib.scala 486:23] - ahbm_data_clk <= rvclkhdr_9.io.l1clk @[axi4_to_ahb.scala 465:17] + ahbm_data_clk <= rvclkhdr_9.io.l1clk @[axi4_to_ahb.scala 464:17] diff --git a/axi4_to_ahb.v b/axi4_to_ahb.v index 3a56ab8e..d517a4b7 100644 --- a/axi4_to_ahb.v +++ b/axi4_to_ahb.v @@ -132,31 +132,31 @@ module axi4_to_ahb( wire rvclkhdr_9_io_clk; // @[el2_lib.scala 483:22] wire rvclkhdr_9_io_en; // @[el2_lib.scala 483:22] wire rvclkhdr_9_io_scan_mode; // @[el2_lib.scala 483:22] - wire ahbm_clk = rvclkhdr_7_io_l1clk; // @[axi4_to_ahb.scala 62:22 axi4_to_ahb.scala 463:12] + wire ahbm_clk = rvclkhdr_7_io_l1clk; // @[axi4_to_ahb.scala 62:22 axi4_to_ahb.scala 462:12] reg [2:0] buf_state; // @[axi4_to_ahb.scala 68:45] wire _T_47 = 3'h0 == buf_state; // @[Conditional.scala 37:30] - wire bus_clk = rvclkhdr_io_l1clk; // @[axi4_to_ahb.scala 88:21 axi4_to_ahb.scala 220:11] - reg wrbuf_vld; // @[axi4_to_ahb.scala 381:48] - reg wrbuf_data_vld; // @[axi4_to_ahb.scala 382:48] - wire wr_cmd_vld = wrbuf_vld & wrbuf_data_vld; // @[axi4_to_ahb.scala 197:27] - wire master_valid = wr_cmd_vld | io_axi_arvalid; // @[axi4_to_ahb.scala 198:30] + wire bus_clk = rvclkhdr_io_l1clk; // @[axi4_to_ahb.scala 88:21 axi4_to_ahb.scala 219:11] + reg wrbuf_vld; // @[axi4_to_ahb.scala 380:48] + reg wrbuf_data_vld; // @[axi4_to_ahb.scala 381:48] + wire wr_cmd_vld = wrbuf_vld & wrbuf_data_vld; // @[axi4_to_ahb.scala 196:27] + wire master_valid = wr_cmd_vld | io_axi_arvalid; // @[axi4_to_ahb.scala 197:30] wire _T_99 = 3'h1 == buf_state; // @[Conditional.scala 37:30] - reg ahb_hready_q; // @[axi4_to_ahb.scala 442:12] - reg [1:0] ahb_htrans_q; // @[axi4_to_ahb.scala 445:12] - wire _T_106 = ahb_htrans_q != 2'h0; // @[axi4_to_ahb.scala 260:58] - wire _T_107 = ahb_hready_q & _T_106; // @[axi4_to_ahb.scala 260:36] - wire ahbm_addr_clk = rvclkhdr_8_io_l1clk; // @[axi4_to_ahb.scala 63:27 axi4_to_ahb.scala 464:17] - reg ahb_hwrite_q; // @[axi4_to_ahb.scala 448:12] - wire _T_108 = ~ahb_hwrite_q; // @[axi4_to_ahb.scala 260:72] - wire _T_109 = _T_107 & _T_108; // @[axi4_to_ahb.scala 260:70] + reg ahb_hready_q; // @[axi4_to_ahb.scala 441:12] + reg [1:0] ahb_htrans_q; // @[axi4_to_ahb.scala 444:12] + wire _T_106 = ahb_htrans_q != 2'h0; // @[axi4_to_ahb.scala 259:58] + wire _T_107 = ahb_hready_q & _T_106; // @[axi4_to_ahb.scala 259:36] + wire ahbm_addr_clk = rvclkhdr_8_io_l1clk; // @[axi4_to_ahb.scala 63:27 axi4_to_ahb.scala 463:17] + reg ahb_hwrite_q; // @[axi4_to_ahb.scala 447:12] + wire _T_108 = ~ahb_hwrite_q; // @[axi4_to_ahb.scala 259:72] + wire _T_109 = _T_107 & _T_108; // @[axi4_to_ahb.scala 259:70] wire _T_134 = 3'h6 == buf_state; // @[Conditional.scala 37:30] - reg ahb_hresp_q; // @[axi4_to_ahb.scala 451:12] - wire _T_154 = ahb_hready_q | ahb_hresp_q; // @[axi4_to_ahb.scala 274:37] + reg ahb_hresp_q; // @[axi4_to_ahb.scala 450:12] + wire _T_154 = ahb_hready_q | ahb_hresp_q; // @[axi4_to_ahb.scala 273:37] wire _T_173 = 3'h7 == buf_state; // @[Conditional.scala 37:30] wire _T_184 = 3'h3 == buf_state; // @[Conditional.scala 37:30] wire _T_186 = 3'h2 == buf_state; // @[Conditional.scala 37:30] - wire _T_187 = ahb_hready_q & ahb_hwrite_q; // @[axi4_to_ahb.scala 306:33] - wire _T_190 = _T_187 & _T_106; // @[axi4_to_ahb.scala 306:48] + wire _T_187 = ahb_hready_q & ahb_hwrite_q; // @[axi4_to_ahb.scala 305:33] + wire _T_190 = _T_187 & _T_106; // @[axi4_to_ahb.scala 305:48] wire _T_279 = 3'h4 == buf_state; // @[Conditional.scala 37:30] wire _GEN_15 = _T_279 & _T_190; // @[Conditional.scala 39:67] wire _GEN_19 = _T_186 ? _T_190 : _GEN_15; // @[Conditional.scala 39:67] @@ -165,11 +165,11 @@ module axi4_to_ahb( wire _GEN_79 = _T_134 ? 1'h0 : _GEN_59; // @[Conditional.scala 39:67] wire _GEN_95 = _T_99 ? 1'h0 : _GEN_79; // @[Conditional.scala 39:67] wire trxn_done = _T_47 ? 1'h0 : _GEN_95; // @[Conditional.scala 40:58] - reg cmd_doneQ; // @[axi4_to_ahb.scala 433:12] - wire _T_280 = cmd_doneQ & ahb_hready_q; // @[axi4_to_ahb.scala 316:34] - wire _T_281 = _T_280 | ahb_hresp_q; // @[axi4_to_ahb.scala 316:50] + reg cmd_doneQ; // @[axi4_to_ahb.scala 432:12] + wire _T_280 = cmd_doneQ & ahb_hready_q; // @[axi4_to_ahb.scala 315:34] + wire _T_281 = _T_280 | ahb_hresp_q; // @[axi4_to_ahb.scala 315:50] wire _T_441 = 3'h5 == buf_state; // @[Conditional.scala 37:30] - wire slave_ready = io_axi_bready & io_axi_rready; // @[axi4_to_ahb.scala 215:32] + wire slave_ready = io_axi_bready & io_axi_rready; // @[axi4_to_ahb.scala 214:32] wire _GEN_1 = _T_441 & slave_ready; // @[Conditional.scala 39:67] wire _GEN_3 = _T_279 ? _T_281 : _GEN_1; // @[Conditional.scala 39:67] wire _GEN_20 = _T_186 ? trxn_done : _GEN_3; // @[Conditional.scala 39:67] @@ -178,9 +178,9 @@ module axi4_to_ahb( wire _GEN_69 = _T_134 ? _T_154 : _GEN_51; // @[Conditional.scala 39:67] wire _GEN_83 = _T_99 ? _T_109 : _GEN_69; // @[Conditional.scala 39:67] wire buf_state_en = _T_47 ? master_valid : _GEN_83; // @[Conditional.scala 40:58] - wire [1:0] _T_12 = wr_cmd_vld ? 2'h3 : 2'h0; // @[axi4_to_ahb.scala 200:20] - wire [2:0] master_opc = {{1'd0}, _T_12}; // @[axi4_to_ahb.scala 200:14] - wire _T_49 = master_opc[2:1] == 2'h1; // @[axi4_to_ahb.scala 245:41] + wire [1:0] _T_12 = wr_cmd_vld ? 2'h3 : 2'h0; // @[axi4_to_ahb.scala 199:20] + wire [2:0] master_opc = {{1'd0}, _T_12}; // @[axi4_to_ahb.scala 199:14] + wire _T_49 = master_opc[2:1] == 2'h1; // @[axi4_to_ahb.scala 244:41] wire _GEN_8 = _T_279 & _T_49; // @[Conditional.scala 39:67] wire _GEN_29 = _T_186 ? 1'h0 : _GEN_8; // @[Conditional.scala 39:67] wire _GEN_46 = _T_184 ? 1'h0 : _GEN_29; // @[Conditional.scala 39:67] @@ -188,19 +188,19 @@ module axi4_to_ahb( wire _GEN_81 = _T_134 ? 1'h0 : _GEN_63; // @[Conditional.scala 39:67] wire _GEN_97 = _T_99 ? 1'h0 : _GEN_81; // @[Conditional.scala 39:67] wire buf_write_in = _T_47 ? _T_49 : _GEN_97; // @[Conditional.scala 40:58] - wire [2:0] _T_51 = buf_write_in ? 3'h2 : 3'h1; // @[axi4_to_ahb.scala 246:26] - wire _T_101 = master_opc == 3'h0; // @[axi4_to_ahb.scala 259:61] - wire _T_102 = master_valid & _T_101; // @[axi4_to_ahb.scala 259:41] - wire [2:0] _T_104 = _T_102 ? 3'h6 : 3'h3; // @[axi4_to_ahb.scala 259:26] - wire _T_122 = _T_104 == 3'h6; // @[axi4_to_ahb.scala 263:174] - wire _T_123 = _T_109 & _T_122; // @[axi4_to_ahb.scala 263:88] - wire _T_135 = ~ahb_hresp_q; // @[axi4_to_ahb.scala 271:39] - wire _T_136 = ahb_hready_q & _T_135; // @[axi4_to_ahb.scala 271:37] - wire _T_139 = master_valid & _T_49; // @[axi4_to_ahb.scala 271:70] - wire _T_140 = ~_T_139; // @[axi4_to_ahb.scala 271:55] - wire _T_141 = _T_136 & _T_140; // @[axi4_to_ahb.scala 271:53] - wire _T_285 = _T_281 & _T_135; // @[axi4_to_ahb.scala 317:66] - wire _T_286 = _T_285 & slave_ready; // @[axi4_to_ahb.scala 317:81] + wire [2:0] _T_51 = buf_write_in ? 3'h2 : 3'h1; // @[axi4_to_ahb.scala 245:26] + wire _T_101 = master_opc == 3'h0; // @[axi4_to_ahb.scala 258:61] + wire _T_102 = master_valid & _T_101; // @[axi4_to_ahb.scala 258:41] + wire [2:0] _T_104 = _T_102 ? 3'h6 : 3'h3; // @[axi4_to_ahb.scala 258:26] + wire _T_122 = _T_104 == 3'h6; // @[axi4_to_ahb.scala 262:174] + wire _T_123 = _T_109 & _T_122; // @[axi4_to_ahb.scala 262:88] + wire _T_135 = ~ahb_hresp_q; // @[axi4_to_ahb.scala 270:39] + wire _T_136 = ahb_hready_q & _T_135; // @[axi4_to_ahb.scala 270:37] + wire _T_139 = master_valid & _T_49; // @[axi4_to_ahb.scala 270:70] + wire _T_140 = ~_T_139; // @[axi4_to_ahb.scala 270:55] + wire _T_141 = _T_136 & _T_140; // @[axi4_to_ahb.scala 270:53] + wire _T_285 = _T_281 & _T_135; // @[axi4_to_ahb.scala 316:66] + wire _T_286 = _T_285 & slave_ready; // @[axi4_to_ahb.scala 316:81] wire _GEN_4 = _T_279 & _T_286; // @[Conditional.scala 39:67] wire _GEN_26 = _T_186 ? 1'h0 : _GEN_4; // @[Conditional.scala 39:67] wire _GEN_45 = _T_184 ? 1'h0 : _GEN_26; // @[Conditional.scala 39:67] @@ -208,15 +208,15 @@ module axi4_to_ahb( wire _GEN_66 = _T_134 ? _T_141 : _GEN_62; // @[Conditional.scala 39:67] wire _GEN_86 = _T_99 ? _T_123 : _GEN_66; // @[Conditional.scala 39:67] wire master_ready = _T_47 | _GEN_86; // @[Conditional.scala 40:58] - wire _T_147 = master_valid & master_ready; // @[axi4_to_ahb.scala 273:82] - wire _T_150 = _T_147 & _T_101; // @[axi4_to_ahb.scala 273:97] - wire [2:0] _T_152 = _T_150 ? 3'h6 : 3'h3; // @[axi4_to_ahb.scala 273:67] - wire [2:0] _T_153 = ahb_hresp_q ? 3'h7 : _T_152; // @[axi4_to_ahb.scala 273:26] - wire _T_287 = ~slave_ready; // @[axi4_to_ahb.scala 318:42] - wire _T_288 = ahb_hresp_q | _T_287; // @[axi4_to_ahb.scala 318:40] - wire [2:0] _T_294 = _T_49 ? 3'h2 : 3'h1; // @[axi4_to_ahb.scala 318:119] - wire [2:0] _T_295 = _T_147 ? _T_294 : 3'h0; // @[axi4_to_ahb.scala 318:75] - wire [2:0] _T_296 = _T_288 ? 3'h5 : _T_295; // @[axi4_to_ahb.scala 318:26] + wire _T_147 = master_valid & master_ready; // @[axi4_to_ahb.scala 272:82] + wire _T_150 = _T_147 & _T_101; // @[axi4_to_ahb.scala 272:97] + wire [2:0] _T_152 = _T_150 ? 3'h6 : 3'h3; // @[axi4_to_ahb.scala 272:67] + wire [2:0] _T_153 = ahb_hresp_q ? 3'h7 : _T_152; // @[axi4_to_ahb.scala 272:26] + wire _T_287 = ~slave_ready; // @[axi4_to_ahb.scala 317:42] + wire _T_288 = ahb_hresp_q | _T_287; // @[axi4_to_ahb.scala 317:40] + wire [2:0] _T_294 = _T_49 ? 3'h2 : 3'h1; // @[axi4_to_ahb.scala 317:119] + wire [2:0] _T_295 = _T_147 ? _T_294 : 3'h0; // @[axi4_to_ahb.scala 317:75] + wire [2:0] _T_296 = _T_288 ? 3'h5 : _T_295; // @[axi4_to_ahb.scala 317:26] wire [2:0] _GEN_5 = _T_279 ? _T_296 : 3'h0; // @[Conditional.scala 39:67] wire [2:0] _GEN_18 = _T_186 ? 3'h4 : _GEN_5; // @[Conditional.scala 39:67] wire [2:0] _GEN_34 = _T_184 ? 3'h5 : _GEN_18; // @[Conditional.scala 39:67] @@ -227,14 +227,14 @@ module axi4_to_ahb( wire [2:0] _T_1 = buf_state_en ? buf_nxtstate : buf_state; // @[axi4_to_ahb.scala 68:49] reg wrbuf_tag; // @[Reg.scala 27:20] reg [31:0] wrbuf_addr; // @[el2_lib.scala 514:16] - wire [31:0] master_addr = wr_cmd_vld ? wrbuf_addr : io_axi_araddr; // @[axi4_to_ahb.scala 201:21] + wire [31:0] master_addr = wr_cmd_vld ? wrbuf_addr : io_axi_araddr; // @[axi4_to_ahb.scala 200:21] reg [2:0] wrbuf_size; // @[Reg.scala 27:20] - wire [2:0] master_size = wr_cmd_vld ? wrbuf_size : io_axi_arsize; // @[axi4_to_ahb.scala 202:21] + wire [2:0] master_size = wr_cmd_vld ? wrbuf_size : io_axi_arsize; // @[axi4_to_ahb.scala 201:21] reg [7:0] wrbuf_byteen; // @[Reg.scala 27:20] reg [63:0] wrbuf_data; // @[el2_lib.scala 514:16] - wire _T_156 = buf_state_en & _T_135; // @[axi4_to_ahb.scala 278:39] - wire _T_359 = buf_nxtstate != 3'h5; // @[axi4_to_ahb.scala 327:55] - wire _T_360 = buf_state_en & _T_359; // @[axi4_to_ahb.scala 327:39] + wire _T_156 = buf_state_en & _T_135; // @[axi4_to_ahb.scala 277:39] + wire _T_359 = buf_nxtstate != 3'h5; // @[axi4_to_ahb.scala 326:55] + wire _T_360 = buf_state_en & _T_359; // @[axi4_to_ahb.scala 326:39] wire _GEN_14 = _T_279 ? _T_360 : _T_441; // @[Conditional.scala 39:67] wire _GEN_33 = _T_186 ? 1'h0 : _GEN_14; // @[Conditional.scala 39:67] wire _GEN_49 = _T_184 ? 1'h0 : _GEN_33; // @[Conditional.scala 39:67] @@ -242,29 +242,29 @@ module axi4_to_ahb( wire _GEN_73 = _T_134 ? _T_156 : _GEN_52; // @[Conditional.scala 39:67] wire _GEN_94 = _T_99 ? 1'h0 : _GEN_73; // @[Conditional.scala 39:67] wire slave_valid_pre = _T_47 ? 1'h0 : _GEN_94; // @[Conditional.scala 40:58] - wire _T_23 = slave_valid_pre & slave_ready; // @[axi4_to_ahb.scala 207:32] - wire buf_clk = rvclkhdr_6_io_l1clk; // @[axi4_to_ahb.scala 156:21 axi4_to_ahb.scala 462:12] + wire _T_23 = slave_valid_pre & slave_ready; // @[axi4_to_ahb.scala 206:32] + wire buf_clk = rvclkhdr_6_io_l1clk; // @[axi4_to_ahb.scala 156:21 axi4_to_ahb.scala 461:12] reg slvbuf_write; // @[Reg.scala 27:20] - wire [1:0] _T_594 = slvbuf_write ? 2'h3 : 2'h0; // @[axi4_to_ahb.scala 364:23] + wire [1:0] _T_594 = slvbuf_write ? 2'h3 : 2'h0; // @[axi4_to_ahb.scala 363:23] reg slvbuf_error; // @[Reg.scala 27:20] wire [1:0] _T_596 = slvbuf_error ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] - wire [1:0] _T_597 = _T_596 & 2'h2; // @[axi4_to_ahb.scala 364:88] + wire [1:0] _T_597 = _T_596 & 2'h2; // @[axi4_to_ahb.scala 363:88] wire [3:0] slave_opc = {_T_594,_T_597}; // @[Cat.scala 29:58] - wire [1:0] _T_28 = slave_opc[1] ? 2'h3 : 2'h0; // @[axi4_to_ahb.scala 208:49] + wire [1:0] _T_28 = slave_opc[1] ? 2'h3 : 2'h0; // @[axi4_to_ahb.scala 207:49] reg slvbuf_tag; // @[Reg.scala 27:20] - wire _T_33 = slave_opc[3:2] == 2'h0; // @[axi4_to_ahb.scala 211:65] + wire _T_33 = slave_opc[3:2] == 2'h0; // @[axi4_to_ahb.scala 210:65] reg [31:0] last_bus_addr; // @[Reg.scala 27:20] wire [63:0] _T_601 = {last_bus_addr,last_bus_addr}; // @[Cat.scala 29:58] - wire _T_602 = buf_state == 3'h5; // @[axi4_to_ahb.scala 365:91] + wire _T_602 = buf_state == 3'h5; // @[axi4_to_ahb.scala 364:91] reg [63:0] buf_data; // @[el2_lib.scala 514:16] - wire ahbm_data_clk = rvclkhdr_9_io_l1clk; // @[axi4_to_ahb.scala 64:27 axi4_to_ahb.scala 465:17] - reg [63:0] ahb_hrdata_q; // @[axi4_to_ahb.scala 454:12] - wire [63:0] _T_605 = _T_602 ? buf_data : ahb_hrdata_q; // @[axi4_to_ahb.scala 365:79] - wire _T_42 = io_axi_awvalid & io_axi_awready; // @[axi4_to_ahb.scala 218:56] - wire _T_43 = io_axi_wvalid & io_axi_wready; // @[axi4_to_ahb.scala 218:91] - wire _T_44 = _T_42 | _T_43; // @[axi4_to_ahb.scala 218:74] - wire _T_53 = buf_nxtstate == 3'h2; // @[axi4_to_ahb.scala 249:54] - wire _T_54 = buf_state_en & _T_53; // @[axi4_to_ahb.scala 249:38] + wire ahbm_data_clk = rvclkhdr_9_io_l1clk; // @[axi4_to_ahb.scala 64:27 axi4_to_ahb.scala 464:17] + reg [63:0] ahb_hrdata_q; // @[axi4_to_ahb.scala 453:12] + wire [63:0] _T_605 = _T_602 ? buf_data : ahb_hrdata_q; // @[axi4_to_ahb.scala 364:79] + wire _T_42 = io_axi_awvalid & io_axi_awready; // @[axi4_to_ahb.scala 217:56] + wire _T_43 = io_axi_wvalid & io_axi_wready; // @[axi4_to_ahb.scala 217:91] + wire _T_44 = _T_42 | _T_43; // @[axi4_to_ahb.scala 217:74] + wire _T_53 = buf_nxtstate == 3'h2; // @[axi4_to_ahb.scala 248:54] + wire _T_54 = buf_state_en & _T_53; // @[axi4_to_ahb.scala 248:38] wire [2:0] _T_84 = wrbuf_byteen[7] ? 3'h7 : 3'h0; // @[Mux.scala 98:16] wire [2:0] _T_85 = wrbuf_byteen[6] ? 3'h6 : _T_84; // @[Mux.scala 98:16] wire [2:0] _T_86 = wrbuf_byteen[5] ? 3'h5 : _T_85; // @[Mux.scala 98:16] @@ -273,14 +273,14 @@ module axi4_to_ahb( wire [2:0] _T_89 = wrbuf_byteen[2] ? 3'h2 : _T_88; // @[Mux.scala 98:16] wire [2:0] _T_90 = wrbuf_byteen[1] ? 3'h1 : _T_89; // @[Mux.scala 98:16] wire [2:0] _T_91 = wrbuf_byteen[0] ? 3'h0 : _T_90; // @[Mux.scala 98:16] - wire [2:0] _T_93 = buf_write_in ? _T_91 : master_addr[2:0]; // @[axi4_to_ahb.scala 252:30] - wire _T_94 = buf_nxtstate == 3'h1; // @[axi4_to_ahb.scala 254:51] - wire _T_124 = master_ready & master_valid; // @[axi4_to_ahb.scala 265:33] - wire _T_160 = buf_nxtstate == 3'h6; // @[axi4_to_ahb.scala 280:64] - wire _T_161 = _T_124 & _T_160; // @[axi4_to_ahb.scala 280:48] - wire _T_162 = _T_161 & buf_state_en; // @[axi4_to_ahb.scala 280:79] - wire _T_350 = buf_state_en & buf_write_in; // @[axi4_to_ahb.scala 325:33] - wire _T_352 = _T_350 & _T_53; // @[axi4_to_ahb.scala 325:48] + wire [2:0] _T_93 = buf_write_in ? _T_91 : master_addr[2:0]; // @[axi4_to_ahb.scala 251:30] + wire _T_94 = buf_nxtstate == 3'h1; // @[axi4_to_ahb.scala 253:51] + wire _T_124 = master_ready & master_valid; // @[axi4_to_ahb.scala 264:33] + wire _T_160 = buf_nxtstate == 3'h6; // @[axi4_to_ahb.scala 279:64] + wire _T_161 = _T_124 & _T_160; // @[axi4_to_ahb.scala 279:48] + wire _T_162 = _T_161 & buf_state_en; // @[axi4_to_ahb.scala 279:79] + wire _T_350 = buf_state_en & buf_write_in; // @[axi4_to_ahb.scala 324:33] + wire _T_352 = _T_350 & _T_53; // @[axi4_to_ahb.scala 324:48] wire _GEN_12 = _T_279 & _T_352; // @[Conditional.scala 39:67] wire _GEN_32 = _T_186 ? 1'h0 : _GEN_12; // @[Conditional.scala 39:67] wire _GEN_48 = _T_184 ? 1'h0 : _GEN_32; // @[Conditional.scala 39:67] @@ -289,39 +289,39 @@ module axi4_to_ahb( wire _GEN_88 = _T_99 ? _T_124 : _GEN_75; // @[Conditional.scala 39:67] wire bypass_en = _T_47 ? buf_state_en : _GEN_88; // @[Conditional.scala 40:58] wire [1:0] _T_97 = bypass_en ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] - wire [1:0] _T_98 = _T_97 & 2'h2; // @[axi4_to_ahb.scala 255:45] - wire _T_110 = ~master_valid; // @[axi4_to_ahb.scala 261:34] - wire _T_111 = buf_state_en & _T_110; // @[axi4_to_ahb.scala 261:32] + wire [1:0] _T_98 = _T_97 & 2'h2; // @[axi4_to_ahb.scala 254:45] + wire _T_110 = ~master_valid; // @[axi4_to_ahb.scala 260:34] + wire _T_111 = buf_state_en & _T_110; // @[axi4_to_ahb.scala 260:32] reg [31:0] buf_addr; // @[el2_lib.scala 514:16] - wire [2:0] _T_128 = bypass_en ? master_addr[2:0] : buf_addr[2:0]; // @[axi4_to_ahb.scala 266:30] - wire _T_129 = ~buf_state_en; // @[axi4_to_ahb.scala 267:44] - wire _T_130 = _T_129 | bypass_en; // @[axi4_to_ahb.scala 267:58] + wire [2:0] _T_128 = bypass_en ? master_addr[2:0] : buf_addr[2:0]; // @[axi4_to_ahb.scala 265:30] + wire _T_129 = ~buf_state_en; // @[axi4_to_ahb.scala 266:44] + wire _T_130 = _T_129 | bypass_en; // @[axi4_to_ahb.scala 266:58] wire [1:0] _T_132 = _T_130 ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] - wire [1:0] _T_133 = 2'h2 & _T_132; // @[axi4_to_ahb.scala 267:32] - wire _T_167 = buf_nxtstate != 3'h6; // @[axi4_to_ahb.scala 282:59] - wire _T_168 = _T_167 & buf_state_en; // @[axi4_to_ahb.scala 282:74] - wire _T_169 = ~_T_168; // @[axi4_to_ahb.scala 282:43] + wire [1:0] _T_133 = 2'h2 & _T_132; // @[axi4_to_ahb.scala 266:32] + wire _T_167 = buf_nxtstate != 3'h6; // @[axi4_to_ahb.scala 281:59] + wire _T_168 = _T_167 & buf_state_en; // @[axi4_to_ahb.scala 281:74] + wire _T_169 = ~_T_168; // @[axi4_to_ahb.scala 281:43] wire [1:0] _T_171 = _T_169 ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] - wire [1:0] _T_172 = 2'h2 & _T_171; // @[axi4_to_ahb.scala 282:32] + wire [1:0] _T_172 = 2'h2 & _T_171; // @[axi4_to_ahb.scala 281:32] wire [1:0] _T_182 = _T_129 ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] - wire [1:0] _T_183 = 2'h2 & _T_182; // @[axi4_to_ahb.scala 292:37] + wire [1:0] _T_183 = 2'h2 & _T_182; // @[axi4_to_ahb.scala 291:37] reg [2:0] buf_cmd_byte_ptrQ; // @[Reg.scala 27:20] reg [7:0] buf_byteen; // @[Reg.scala 27:20] - wire [2:0] _T_195 = buf_cmd_byte_ptrQ + 3'h1; // @[axi4_to_ahb.scala 181:52] - wire _T_198 = 3'h0 >= _T_195; // @[axi4_to_ahb.scala 182:62] - wire _T_199 = buf_byteen[0] & _T_198; // @[axi4_to_ahb.scala 182:48] - wire _T_201 = 3'h1 >= _T_195; // @[axi4_to_ahb.scala 182:62] - wire _T_202 = buf_byteen[1] & _T_201; // @[axi4_to_ahb.scala 182:48] - wire _T_204 = 3'h2 >= _T_195; // @[axi4_to_ahb.scala 182:62] - wire _T_205 = buf_byteen[2] & _T_204; // @[axi4_to_ahb.scala 182:48] - wire _T_207 = 3'h3 >= _T_195; // @[axi4_to_ahb.scala 182:62] - wire _T_208 = buf_byteen[3] & _T_207; // @[axi4_to_ahb.scala 182:48] - wire _T_210 = 3'h4 >= _T_195; // @[axi4_to_ahb.scala 182:62] - wire _T_211 = buf_byteen[4] & _T_210; // @[axi4_to_ahb.scala 182:48] - wire _T_213 = 3'h5 >= _T_195; // @[axi4_to_ahb.scala 182:62] - wire _T_214 = buf_byteen[5] & _T_213; // @[axi4_to_ahb.scala 182:48] - wire _T_216 = 3'h6 >= _T_195; // @[axi4_to_ahb.scala 182:62] - wire _T_217 = buf_byteen[6] & _T_216; // @[axi4_to_ahb.scala 182:48] + wire [2:0] _T_195 = buf_cmd_byte_ptrQ + 3'h1; // @[axi4_to_ahb.scala 180:52] + wire _T_198 = 3'h0 >= _T_195; // @[axi4_to_ahb.scala 181:62] + wire _T_199 = buf_byteen[0] & _T_198; // @[axi4_to_ahb.scala 181:48] + wire _T_201 = 3'h1 >= _T_195; // @[axi4_to_ahb.scala 181:62] + wire _T_202 = buf_byteen[1] & _T_201; // @[axi4_to_ahb.scala 181:48] + wire _T_204 = 3'h2 >= _T_195; // @[axi4_to_ahb.scala 181:62] + wire _T_205 = buf_byteen[2] & _T_204; // @[axi4_to_ahb.scala 181:48] + wire _T_207 = 3'h3 >= _T_195; // @[axi4_to_ahb.scala 181:62] + wire _T_208 = buf_byteen[3] & _T_207; // @[axi4_to_ahb.scala 181:48] + wire _T_210 = 3'h4 >= _T_195; // @[axi4_to_ahb.scala 181:62] + wire _T_211 = buf_byteen[4] & _T_210; // @[axi4_to_ahb.scala 181:48] + wire _T_213 = 3'h5 >= _T_195; // @[axi4_to_ahb.scala 181:62] + wire _T_214 = buf_byteen[5] & _T_213; // @[axi4_to_ahb.scala 181:48] + wire _T_216 = 3'h6 >= _T_195; // @[axi4_to_ahb.scala 181:62] + wire _T_217 = buf_byteen[6] & _T_216; // @[axi4_to_ahb.scala 181:48] wire [2:0] _T_221 = buf_byteen[7] ? 3'h7 : 3'h0; // @[Mux.scala 98:16] wire [2:0] _T_222 = _T_217 ? 3'h6 : _T_221; // @[Mux.scala 98:16] wire [2:0] _T_223 = _T_214 ? 3'h5 : _T_222; // @[Mux.scala 98:16] @@ -330,17 +330,17 @@ module axi4_to_ahb( wire [2:0] _T_226 = _T_205 ? 3'h2 : _T_225; // @[Mux.scala 98:16] wire [2:0] _T_227 = _T_202 ? 3'h1 : _T_226; // @[Mux.scala 98:16] wire [2:0] _T_228 = _T_199 ? 3'h0 : _T_227; // @[Mux.scala 98:16] - wire [2:0] _T_229 = trxn_done ? _T_228 : buf_cmd_byte_ptrQ; // @[axi4_to_ahb.scala 310:30] - wire _T_230 = buf_cmd_byte_ptrQ == 3'h7; // @[axi4_to_ahb.scala 311:65] + wire [2:0] _T_229 = trxn_done ? _T_228 : buf_cmd_byte_ptrQ; // @[axi4_to_ahb.scala 309:30] + wire _T_230 = buf_cmd_byte_ptrQ == 3'h7; // @[axi4_to_ahb.scala 310:65] reg buf_aligned; // @[Reg.scala 27:20] - wire _T_231 = buf_aligned | _T_230; // @[axi4_to_ahb.scala 311:44] - wire [7:0] _T_269 = buf_byteen >> _T_228; // @[axi4_to_ahb.scala 311:92] - wire _T_271 = ~_T_269[0]; // @[axi4_to_ahb.scala 311:163] - wire _T_272 = _T_231 | _T_271; // @[axi4_to_ahb.scala 311:79] - wire _T_273 = trxn_done & _T_272; // @[axi4_to_ahb.scala 311:29] - wire _T_347 = _T_230 | _T_271; // @[axi4_to_ahb.scala 324:118] - wire _T_348 = _T_107 & _T_347; // @[axi4_to_ahb.scala 324:82] - wire _T_349 = ahb_hresp_q | _T_348; // @[axi4_to_ahb.scala 324:32] + wire _T_231 = buf_aligned | _T_230; // @[axi4_to_ahb.scala 310:44] + wire [7:0] _T_269 = buf_byteen >> _T_228; // @[axi4_to_ahb.scala 310:92] + wire _T_271 = ~_T_269[0]; // @[axi4_to_ahb.scala 310:163] + wire _T_272 = _T_231 | _T_271; // @[axi4_to_ahb.scala 310:79] + wire _T_273 = trxn_done & _T_272; // @[axi4_to_ahb.scala 310:29] + wire _T_347 = _T_230 | _T_271; // @[axi4_to_ahb.scala 323:118] + wire _T_348 = _T_107 & _T_347; // @[axi4_to_ahb.scala 323:82] + wire _T_349 = ahb_hresp_q | _T_348; // @[axi4_to_ahb.scala 323:32] wire _GEN_11 = _T_279 & _T_349; // @[Conditional.scala 39:67] wire _GEN_24 = _T_186 ? _T_273 : _GEN_11; // @[Conditional.scala 39:67] wire _GEN_43 = _T_184 ? 1'h0 : _GEN_24; // @[Conditional.scala 39:67] @@ -348,17 +348,17 @@ module axi4_to_ahb( wire _GEN_74 = _T_134 ? _T_111 : _GEN_61; // @[Conditional.scala 39:67] wire _GEN_84 = _T_99 ? _T_111 : _GEN_74; // @[Conditional.scala 39:67] wire cmd_done = _T_47 ? 1'h0 : _GEN_84; // @[Conditional.scala 40:58] - wire _T_274 = cmd_done | cmd_doneQ; // @[axi4_to_ahb.scala 312:43] - wire _T_275 = ~_T_274; // @[axi4_to_ahb.scala 312:32] + wire _T_274 = cmd_done | cmd_doneQ; // @[axi4_to_ahb.scala 311:43] + wire _T_275 = ~_T_274; // @[axi4_to_ahb.scala 311:32] wire [1:0] _T_277 = _T_275 ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] - wire [1:0] _T_278 = _T_277 & 2'h2; // @[axi4_to_ahb.scala 312:57] - wire _T_301 = _T_53 | _T_94; // @[axi4_to_ahb.scala 322:62] - wire _T_302 = buf_state_en & _T_301; // @[axi4_to_ahb.scala 322:33] - wire _T_355 = _T_275 | bypass_en; // @[axi4_to_ahb.scala 326:57] + wire [1:0] _T_278 = _T_277 & 2'h2; // @[axi4_to_ahb.scala 311:57] + wire _T_301 = _T_53 | _T_94; // @[axi4_to_ahb.scala 321:62] + wire _T_302 = buf_state_en & _T_301; // @[axi4_to_ahb.scala 321:33] + wire _T_355 = _T_275 | bypass_en; // @[axi4_to_ahb.scala 325:57] wire [1:0] _T_357 = _T_355 ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] - wire [1:0] _T_358 = _T_357 & 2'h2; // @[axi4_to_ahb.scala 326:71] - wire _T_365 = trxn_done | bypass_en; // @[axi4_to_ahb.scala 329:40] - wire [2:0] _T_440 = bypass_en ? _T_91 : _T_229; // @[axi4_to_ahb.scala 332:30] + wire [1:0] _T_358 = _T_357 & 2'h2; // @[axi4_to_ahb.scala 325:71] + wire _T_365 = trxn_done | bypass_en; // @[axi4_to_ahb.scala 328:40] + wire [2:0] _T_440 = bypass_en ? _T_91 : _T_229; // @[axi4_to_ahb.scala 331:30] wire _GEN_6 = _T_279 & ahb_hresp_q; // @[Conditional.scala 39:67] wire _GEN_7 = _T_279 ? buf_state_en : _T_441; // @[Conditional.scala 39:67] wire _GEN_9 = _T_279 & _T_302; // @[Conditional.scala 39:67] @@ -407,72 +407,72 @@ module axi4_to_ahb( wire [2:0] buf_cmd_byte_ptr = _T_47 ? _T_93 : _GEN_89; // @[Conditional.scala 40:58] wire slvbuf_wr_en = _T_47 ? 1'h0 : _GEN_85; // @[Conditional.scala 40:58] wire slvbuf_error_en = _T_47 ? 1'h0 : _GEN_93; // @[Conditional.scala 40:58] - wire _T_533 = master_size[1:0] == 2'h0; // @[axi4_to_ahb.scala 350:24] - wire _T_534 = _T_101 | _T_533; // @[axi4_to_ahb.scala 349:51] - wire _T_536 = master_size[1:0] == 2'h1; // @[axi4_to_ahb.scala 350:57] - wire _T_537 = _T_534 | _T_536; // @[axi4_to_ahb.scala 350:36] - wire _T_539 = master_size[1:0] == 2'h2; // @[axi4_to_ahb.scala 350:91] - wire _T_540 = _T_537 | _T_539; // @[axi4_to_ahb.scala 350:70] - wire _T_542 = master_size[1:0] == 2'h3; // @[axi4_to_ahb.scala 351:25] - wire _T_544 = wrbuf_byteen == 8'h3; // @[axi4_to_ahb.scala 351:62] - wire _T_546 = wrbuf_byteen == 8'hc; // @[axi4_to_ahb.scala 351:97] - wire _T_547 = _T_544 | _T_546; // @[axi4_to_ahb.scala 351:74] - wire _T_549 = wrbuf_byteen == 8'h30; // @[axi4_to_ahb.scala 351:132] - wire _T_550 = _T_547 | _T_549; // @[axi4_to_ahb.scala 351:109] - wire _T_552 = wrbuf_byteen == 8'hc0; // @[axi4_to_ahb.scala 351:168] - wire _T_553 = _T_550 | _T_552; // @[axi4_to_ahb.scala 351:145] - wire _T_555 = wrbuf_byteen == 8'hf; // @[axi4_to_ahb.scala 352:28] - wire _T_556 = _T_553 | _T_555; // @[axi4_to_ahb.scala 351:181] - wire _T_558 = wrbuf_byteen == 8'hf0; // @[axi4_to_ahb.scala 352:63] - wire _T_559 = _T_556 | _T_558; // @[axi4_to_ahb.scala 352:40] - wire _T_561 = wrbuf_byteen == 8'hff; // @[axi4_to_ahb.scala 352:99] - wire _T_562 = _T_559 | _T_561; // @[axi4_to_ahb.scala 352:76] - wire _T_563 = _T_542 & _T_562; // @[axi4_to_ahb.scala 351:38] - wire buf_aligned_in = _T_540 | _T_563; // @[axi4_to_ahb.scala 350:104] - wire _T_445 = buf_aligned_in & _T_49; // @[axi4_to_ahb.scala 344:60] - wire [2:0] _T_482 = _T_445 ? 3'h0 : master_addr[2:0]; // @[axi4_to_ahb.scala 344:43] - wire _T_486 = buf_state == 3'h3; // @[axi4_to_ahb.scala 347:33] - wire _T_492 = buf_aligned_in & _T_542; // @[axi4_to_ahb.scala 348:38] - wire _T_495 = _T_492 & _T_49; // @[axi4_to_ahb.scala 348:72] - wire [1:0] _T_529 = _T_495 ? 2'h0 : master_size[1:0]; // @[axi4_to_ahb.scala 348:21] + wire _T_533 = master_size[1:0] == 2'h0; // @[axi4_to_ahb.scala 349:24] + wire _T_534 = _T_101 | _T_533; // @[axi4_to_ahb.scala 348:48] + wire _T_536 = master_size[1:0] == 2'h1; // @[axi4_to_ahb.scala 349:54] + wire _T_537 = _T_534 | _T_536; // @[axi4_to_ahb.scala 349:33] + wire _T_539 = master_size[1:0] == 2'h2; // @[axi4_to_ahb.scala 349:93] + wire _T_540 = _T_537 | _T_539; // @[axi4_to_ahb.scala 349:72] + wire _T_542 = master_size[1:0] == 2'h3; // @[axi4_to_ahb.scala 350:25] + wire _T_544 = wrbuf_byteen == 8'h3; // @[axi4_to_ahb.scala 350:62] + wire _T_546 = wrbuf_byteen == 8'hc; // @[axi4_to_ahb.scala 350:97] + wire _T_547 = _T_544 | _T_546; // @[axi4_to_ahb.scala 350:74] + wire _T_549 = wrbuf_byteen == 8'h30; // @[axi4_to_ahb.scala 350:132] + wire _T_550 = _T_547 | _T_549; // @[axi4_to_ahb.scala 350:109] + wire _T_552 = wrbuf_byteen == 8'hc0; // @[axi4_to_ahb.scala 350:168] + wire _T_553 = _T_550 | _T_552; // @[axi4_to_ahb.scala 350:145] + wire _T_555 = wrbuf_byteen == 8'hf; // @[axi4_to_ahb.scala 351:28] + wire _T_556 = _T_553 | _T_555; // @[axi4_to_ahb.scala 350:181] + wire _T_558 = wrbuf_byteen == 8'hf0; // @[axi4_to_ahb.scala 351:63] + wire _T_559 = _T_556 | _T_558; // @[axi4_to_ahb.scala 351:40] + wire _T_561 = wrbuf_byteen == 8'hff; // @[axi4_to_ahb.scala 351:99] + wire _T_562 = _T_559 | _T_561; // @[axi4_to_ahb.scala 351:76] + wire _T_563 = _T_542 & _T_562; // @[axi4_to_ahb.scala 350:38] + wire buf_aligned_in = _T_540 | _T_563; // @[axi4_to_ahb.scala 349:106] + wire _T_445 = buf_aligned_in & _T_49; // @[axi4_to_ahb.scala 343:60] + wire [2:0] _T_482 = _T_445 ? 3'h0 : master_addr[2:0]; // @[axi4_to_ahb.scala 343:43] + wire _T_486 = buf_state == 3'h3; // @[axi4_to_ahb.scala 346:33] + wire _T_492 = buf_aligned_in & _T_542; // @[axi4_to_ahb.scala 347:38] + wire _T_495 = _T_492 & _T_49; // @[axi4_to_ahb.scala 347:71] + wire [1:0] _T_529 = _T_495 ? 2'h0 : master_size[1:0]; // @[axi4_to_ahb.scala 347:21] wire [31:0] _T_568 = {master_addr[31:3],buf_cmd_byte_ptr}; // @[Cat.scala 29:58] wire [31:0] _T_571 = {buf_addr[31:3],buf_cmd_byte_ptr}; // @[Cat.scala 29:58] wire [1:0] _T_575 = buf_aligned_in ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] - wire [2:0] buf_size_in = {{1'd0}, _T_529}; // @[axi4_to_ahb.scala 348:15] - wire [1:0] _T_577 = _T_575 & buf_size_in[1:0]; // @[axi4_to_ahb.scala 355:77] + wire [2:0] buf_size_in = {{1'd0}, _T_529}; // @[axi4_to_ahb.scala 347:15] + wire [1:0] _T_577 = _T_575 & buf_size_in[1:0]; // @[axi4_to_ahb.scala 354:77] wire [2:0] _T_578 = {1'h0,_T_577}; // @[Cat.scala 29:58] wire [1:0] _T_580 = buf_aligned ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12] reg [1:0] buf_size; // @[Reg.scala 27:20] - wire [1:0] _T_582 = _T_580 & buf_size; // @[axi4_to_ahb.scala 355:135] + wire [1:0] _T_582 = _T_580 & buf_size; // @[axi4_to_ahb.scala 354:134] wire [2:0] _T_583 = {1'h0,_T_582}; // @[Cat.scala 29:58] - wire _T_586 = ~io_axi_arprot[2]; // @[axi4_to_ahb.scala 359:33] + wire _T_586 = ~io_axi_arprot[2]; // @[axi4_to_ahb.scala 358:33] wire [1:0] _T_587 = {1'h1,_T_586}; // @[Cat.scala 29:58] reg buf_write; // @[Reg.scala 27:20] - wire _T_609 = io_ahb_htrans != 2'h0; // @[axi4_to_ahb.scala 368:40] - wire _T_610 = _T_609 & io_ahb_hready; // @[axi4_to_ahb.scala 368:52] - wire last_addr_en = _T_610 & io_ahb_hwrite; // @[axi4_to_ahb.scala 368:68] - wire wrbuf_en = _T_42 & master_ready; // @[axi4_to_ahb.scala 370:47] - wire wrbuf_data_en = _T_43 & master_ready; // @[axi4_to_ahb.scala 371:50] - wire wrbuf_cmd_sent = _T_147 & _T_49; // @[axi4_to_ahb.scala 372:49] - wire _T_620 = ~wrbuf_en; // @[axi4_to_ahb.scala 373:33] - wire wrbuf_rst = wrbuf_cmd_sent & _T_620; // @[axi4_to_ahb.scala 373:31] - wire _T_622 = ~wrbuf_cmd_sent; // @[axi4_to_ahb.scala 375:35] - wire _T_623 = wrbuf_vld & _T_622; // @[axi4_to_ahb.scala 375:33] - wire _T_624 = ~_T_623; // @[axi4_to_ahb.scala 375:21] - wire _T_627 = wrbuf_data_vld & _T_622; // @[axi4_to_ahb.scala 376:37] - wire _T_628 = ~_T_627; // @[axi4_to_ahb.scala 376:20] - wire _T_631 = ~wr_cmd_vld; // @[axi4_to_ahb.scala 377:21] - wire _T_634 = wrbuf_en | wrbuf_vld; // @[axi4_to_ahb.scala 381:52] - wire _T_635 = ~wrbuf_rst; // @[axi4_to_ahb.scala 381:88] - wire _T_639 = wrbuf_data_en | wrbuf_data_vld; // @[axi4_to_ahb.scala 382:52] + wire _T_609 = io_ahb_htrans != 2'h0; // @[axi4_to_ahb.scala 367:40] + wire _T_610 = _T_609 & io_ahb_hready; // @[axi4_to_ahb.scala 367:52] + wire last_addr_en = _T_610 & io_ahb_hwrite; // @[axi4_to_ahb.scala 367:68] + wire wrbuf_en = _T_42 & master_ready; // @[axi4_to_ahb.scala 369:47] + wire wrbuf_data_en = _T_43 & master_ready; // @[axi4_to_ahb.scala 370:50] + wire wrbuf_cmd_sent = _T_147 & _T_49; // @[axi4_to_ahb.scala 371:49] + wire _T_620 = ~wrbuf_en; // @[axi4_to_ahb.scala 372:33] + wire wrbuf_rst = wrbuf_cmd_sent & _T_620; // @[axi4_to_ahb.scala 372:31] + wire _T_622 = ~wrbuf_cmd_sent; // @[axi4_to_ahb.scala 374:35] + wire _T_623 = wrbuf_vld & _T_622; // @[axi4_to_ahb.scala 374:33] + wire _T_624 = ~_T_623; // @[axi4_to_ahb.scala 374:21] + wire _T_627 = wrbuf_data_vld & _T_622; // @[axi4_to_ahb.scala 375:37] + wire _T_628 = ~_T_627; // @[axi4_to_ahb.scala 375:20] + wire _T_631 = ~wr_cmd_vld; // @[axi4_to_ahb.scala 376:21] + wire _T_634 = wrbuf_en | wrbuf_vld; // @[axi4_to_ahb.scala 380:52] + wire _T_635 = ~wrbuf_rst; // @[axi4_to_ahb.scala 380:88] + wire _T_639 = wrbuf_data_en | wrbuf_data_vld; // @[axi4_to_ahb.scala 381:52] reg buf_tag; // @[Reg.scala 27:20] - wire _T_689 = ~slave_valid_pre; // @[axi4_to_ahb.scala 433:52] - wire _T_702 = buf_wr_en | slvbuf_wr_en; // @[axi4_to_ahb.scala 457:43] - wire _T_703 = _T_702 | io_clk_override; // @[axi4_to_ahb.scala 457:58] - wire _T_706 = io_ahb_hready & io_ahb_htrans[1]; // @[axi4_to_ahb.scala 458:54] - wire _T_707 = _T_706 | io_clk_override; // @[axi4_to_ahb.scala 458:74] - wire _T_709 = buf_state != 3'h0; // @[axi4_to_ahb.scala 459:50] - wire _T_710 = _T_709 | io_clk_override; // @[axi4_to_ahb.scala 459:60] + wire _T_689 = ~slave_valid_pre; // @[axi4_to_ahb.scala 432:52] + wire _T_702 = buf_wr_en | slvbuf_wr_en; // @[axi4_to_ahb.scala 456:43] + wire _T_703 = _T_702 | io_clk_override; // @[axi4_to_ahb.scala 456:58] + wire _T_706 = io_ahb_hready & io_ahb_htrans[1]; // @[axi4_to_ahb.scala 457:54] + wire _T_707 = _T_706 | io_clk_override; // @[axi4_to_ahb.scala 457:74] + wire _T_709 = buf_state != 3'h0; // @[axi4_to_ahb.scala 458:50] + wire _T_710 = _T_709 | io_clk_override; // @[axi4_to_ahb.scala 458:60] rvclkhdr rvclkhdr ( // @[el2_lib.scala 483:22] .io_l1clk(rvclkhdr_io_l1clk), .io_clk(rvclkhdr_io_clk), @@ -533,25 +533,25 @@ module axi4_to_ahb( .io_en(rvclkhdr_9_io_en), .io_scan_mode(rvclkhdr_9_io_scan_mode) ); - assign io_axi_awready = _T_624 & master_ready; // @[axi4_to_ahb.scala 375:18] - assign io_axi_wready = _T_628 & master_ready; // @[axi4_to_ahb.scala 376:17] - assign io_axi_bvalid = _T_23 & slave_opc[3]; // @[axi4_to_ahb.scala 207:17] - assign io_axi_bresp = slave_opc[0] ? 2'h2 : _T_28; // @[axi4_to_ahb.scala 208:16] - assign io_axi_bid = slvbuf_tag; // @[axi4_to_ahb.scala 209:14] - assign io_axi_arready = _T_631 & master_ready; // @[axi4_to_ahb.scala 377:18] - assign io_axi_rvalid = _T_23 & _T_33; // @[axi4_to_ahb.scala 211:17] - assign io_axi_rid = slvbuf_tag; // @[axi4_to_ahb.scala 213:14] - assign io_axi_rdata = slvbuf_error ? _T_601 : _T_605; // @[axi4_to_ahb.scala 214:16] - assign io_axi_rresp = slave_opc[0] ? 2'h2 : _T_28; // @[axi4_to_ahb.scala 212:16] - assign io_axi_rlast = 1'h1; // @[axi4_to_ahb.scala 378:16] - assign io_ahb_haddr = bypass_en ? _T_568 : _T_571; // @[axi4_to_ahb.scala 354:16] - assign io_ahb_hburst = 3'h0; // @[axi4_to_ahb.scala 357:17] - assign io_ahb_hmastlock = 1'h0; // @[axi4_to_ahb.scala 358:20] - assign io_ahb_hprot = {{2'd0}, _T_587}; // @[axi4_to_ahb.scala 359:16] - assign io_ahb_hsize = bypass_en ? _T_578 : _T_583; // @[axi4_to_ahb.scala 355:16] - assign io_ahb_htrans = _T_47 ? _T_98 : _GEN_90; // @[axi4_to_ahb.scala 224:17 axi4_to_ahb.scala 255:21 axi4_to_ahb.scala 267:21 axi4_to_ahb.scala 282:21 axi4_to_ahb.scala 292:21 axi4_to_ahb.scala 312:21 axi4_to_ahb.scala 326:21] - assign io_ahb_hwrite = bypass_en ? _T_49 : buf_write; // @[axi4_to_ahb.scala 360:17] - assign io_ahb_hwdata = buf_data; // @[axi4_to_ahb.scala 361:17] + assign io_axi_awready = _T_624 & master_ready; // @[axi4_to_ahb.scala 374:18] + assign io_axi_wready = _T_628 & master_ready; // @[axi4_to_ahb.scala 375:17] + assign io_axi_bvalid = _T_23 & slave_opc[3]; // @[axi4_to_ahb.scala 206:17] + assign io_axi_bresp = slave_opc[0] ? 2'h2 : _T_28; // @[axi4_to_ahb.scala 207:16] + assign io_axi_bid = slvbuf_tag; // @[axi4_to_ahb.scala 208:14] + assign io_axi_arready = _T_631 & master_ready; // @[axi4_to_ahb.scala 376:18] + assign io_axi_rvalid = _T_23 & _T_33; // @[axi4_to_ahb.scala 210:17] + assign io_axi_rid = slvbuf_tag; // @[axi4_to_ahb.scala 212:14] + assign io_axi_rdata = slvbuf_error ? _T_601 : _T_605; // @[axi4_to_ahb.scala 213:16] + assign io_axi_rresp = slave_opc[0] ? 2'h2 : _T_28; // @[axi4_to_ahb.scala 211:16] + assign io_axi_rlast = 1'h1; // @[axi4_to_ahb.scala 377:16] + assign io_ahb_haddr = bypass_en ? _T_568 : _T_571; // @[axi4_to_ahb.scala 353:16] + assign io_ahb_hburst = 3'h0; // @[axi4_to_ahb.scala 356:17] + assign io_ahb_hmastlock = 1'h0; // @[axi4_to_ahb.scala 357:20] + assign io_ahb_hprot = {{2'd0}, _T_587}; // @[axi4_to_ahb.scala 358:16] + assign io_ahb_hsize = bypass_en ? _T_578 : _T_583; // @[axi4_to_ahb.scala 354:16] + assign io_ahb_htrans = _T_47 ? _T_98 : _GEN_90; // @[axi4_to_ahb.scala 223:17 axi4_to_ahb.scala 254:21 axi4_to_ahb.scala 266:21 axi4_to_ahb.scala 281:21 axi4_to_ahb.scala 291:21 axi4_to_ahb.scala 311:21 axi4_to_ahb.scala 325:21] + assign io_ahb_hwrite = bypass_en ? _T_49 : buf_write; // @[axi4_to_ahb.scala 359:17] + assign io_ahb_hwdata = buf_data; // @[axi4_to_ahb.scala 360:17] assign rvclkhdr_io_clk = clock; // @[el2_lib.scala 484:17] assign rvclkhdr_io_en = io_bus_clk_en; // @[el2_lib.scala 485:16] assign rvclkhdr_io_scan_mode = io_scan_mode; // @[el2_lib.scala 486:23] diff --git a/src/main/scala/lib/axi4_to_ahb.scala b/src/main/scala/lib/axi4_to_ahb.scala index d29154dc..5ab42614 100644 --- a/src/main/scala/lib/axi4_to_ahb.scala +++ b/src/main/scala/lib/axi4_to_ahb.scala @@ -164,15 +164,15 @@ class axi4_to_ahb extends Module with el2_lib with RequireAsyncReset with Config val byteen = WireInit(0.U(8.W)) val size = ("b11".U & Fill(2, (byteen(7, 0) === "hff".U))) | - ("b10".U & (Fill(2, ((byteen(7, 0) === "hf0".U) | (byteen(7, 0) === "h0f".U))))) | - ("b01".U & (Fill(2, ((byteen(7, 0) === "hc0".U) | (byteen(7, 0) === "h30".U) | (byteen(7, 0) === "h0c".U) | (byteen(7, 0) === "h03".U))))) + ("b10".U & (Fill(2, ((byteen(7, 0) === "hf0".U) | (byteen(7, 0) === "h0f".U(8.W)))))) | + ("b01".U(2.W) & (Fill(2, ((byteen(7, 0) === "hc0".U) | (byteen(7, 0) === "h30".U) | (byteen(7, 0) === "h0c".U(8.W)) | (byteen(7, 0) === "h03".U(8.W)))))) size } def get_write_addr(byteen_e: UInt) = { val byteen_e = WireInit(0.U(8.W)) - val addr = ("h0".U & (Fill(3, ((byteen_e(7, 0) === "hff".U) | (byteen_e(7, 0) === "h0f".U) | (byteen_e(7, 0) === "h03".U))))) | - ("h2".U & (Fill(3, (byteen_e(7, 0) === "h0c".U)))) | - ("h4".U & (Fill(3, ((byteen_e(7, 0) === "hf0".U) | (byteen_e(7, 0) === "h03".U))))) | + val addr = ("h0".U(3.W) & (Fill(3, ((byteen_e(7, 0) === "hff".U) | (byteen_e(7, 0) === "h0f".U(8.W)) | (byteen_e(7, 0) === "h03".U(8.W)))))) | + ("h2".U & (Fill(3, (byteen_e(7, 0) === "h0c".U(8.W))))) | + ("h4".U & (Fill(3, ((byteen_e(7, 0) === "hf0".U) | (byteen_e(7, 0) === "h03".U(8.W)))))) | ("h6".U & (Fill(3, (byteen_e(7, 0) === "hc0".U)))) addr } @@ -344,14 +344,14 @@ class axi4_to_ahb extends Module with el2_lib with RequireAsyncReset with Config buf_tag_in := master_tag(TAG - 1, 0) buf_byteen_in := wrbuf_byteen(7,0) buf_data_in := Mux((buf_state === data_rd), ahb_hrdata_q(63, 0), master_wdata(63, 0)) - buf_size_in := Mux((buf_aligned_in & (master_size(1, 0) === "b11".U) & (master_opc(2, 1) === "b01".U)).asBool(), get_write_size(master_byteen(7, 0)), master_size(1, 0)) - buf_aligned_in := (master_opc(2, 0) === "b0".U) | // reads are always aligned since they are either DW or sideeffects - (master_size(1, 0) === "b0".U) | (master_size(1, 0) === "b01".U) | (master_size(1, 0) === "b10".U) | // Always aligned for Byte/HW/Word since they can be only for non-idempotent. IFU/SB are always aligned + buf_size_in := Mux((buf_aligned_in & (master_size(1,0) === "b11".U) & (master_opc(2, 1) === "b01".U)).asBool(),get_write_size(master_byteen(7,0)), master_size(1,0)) + buf_aligned_in := (master_opc(2, 0) === 0.U) | // reads are always aligned since they are either DW or sideeffects + (master_size(1, 0) === 0.U) | (master_size(1, 0) === "b01".U(2.W)) | (master_size(1, 0) === "b10".U) | // Always aligned for Byte/HW/Word since they can be only for non-idempotent. IFU/SB are always aligned ((master_size(1, 0) === "b11".U) & ((master_byteen(7, 0) === "h3".U) | (master_byteen(7, 0) === "hc".U) | (master_byteen(7, 0) === "h30".U) | (master_byteen(7, 0) === "hc0".U) | (master_byteen(7, 0) === "hf".U) | (master_byteen(7, 0) === "hf0".U) | (master_byteen(7, 0) === "hff".U))) // Generate the ahb signals io.ahb_haddr := Mux(bypass_en.asBool(), Cat(master_addr(31, 3), buf_cmd_byte_ptr(2, 0)), Cat(buf_addr(31, 3), buf_cmd_byte_ptr(2, 0))) - io.ahb_hsize := Mux(bypass_en.asBool(), Cat(0.U, (Fill(2, buf_aligned_in) & buf_size_in(1, 0))), (Cat("b0".U, (Fill(2, buf_aligned) & buf_size(1, 0))))) + io.ahb_hsize := Mux(bypass_en.asBool(), Cat(0.U, (Fill(2, buf_aligned_in) & buf_size_in(1, 0))), Cat("b0".U, (Fill(2, buf_aligned) & buf_size(1, 0)))) io.ahb_hburst := "b0".U io.ahb_hmastlock := "b0".U diff --git a/target/scala-2.12/classes/lib/AXImain$.class b/target/scala-2.12/classes/lib/AXImain$.class index 62324fd8..6aeafe48 100644 Binary files a/target/scala-2.12/classes/lib/AXImain$.class and b/target/scala-2.12/classes/lib/AXImain$.class differ diff --git a/target/scala-2.12/classes/lib/AXImain$delayedInit$body.class b/target/scala-2.12/classes/lib/AXImain$delayedInit$body.class index 30eddc54..845b48ef 100644 Binary files a/target/scala-2.12/classes/lib/AXImain$delayedInit$body.class and b/target/scala-2.12/classes/lib/AXImain$delayedInit$body.class differ diff --git a/target/scala-2.12/classes/lib/axi4_to_ahb.class b/target/scala-2.12/classes/lib/axi4_to_ahb.class index d89ea619..fdf05165 100644 Binary files a/target/scala-2.12/classes/lib/axi4_to_ahb.class and b/target/scala-2.12/classes/lib/axi4_to_ahb.class differ