quasar/axi4_to_ahb.fir

1422 lines
83 KiB
Plaintext

;buildInfoPackage: chisel3, version: 3.3.1, scalaVersion: 2.12.11, sbtVersion: 1.3.10
circuit axi4_to_ahb :
extmodule gated_latch :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_1 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_1 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_1 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_2 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_2 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_2 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_3 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_3 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_3 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_4 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_4 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_4 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_5 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_5 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_5 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_6 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_6 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_6 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_7 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_7 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_7 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_8 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_8 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_8 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
extmodule gated_latch_9 :
output Q : Clock
input CK : Clock
input EN : UInt<1>
input SE : UInt<1>
defname = gated_latch
module rvclkhdr_9 :
input clock : Clock
input reset : Reset
output io : {l1clk : Clock, flip clk : Clock, flip en : UInt<1>, flip scan_mode : UInt<1>}
inst clkhdr of gated_latch_9 @[el2_lib.scala 474:26]
clkhdr.SE is invalid
clkhdr.EN is invalid
clkhdr.CK is invalid
clkhdr.Q is invalid
io.l1clk <= clkhdr.Q @[el2_lib.scala 475:14]
clkhdr.CK <= io.clk @[el2_lib.scala 476:18]
clkhdr.EN <= io.en @[el2_lib.scala 477:18]
clkhdr.SE <= io.scan_mode @[el2_lib.scala 478:18]
module axi4_to_ahb :
input clock : Clock
input reset : AsyncReset
output io : {flip scan_mode : UInt<1>, flip bus_clk_en : UInt<1>, flip clk_override : UInt<1>, flip axi_awvalid : UInt<1>, flip axi_awid : UInt<1>, flip axi_awaddr : UInt<32>, flip axi_awsize : UInt<3>, flip axi_awprot : UInt<3>, flip axi_wvalid : UInt<1>, flip axi_wdata : UInt<64>, flip axi_wstrb : UInt<8>, flip axi_wlast : UInt<1>, flip axi_bready : UInt<1>, flip axi_arvalid : UInt<1>, flip axi_arid : UInt<1>, flip axi_araddr : UInt<32>, flip axi_arsize : UInt<3>, flip axi_arprot : UInt<3>, flip axi_rready : UInt<1>, flip ahb_hrdata : UInt<64>, flip ahb_hready : UInt<1>, flip ahb_hresp : UInt<1>, axi_awready : UInt<1>, axi_wready : UInt<1>, axi_bvalid : UInt<1>, axi_bresp : UInt<2>, axi_bid : UInt<1>, axi_arready : UInt<1>, axi_rvalid : UInt<1>, axi_rid : UInt<1>, axi_rdata : UInt<64>, axi_rresp : UInt<2>, axi_rlast : UInt<1>, ahb_haddr : UInt<32>, ahb_hburst : UInt<3>, ahb_hmastlock : UInt<1>, ahb_hprot : UInt<4>, ahb_hsize : UInt<3>, ahb_htrans : UInt<2>, ahb_hwrite : UInt<1>, ahb_hwdata : UInt<64>}
wire buf_rst : UInt<1>
buf_rst <= UInt<1>("h00")
buf_rst <= UInt<1>("h00") @[axi4_to_ahb.scala 61:11]
wire buf_state_en : UInt<1>
buf_state_en <= UInt<1>("h00")
wire ahbm_clk : Clock @[axi4_to_ahb.scala 63:22]
wire ahbm_addr_clk : Clock @[axi4_to_ahb.scala 64:27]
wire ahbm_data_clk : Clock @[axi4_to_ahb.scala 65:27]
wire buf_state : UInt<3>
buf_state <= UInt<3>("h00")
wire buf_nxtstate : UInt<3>
buf_nxtstate <= UInt<3>("h00")
node _T = bits(buf_state_en, 0, 0) @[axi4_to_ahb.scala 69:70]
node _T_1 = mux(_T, buf_nxtstate, buf_state) @[axi4_to_ahb.scala 69:50]
node _T_2 = eq(buf_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 69:108]
node _T_3 = bits(_T_2, 0, 0) @[Bitwise.scala 72:15]
node _T_4 = mux(_T_3, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
node _T_5 = and(_T_1, _T_4) @[axi4_to_ahb.scala 69:98]
reg _T_6 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 69:45]
_T_6 <= _T_5 @[axi4_to_ahb.scala 69:45]
buf_state <= _T_6 @[axi4_to_ahb.scala 69:13]
wire slave_valid : UInt<1>
slave_valid <= UInt<1>("h00")
wire slave_ready : UInt<1>
slave_ready <= UInt<1>("h00")
wire slave_tag : UInt<1>
slave_tag <= UInt<1>("h00")
wire slave_rdata : UInt<64>
slave_rdata <= UInt<64>("h00")
wire slave_opc : UInt<4>
slave_opc <= UInt<4>("h00")
wire wrbuf_en : UInt<1>
wrbuf_en <= UInt<1>("h00")
wire wrbuf_data_en : UInt<1>
wrbuf_data_en <= UInt<1>("h00")
wire wrbuf_cmd_sent : UInt<1>
wrbuf_cmd_sent <= UInt<1>("h00")
wire wrbuf_rst : UInt<1>
wrbuf_rst <= UInt<1>("h00")
wire wrbuf_vld : UInt<1>
wrbuf_vld <= UInt<1>("h00")
wire wrbuf_data_vld : UInt<1>
wrbuf_data_vld <= UInt<1>("h00")
wire wrbuf_tag : UInt<1>
wrbuf_tag <= UInt<1>("h00")
wire wrbuf_size : UInt<3>
wrbuf_size <= UInt<3>("h00")
wire wrbuf_addr : UInt<32>
wrbuf_addr <= UInt<32>("h00")
wire wrbuf_data : UInt<64>
wrbuf_data <= UInt<64>("h00")
wire wrbuf_byteen : UInt<8>
wrbuf_byteen <= UInt<8>("h00")
wire bus_write_clk_en : UInt<1>
bus_write_clk_en <= UInt<1>("h00")
wire bus_clk : Clock @[axi4_to_ahb.scala 89:21]
wire bus_write_clk : Clock @[axi4_to_ahb.scala 90:27]
wire master_valid : UInt<1>
master_valid <= UInt<1>("h00")
wire master_ready : UInt<1>
master_ready <= UInt<1>("h00")
wire master_tag : UInt<1>
master_tag <= UInt<1>("h00")
wire master_addr : UInt<32>
master_addr <= UInt<32>("h00")
wire master_wdata : UInt<64>
master_wdata <= UInt<64>("h00")
wire master_size : UInt<3>
master_size <= UInt<3>("h00")
wire master_opc : UInt<3>
master_opc <= UInt<3>("h00")
wire master_byteen : UInt<8>
master_byteen <= UInt<8>("h00")
wire buf_addr : UInt<32>
buf_addr <= UInt<32>("h00")
wire buf_size : UInt<2>
buf_size <= UInt<2>("h00")
wire buf_write : UInt<1>
buf_write <= UInt<1>("h00")
wire buf_byteen : UInt<8>
buf_byteen <= UInt<8>("h00")
wire buf_aligned : UInt<1>
buf_aligned <= UInt<1>("h00")
wire buf_data : UInt<64>
buf_data <= UInt<64>("h00")
wire buf_tag : UInt<1>
buf_tag <= UInt<1>("h00")
wire buf_tag_in : UInt<1>
buf_tag_in <= UInt<1>("h00")
wire buf_addr_in : UInt<32>
buf_addr_in <= UInt<32>("h00")
wire buf_byteen_in : UInt<8>
buf_byteen_in <= UInt<8>("h00")
wire buf_data_in : UInt<64>
buf_data_in <= UInt<64>("h00")
wire buf_write_in : UInt<1>
buf_write_in <= UInt<1>("h00")
wire buf_aligned_in : UInt<1>
buf_aligned_in <= UInt<1>("h00")
wire buf_size_in : UInt<3>
buf_size_in <= UInt<3>("h00")
wire buf_wr_en : UInt<1>
buf_wr_en <= UInt<1>("h00")
wire buf_data_wr_en : UInt<1>
buf_data_wr_en <= UInt<1>("h00")
wire slvbuf_error_en : UInt<1>
slvbuf_error_en <= UInt<1>("h00")
wire wr_cmd_vld : UInt<1>
wr_cmd_vld <= UInt<1>("h00")
wire cmd_done_rst : UInt<1>
cmd_done_rst <= UInt<1>("h00")
wire cmd_done : UInt<1>
cmd_done <= UInt<1>("h00")
wire cmd_doneQ : UInt<1>
cmd_doneQ <= UInt<1>("h00")
wire trxn_done : UInt<1>
trxn_done <= UInt<1>("h00")
wire buf_cmd_byte_ptr : UInt<3>
buf_cmd_byte_ptr <= UInt<3>("h00")
wire buf_cmd_byte_ptrQ : UInt<3>
buf_cmd_byte_ptrQ <= UInt<3>("h00")
wire buf_cmd_nxtbyte_ptr : UInt<3>
buf_cmd_nxtbyte_ptr <= UInt<3>("h00")
wire buf_cmd_byte_ptr_en : UInt<1>
buf_cmd_byte_ptr_en <= UInt<1>("h00")
wire found : UInt<1>
found <= UInt<1>("h00")
wire slave_valid_pre : UInt<1>
slave_valid_pre <= UInt<1>("h00")
wire ahb_hready_q : UInt<1>
ahb_hready_q <= UInt<1>("h00")
wire ahb_hresp_q : UInt<1>
ahb_hresp_q <= UInt<1>("h00")
wire ahb_htrans_q : UInt<2>
ahb_htrans_q <= UInt<2>("h00")
wire ahb_hwrite_q : UInt<1>
ahb_hwrite_q <= UInt<1>("h00")
wire ahb_hrdata_q : UInt<64>
ahb_hrdata_q <= UInt<64>("h00")
wire slvbuf_write : UInt<1>
slvbuf_write <= UInt<1>("h00")
wire slvbuf_error : UInt<1>
slvbuf_error <= UInt<1>("h00")
wire slvbuf_tag : UInt<1>
slvbuf_tag <= UInt<1>("h00")
wire slvbuf_error_in : UInt<1>
slvbuf_error_in <= UInt<1>("h00")
wire slvbuf_wr_en : UInt<1>
slvbuf_wr_en <= UInt<1>("h00")
wire bypass_en : UInt<1>
bypass_en <= UInt<1>("h00")
wire rd_bypass_idle : UInt<1>
rd_bypass_idle <= UInt<1>("h00")
wire last_addr_en : UInt<1>
last_addr_en <= UInt<1>("h00")
wire last_bus_addr : UInt<32>
last_bus_addr <= UInt<32>("h00")
wire buf_clken : UInt<1>
buf_clken <= UInt<1>("h00")
wire slvbuf_clken : UInt<1>
slvbuf_clken <= UInt<1>("h00")
wire ahbm_addr_clken : UInt<1>
ahbm_addr_clken <= UInt<1>("h00")
wire ahbm_data_clken : UInt<1>
ahbm_data_clken <= UInt<1>("h00")
wire buf_clk : Clock @[axi4_to_ahb.scala 157:21]
node _T_7 = and(wrbuf_vld, wrbuf_data_vld) @[axi4_to_ahb.scala 178:27]
wr_cmd_vld <= _T_7 @[axi4_to_ahb.scala 178:14]
node _T_8 = or(wr_cmd_vld, io.axi_arvalid) @[axi4_to_ahb.scala 179:30]
master_valid <= _T_8 @[axi4_to_ahb.scala 179:16]
node _T_9 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 180:38]
node _T_10 = bits(wrbuf_tag, 0, 0) @[axi4_to_ahb.scala 180:51]
node _T_11 = bits(io.axi_arid, 0, 0) @[axi4_to_ahb.scala 180:76]
node _T_12 = mux(_T_9, _T_10, _T_11) @[axi4_to_ahb.scala 180:20]
master_tag <= _T_12 @[axi4_to_ahb.scala 180:14]
node _T_13 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 181:38]
node _T_14 = mux(_T_13, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 181:20]
master_opc <= _T_14 @[axi4_to_ahb.scala 181:14]
node _T_15 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 182:39]
node _T_16 = bits(wrbuf_addr, 31, 0) @[axi4_to_ahb.scala 182:53]
node _T_17 = bits(io.axi_araddr, 31, 0) @[axi4_to_ahb.scala 182:75]
node _T_18 = mux(_T_15, _T_16, _T_17) @[axi4_to_ahb.scala 182:21]
master_addr <= _T_18 @[axi4_to_ahb.scala 182:15]
node _T_19 = bits(wr_cmd_vld, 0, 0) @[axi4_to_ahb.scala 183:39]
node _T_20 = bits(wrbuf_size, 2, 0) @[axi4_to_ahb.scala 183:53]
node _T_21 = bits(io.axi_arsize, 2, 0) @[axi4_to_ahb.scala 183:74]
node _T_22 = mux(_T_19, _T_20, _T_21) @[axi4_to_ahb.scala 183:21]
master_size <= _T_22 @[axi4_to_ahb.scala 183:15]
node _T_23 = bits(wrbuf_byteen, 7, 0) @[axi4_to_ahb.scala 184:32]
master_byteen <= _T_23 @[axi4_to_ahb.scala 184:17]
node _T_24 = bits(wrbuf_data, 63, 0) @[axi4_to_ahb.scala 185:29]
master_wdata <= _T_24 @[axi4_to_ahb.scala 185:16]
node _T_25 = and(slave_valid, slave_ready) @[axi4_to_ahb.scala 188:32]
node _T_26 = bits(slave_opc, 3, 3) @[axi4_to_ahb.scala 188:57]
node _T_27 = and(_T_25, _T_26) @[axi4_to_ahb.scala 188:46]
io.axi_bvalid <= _T_27 @[axi4_to_ahb.scala 188:17]
node _T_28 = bits(slave_opc, 0, 0) @[axi4_to_ahb.scala 189:32]
node _T_29 = bits(slave_opc, 1, 1) @[axi4_to_ahb.scala 189:59]
node _T_30 = mux(_T_29, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 189:49]
node _T_31 = mux(_T_28, UInt<2>("h02"), _T_30) @[axi4_to_ahb.scala 189:22]
io.axi_bresp <= _T_31 @[axi4_to_ahb.scala 189:16]
node _T_32 = bits(slave_tag, 0, 0) @[axi4_to_ahb.scala 190:26]
io.axi_bid <= _T_32 @[axi4_to_ahb.scala 190:14]
node _T_33 = and(slave_valid, slave_ready) @[axi4_to_ahb.scala 192:32]
node _T_34 = bits(slave_opc, 3, 2) @[axi4_to_ahb.scala 192:58]
node _T_35 = eq(_T_34, UInt<1>("h00")) @[axi4_to_ahb.scala 192:65]
node _T_36 = and(_T_33, _T_35) @[axi4_to_ahb.scala 192:46]
io.axi_rvalid <= _T_36 @[axi4_to_ahb.scala 192:17]
node _T_37 = bits(slave_opc, 0, 0) @[axi4_to_ahb.scala 193:32]
node _T_38 = bits(slave_opc, 1, 1) @[axi4_to_ahb.scala 193:59]
node _T_39 = mux(_T_38, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 193:49]
node _T_40 = mux(_T_37, UInt<2>("h02"), _T_39) @[axi4_to_ahb.scala 193:22]
io.axi_rresp <= _T_40 @[axi4_to_ahb.scala 193:16]
node _T_41 = bits(slave_tag, 0, 0) @[axi4_to_ahb.scala 194:26]
io.axi_rid <= _T_41 @[axi4_to_ahb.scala 194:14]
node _T_42 = bits(slave_rdata, 63, 0) @[axi4_to_ahb.scala 195:30]
io.axi_rdata <= _T_42 @[axi4_to_ahb.scala 195:16]
node _T_43 = and(io.axi_bready, io.axi_rready) @[axi4_to_ahb.scala 196:32]
slave_ready <= _T_43 @[axi4_to_ahb.scala 196:15]
node _T_44 = and(io.axi_awvalid, io.axi_awready) @[axi4_to_ahb.scala 199:56]
node _T_45 = and(io.axi_wvalid, io.axi_wready) @[axi4_to_ahb.scala 199:91]
node _T_46 = or(_T_44, _T_45) @[axi4_to_ahb.scala 199:74]
node _T_47 = and(io.bus_clk_en, _T_46) @[axi4_to_ahb.scala 199:37]
bus_write_clk_en <= _T_47 @[axi4_to_ahb.scala 199: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 201:11]
node _T_48 = bits(bus_write_clk_en, 0, 0) @[axi4_to_ahb.scala 202: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_48 @[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 202:17]
io.ahb_htrans <= UInt<1>("h00") @[axi4_to_ahb.scala 205:17]
master_ready <= UInt<1>("h00") @[axi4_to_ahb.scala 206:16]
buf_state_en <= UInt<1>("h00") @[axi4_to_ahb.scala 207:16]
buf_nxtstate <= UInt<3>("h00") @[axi4_to_ahb.scala 208:18]
buf_data_wr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 210:18]
slvbuf_error_in <= UInt<1>("h00") @[axi4_to_ahb.scala 211:21]
slvbuf_error_en <= UInt<1>("h00") @[axi4_to_ahb.scala 212:21]
buf_write_in <= UInt<1>("h00") @[axi4_to_ahb.scala 213:18]
cmd_done <= UInt<1>("h00") @[axi4_to_ahb.scala 214:18]
trxn_done <= UInt<1>("h00") @[axi4_to_ahb.scala 215:18]
buf_cmd_byte_ptr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 216:23]
buf_cmd_byte_ptr <= UInt<1>("h00") @[axi4_to_ahb.scala 217:20]
slave_valid_pre <= UInt<1>("h00") @[axi4_to_ahb.scala 218:21]
slvbuf_wr_en <= UInt<1>("h00") @[axi4_to_ahb.scala 219:19]
bypass_en <= UInt<1>("h00") @[axi4_to_ahb.scala 220:20]
rd_bypass_idle <= UInt<1>("h00") @[axi4_to_ahb.scala 221:18]
node _T_49 = eq(UInt<3>("h00"), buf_state) @[Conditional.scala 37:30]
when _T_49 : @[Conditional.scala 40:58]
master_ready <= UInt<1>("h01") @[axi4_to_ahb.scala 225:20]
node _T_50 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 226:34]
node _T_51 = eq(_T_50, UInt<1>("h01")) @[axi4_to_ahb.scala 226:41]
buf_write_in <= _T_51 @[axi4_to_ahb.scala 226:20]
node _T_52 = bits(buf_write_in, 0, 0) @[axi4_to_ahb.scala 227:46]
node _T_53 = mux(_T_52, UInt<3>("h02"), UInt<3>("h01")) @[axi4_to_ahb.scala 227:26]
buf_nxtstate <= _T_53 @[axi4_to_ahb.scala 227:20]
node _T_54 = and(master_valid, UInt<1>("h01")) @[axi4_to_ahb.scala 228:36]
buf_state_en <= _T_54 @[axi4_to_ahb.scala 228:20]
buf_wr_en <= buf_state_en @[axi4_to_ahb.scala 229:17]
node _T_55 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 230:54]
node _T_56 = and(buf_state_en, _T_55) @[axi4_to_ahb.scala 230:38]
buf_data_wr_en <= _T_56 @[axi4_to_ahb.scala 230:22]
buf_cmd_byte_ptr_en <= buf_state_en @[axi4_to_ahb.scala 231:27]
node _T_57 = bits(buf_write_in, 0, 0) @[axi4_to_ahb.scala 233:50]
node _T_58 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 233:94]
node _T_59 = add(UInt<3>("h00"), UInt<1>("h01")) @[axi4_to_ahb.scala 174:52]
node _T_60 = tail(_T_59, 1) @[axi4_to_ahb.scala 174:52]
node _T_61 = mux(UInt<1>("h00"), _T_60, UInt<3>("h00")) @[axi4_to_ahb.scala 174:24]
node _T_62 = bits(_T_58, 0, 0) @[axi4_to_ahb.scala 175:44]
node _T_63 = geq(UInt<1>("h00"), _T_61) @[axi4_to_ahb.scala 175:62]
node _T_64 = and(_T_62, _T_63) @[axi4_to_ahb.scala 175:48]
node _T_65 = bits(_T_58, 1, 1) @[axi4_to_ahb.scala 175:44]
node _T_66 = geq(UInt<1>("h01"), _T_61) @[axi4_to_ahb.scala 175:62]
node _T_67 = and(_T_65, _T_66) @[axi4_to_ahb.scala 175:48]
node _T_68 = bits(_T_58, 2, 2) @[axi4_to_ahb.scala 175:44]
node _T_69 = geq(UInt<2>("h02"), _T_61) @[axi4_to_ahb.scala 175:62]
node _T_70 = and(_T_68, _T_69) @[axi4_to_ahb.scala 175:48]
node _T_71 = bits(_T_58, 3, 3) @[axi4_to_ahb.scala 175:44]
node _T_72 = geq(UInt<2>("h03"), _T_61) @[axi4_to_ahb.scala 175:62]
node _T_73 = and(_T_71, _T_72) @[axi4_to_ahb.scala 175:48]
node _T_74 = bits(_T_58, 4, 4) @[axi4_to_ahb.scala 175:44]
node _T_75 = geq(UInt<3>("h04"), _T_61) @[axi4_to_ahb.scala 175:62]
node _T_76 = and(_T_74, _T_75) @[axi4_to_ahb.scala 175:48]
node _T_77 = bits(_T_58, 5, 5) @[axi4_to_ahb.scala 175:44]
node _T_78 = geq(UInt<3>("h05"), _T_61) @[axi4_to_ahb.scala 175:62]
node _T_79 = and(_T_77, _T_78) @[axi4_to_ahb.scala 175:48]
node _T_80 = bits(_T_58, 6, 6) @[axi4_to_ahb.scala 175:44]
node _T_81 = geq(UInt<3>("h06"), _T_61) @[axi4_to_ahb.scala 175:62]
node _T_82 = and(_T_80, _T_81) @[axi4_to_ahb.scala 175:48]
node _T_83 = bits(_T_58, 7, 7) @[axi4_to_ahb.scala 175:44]
node _T_84 = geq(UInt<3>("h07"), _T_61) @[axi4_to_ahb.scala 175:62]
node _T_85 = and(_T_83, _T_84) @[axi4_to_ahb.scala 175:48]
node _T_86 = mux(_T_85, UInt<3>("h07"), UInt<3>("h07")) @[Mux.scala 98:16]
node _T_87 = mux(_T_82, UInt<3>("h06"), _T_86) @[Mux.scala 98:16]
node _T_88 = mux(_T_79, UInt<3>("h05"), _T_87) @[Mux.scala 98:16]
node _T_89 = mux(_T_76, UInt<3>("h04"), _T_88) @[Mux.scala 98:16]
node _T_90 = mux(_T_73, UInt<2>("h03"), _T_89) @[Mux.scala 98:16]
node _T_91 = mux(_T_70, UInt<2>("h02"), _T_90) @[Mux.scala 98:16]
node _T_92 = mux(_T_67, UInt<1>("h01"), _T_91) @[Mux.scala 98:16]
node _T_93 = mux(_T_64, UInt<1>("h00"), _T_92) @[Mux.scala 98:16]
node _T_94 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 233:124]
node _T_95 = mux(_T_57, _T_93, _T_94) @[axi4_to_ahb.scala 233:30]
buf_cmd_byte_ptr <= _T_95 @[axi4_to_ahb.scala 233:24]
bypass_en <= buf_state_en @[axi4_to_ahb.scala 234:17]
node _T_96 = eq(buf_nxtstate, UInt<3>("h01")) @[axi4_to_ahb.scala 235:51]
node _T_97 = and(bypass_en, _T_96) @[axi4_to_ahb.scala 235:35]
rd_bypass_idle <= _T_97 @[axi4_to_ahb.scala 235:22]
node _T_98 = bits(bypass_en, 0, 0) @[Bitwise.scala 72:15]
node _T_99 = mux(_T_98, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_100 = and(_T_99, UInt<2>("h02")) @[axi4_to_ahb.scala 236:45]
io.ahb_htrans <= _T_100 @[axi4_to_ahb.scala 236:21]
skip @[Conditional.scala 40:58]
else : @[Conditional.scala 39:67]
node _T_101 = eq(UInt<3>("h01"), buf_state) @[Conditional.scala 37:30]
when _T_101 : @[Conditional.scala 39:67]
node _T_102 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 240:54]
node _T_103 = eq(_T_102, UInt<1>("h00")) @[axi4_to_ahb.scala 240:61]
node _T_104 = and(master_valid, _T_103) @[axi4_to_ahb.scala 240:41]
node _T_105 = bits(_T_104, 0, 0) @[axi4_to_ahb.scala 240:82]
node _T_106 = mux(_T_105, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 240:26]
buf_nxtstate <= _T_106 @[axi4_to_ahb.scala 240:20]
node _T_107 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 241:51]
node _T_108 = neq(_T_107, UInt<1>("h00")) @[axi4_to_ahb.scala 241:58]
node _T_109 = and(ahb_hready_q, _T_108) @[axi4_to_ahb.scala 241:36]
node _T_110 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 241:72]
node _T_111 = and(_T_109, _T_110) @[axi4_to_ahb.scala 241:70]
buf_state_en <= _T_111 @[axi4_to_ahb.scala 241:20]
node _T_112 = eq(master_valid, UInt<1>("h00")) @[axi4_to_ahb.scala 242:34]
node _T_113 = and(buf_state_en, _T_112) @[axi4_to_ahb.scala 242:32]
cmd_done <= _T_113 @[axi4_to_ahb.scala 242:16]
slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 243:20]
node _T_114 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 244:52]
node _T_115 = neq(_T_114, UInt<1>("h00")) @[axi4_to_ahb.scala 244:59]
node _T_116 = and(ahb_hready_q, _T_115) @[axi4_to_ahb.scala 244:37]
node _T_117 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 244:73]
node _T_118 = and(_T_116, _T_117) @[axi4_to_ahb.scala 244:71]
node _T_119 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 244:122]
node _T_120 = eq(_T_119, UInt<1>("h00")) @[axi4_to_ahb.scala 244:129]
node _T_121 = and(master_valid, _T_120) @[axi4_to_ahb.scala 244:109]
node _T_122 = bits(_T_121, 0, 0) @[axi4_to_ahb.scala 244:150]
node _T_123 = mux(_T_122, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 244:94]
node _T_124 = eq(_T_123, UInt<3>("h06")) @[axi4_to_ahb.scala 244:174]
node _T_125 = and(_T_118, _T_124) @[axi4_to_ahb.scala 244:88]
master_ready <= _T_125 @[axi4_to_ahb.scala 244:20]
buf_wr_en <= master_ready @[axi4_to_ahb.scala 245:17]
node _T_126 = and(master_ready, master_valid) @[axi4_to_ahb.scala 246:33]
bypass_en <= _T_126 @[axi4_to_ahb.scala 246:17]
node _T_127 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 247:47]
node _T_128 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 247:62]
node _T_129 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 247:78]
node _T_130 = mux(_T_127, _T_128, _T_129) @[axi4_to_ahb.scala 247:30]
buf_cmd_byte_ptr <= _T_130 @[axi4_to_ahb.scala 247:24]
node _T_131 = eq(buf_state_en, UInt<1>("h00")) @[axi4_to_ahb.scala 248:44]
node _T_132 = or(_T_131, bypass_en) @[axi4_to_ahb.scala 248:58]
node _T_133 = bits(_T_132, 0, 0) @[Bitwise.scala 72:15]
node _T_134 = mux(_T_133, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_135 = and(UInt<2>("h02"), _T_134) @[axi4_to_ahb.scala 248:32]
io.ahb_htrans <= _T_135 @[axi4_to_ahb.scala 248:21]
skip @[Conditional.scala 39:67]
else : @[Conditional.scala 39:67]
node _T_136 = eq(UInt<3>("h06"), buf_state) @[Conditional.scala 37:30]
when _T_136 : @[Conditional.scala 39:67]
node _T_137 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 252:39]
node _T_138 = and(ahb_hready_q, _T_137) @[axi4_to_ahb.scala 252:37]
node _T_139 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 252:82]
node _T_140 = eq(_T_139, UInt<1>("h01")) @[axi4_to_ahb.scala 252:89]
node _T_141 = and(master_valid, _T_140) @[axi4_to_ahb.scala 252:70]
node _T_142 = not(_T_141) @[axi4_to_ahb.scala 252:55]
node _T_143 = and(_T_138, _T_142) @[axi4_to_ahb.scala 252:53]
master_ready <= _T_143 @[axi4_to_ahb.scala 252:20]
node _T_144 = and(master_valid, master_ready) @[axi4_to_ahb.scala 253:34]
node _T_145 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 253:62]
node _T_146 = eq(_T_145, UInt<1>("h00")) @[axi4_to_ahb.scala 253:69]
node _T_147 = and(_T_144, _T_146) @[axi4_to_ahb.scala 253:49]
buf_wr_en <= _T_147 @[axi4_to_ahb.scala 253:17]
node _T_148 = bits(ahb_hresp_q, 0, 0) @[axi4_to_ahb.scala 254:45]
node _T_149 = and(master_valid, master_ready) @[axi4_to_ahb.scala 254:82]
node _T_150 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 254:110]
node _T_151 = eq(_T_150, UInt<1>("h00")) @[axi4_to_ahb.scala 254:117]
node _T_152 = and(_T_149, _T_151) @[axi4_to_ahb.scala 254:97]
node _T_153 = bits(_T_152, 0, 0) @[axi4_to_ahb.scala 254:138]
node _T_154 = mux(_T_153, UInt<3>("h06"), UInt<3>("h03")) @[axi4_to_ahb.scala 254:67]
node _T_155 = mux(_T_148, UInt<3>("h07"), _T_154) @[axi4_to_ahb.scala 254:26]
buf_nxtstate <= _T_155 @[axi4_to_ahb.scala 254:20]
node _T_156 = or(ahb_hready_q, ahb_hresp_q) @[axi4_to_ahb.scala 255:37]
buf_state_en <= _T_156 @[axi4_to_ahb.scala 255:20]
buf_data_wr_en <= buf_state_en @[axi4_to_ahb.scala 256:22]
slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 257:23]
slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 258:23]
node _T_157 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 259:41]
node _T_158 = and(buf_state_en, _T_157) @[axi4_to_ahb.scala 259:39]
slave_valid_pre <= _T_158 @[axi4_to_ahb.scala 259:23]
node _T_159 = eq(master_valid, UInt<1>("h00")) @[axi4_to_ahb.scala 260:34]
node _T_160 = and(buf_state_en, _T_159) @[axi4_to_ahb.scala 260:32]
cmd_done <= _T_160 @[axi4_to_ahb.scala 260:16]
node _T_161 = and(master_ready, master_valid) @[axi4_to_ahb.scala 261:33]
node _T_162 = eq(buf_nxtstate, UInt<3>("h06")) @[axi4_to_ahb.scala 261:64]
node _T_163 = and(_T_161, _T_162) @[axi4_to_ahb.scala 261:48]
node _T_164 = and(_T_163, buf_state_en) @[axi4_to_ahb.scala 261:79]
bypass_en <= _T_164 @[axi4_to_ahb.scala 261:17]
node _T_165 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 262:47]
node _T_166 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 262:62]
node _T_167 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 262:78]
node _T_168 = mux(_T_165, _T_166, _T_167) @[axi4_to_ahb.scala 262:30]
buf_cmd_byte_ptr <= _T_168 @[axi4_to_ahb.scala 262:24]
node _T_169 = neq(buf_nxtstate, UInt<3>("h06")) @[axi4_to_ahb.scala 263:59]
node _T_170 = and(_T_169, buf_state_en) @[axi4_to_ahb.scala 263:74]
node _T_171 = eq(_T_170, UInt<1>("h00")) @[axi4_to_ahb.scala 263:43]
node _T_172 = bits(_T_171, 0, 0) @[Bitwise.scala 72:15]
node _T_173 = mux(_T_172, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_174 = and(UInt<2>("h02"), _T_173) @[axi4_to_ahb.scala 263:32]
io.ahb_htrans <= _T_174 @[axi4_to_ahb.scala 263:21]
slvbuf_wr_en <= buf_wr_en @[axi4_to_ahb.scala 264:20]
skip @[Conditional.scala 39:67]
else : @[Conditional.scala 39:67]
node _T_175 = eq(UInt<3>("h07"), buf_state) @[Conditional.scala 37:30]
when _T_175 : @[Conditional.scala 39:67]
buf_nxtstate <= UInt<3>("h03") @[axi4_to_ahb.scala 268:20]
node _T_176 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 269:51]
node _T_177 = neq(_T_176, UInt<1>("h00")) @[axi4_to_ahb.scala 269:58]
node _T_178 = and(ahb_hready_q, _T_177) @[axi4_to_ahb.scala 269:36]
node _T_179 = eq(ahb_hwrite_q, UInt<1>("h00")) @[axi4_to_ahb.scala 269:72]
node _T_180 = and(_T_178, _T_179) @[axi4_to_ahb.scala 269:70]
buf_state_en <= _T_180 @[axi4_to_ahb.scala 269:20]
slave_valid_pre <= buf_state_en @[axi4_to_ahb.scala 270:23]
slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 271:20]
node _T_181 = bits(buf_addr, 2, 0) @[axi4_to_ahb.scala 272:35]
buf_cmd_byte_ptr <= _T_181 @[axi4_to_ahb.scala 272:24]
node _T_182 = eq(buf_state_en, UInt<1>("h00")) @[axi4_to_ahb.scala 273:47]
node _T_183 = bits(_T_182, 0, 0) @[Bitwise.scala 72:15]
node _T_184 = mux(_T_183, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_185 = and(UInt<2>("h02"), _T_184) @[axi4_to_ahb.scala 273:37]
io.ahb_htrans <= _T_185 @[axi4_to_ahb.scala 273:21]
skip @[Conditional.scala 39:67]
else : @[Conditional.scala 39:67]
node _T_186 = eq(UInt<3>("h03"), buf_state) @[Conditional.scala 37:30]
when _T_186 : @[Conditional.scala 39:67]
buf_nxtstate <= UInt<3>("h05") @[axi4_to_ahb.scala 277:20]
node _T_187 = or(ahb_hready_q, ahb_hresp_q) @[axi4_to_ahb.scala 278:37]
buf_state_en <= _T_187 @[axi4_to_ahb.scala 278:20]
buf_data_wr_en <= buf_state_en @[axi4_to_ahb.scala 279:22]
slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 280:23]
slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 281:23]
slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 282:20]
skip @[Conditional.scala 39:67]
else : @[Conditional.scala 39:67]
node _T_188 = eq(UInt<3>("h02"), buf_state) @[Conditional.scala 37:30]
when _T_188 : @[Conditional.scala 39:67]
buf_nxtstate <= UInt<3>("h04") @[axi4_to_ahb.scala 286:20]
node _T_189 = and(ahb_hready_q, ahb_hwrite_q) @[axi4_to_ahb.scala 287:33]
node _T_190 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 287:63]
node _T_191 = neq(_T_190, UInt<1>("h00")) @[axi4_to_ahb.scala 287:70]
node _T_192 = and(_T_189, _T_191) @[axi4_to_ahb.scala 287:48]
trxn_done <= _T_192 @[axi4_to_ahb.scala 287:17]
buf_state_en <= trxn_done @[axi4_to_ahb.scala 288:20]
buf_cmd_byte_ptr_en <= buf_state_en @[axi4_to_ahb.scala 289:27]
slvbuf_wr_en <= buf_state_en @[axi4_to_ahb.scala 290:20]
node _T_193 = bits(trxn_done, 0, 0) @[axi4_to_ahb.scala 291:47]
node _T_194 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 291:85]
node _T_195 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 291:103]
node _T_196 = add(_T_194, UInt<1>("h01")) @[axi4_to_ahb.scala 174:52]
node _T_197 = tail(_T_196, 1) @[axi4_to_ahb.scala 174:52]
node _T_198 = mux(UInt<1>("h01"), _T_197, _T_194) @[axi4_to_ahb.scala 174:24]
node _T_199 = bits(_T_195, 0, 0) @[axi4_to_ahb.scala 175:44]
node _T_200 = geq(UInt<1>("h00"), _T_198) @[axi4_to_ahb.scala 175:62]
node _T_201 = and(_T_199, _T_200) @[axi4_to_ahb.scala 175:48]
node _T_202 = bits(_T_195, 1, 1) @[axi4_to_ahb.scala 175:44]
node _T_203 = geq(UInt<1>("h01"), _T_198) @[axi4_to_ahb.scala 175:62]
node _T_204 = and(_T_202, _T_203) @[axi4_to_ahb.scala 175:48]
node _T_205 = bits(_T_195, 2, 2) @[axi4_to_ahb.scala 175:44]
node _T_206 = geq(UInt<2>("h02"), _T_198) @[axi4_to_ahb.scala 175:62]
node _T_207 = and(_T_205, _T_206) @[axi4_to_ahb.scala 175:48]
node _T_208 = bits(_T_195, 3, 3) @[axi4_to_ahb.scala 175:44]
node _T_209 = geq(UInt<2>("h03"), _T_198) @[axi4_to_ahb.scala 175:62]
node _T_210 = and(_T_208, _T_209) @[axi4_to_ahb.scala 175:48]
node _T_211 = bits(_T_195, 4, 4) @[axi4_to_ahb.scala 175:44]
node _T_212 = geq(UInt<3>("h04"), _T_198) @[axi4_to_ahb.scala 175:62]
node _T_213 = and(_T_211, _T_212) @[axi4_to_ahb.scala 175:48]
node _T_214 = bits(_T_195, 5, 5) @[axi4_to_ahb.scala 175:44]
node _T_215 = geq(UInt<3>("h05"), _T_198) @[axi4_to_ahb.scala 175:62]
node _T_216 = and(_T_214, _T_215) @[axi4_to_ahb.scala 175:48]
node _T_217 = bits(_T_195, 6, 6) @[axi4_to_ahb.scala 175:44]
node _T_218 = geq(UInt<3>("h06"), _T_198) @[axi4_to_ahb.scala 175:62]
node _T_219 = and(_T_217, _T_218) @[axi4_to_ahb.scala 175:48]
node _T_220 = bits(_T_195, 7, 7) @[axi4_to_ahb.scala 175:44]
node _T_221 = geq(UInt<3>("h07"), _T_198) @[axi4_to_ahb.scala 175:62]
node _T_222 = and(_T_220, _T_221) @[axi4_to_ahb.scala 175:48]
node _T_223 = mux(_T_222, UInt<3>("h07"), UInt<3>("h07")) @[Mux.scala 98:16]
node _T_224 = mux(_T_219, UInt<3>("h06"), _T_223) @[Mux.scala 98:16]
node _T_225 = mux(_T_216, UInt<3>("h05"), _T_224) @[Mux.scala 98:16]
node _T_226 = mux(_T_213, UInt<3>("h04"), _T_225) @[Mux.scala 98:16]
node _T_227 = mux(_T_210, UInt<2>("h03"), _T_226) @[Mux.scala 98:16]
node _T_228 = mux(_T_207, UInt<2>("h02"), _T_227) @[Mux.scala 98:16]
node _T_229 = mux(_T_204, UInt<1>("h01"), _T_228) @[Mux.scala 98:16]
node _T_230 = mux(_T_201, UInt<1>("h00"), _T_229) @[Mux.scala 98:16]
node _T_231 = mux(_T_193, _T_230, buf_cmd_byte_ptrQ) @[axi4_to_ahb.scala 291:30]
buf_cmd_byte_ptr <= _T_231 @[axi4_to_ahb.scala 291:24]
node _T_232 = eq(buf_cmd_byte_ptrQ, UInt<3>("h07")) @[axi4_to_ahb.scala 292:65]
node _T_233 = or(buf_aligned, _T_232) @[axi4_to_ahb.scala 292:44]
node _T_234 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 292:127]
node _T_235 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 292:145]
node _T_236 = add(_T_234, UInt<1>("h01")) @[axi4_to_ahb.scala 174:52]
node _T_237 = tail(_T_236, 1) @[axi4_to_ahb.scala 174:52]
node _T_238 = mux(UInt<1>("h01"), _T_237, _T_234) @[axi4_to_ahb.scala 174:24]
node _T_239 = bits(_T_235, 0, 0) @[axi4_to_ahb.scala 175:44]
node _T_240 = geq(UInt<1>("h00"), _T_238) @[axi4_to_ahb.scala 175:62]
node _T_241 = and(_T_239, _T_240) @[axi4_to_ahb.scala 175:48]
node _T_242 = bits(_T_235, 1, 1) @[axi4_to_ahb.scala 175:44]
node _T_243 = geq(UInt<1>("h01"), _T_238) @[axi4_to_ahb.scala 175:62]
node _T_244 = and(_T_242, _T_243) @[axi4_to_ahb.scala 175:48]
node _T_245 = bits(_T_235, 2, 2) @[axi4_to_ahb.scala 175:44]
node _T_246 = geq(UInt<2>("h02"), _T_238) @[axi4_to_ahb.scala 175:62]
node _T_247 = and(_T_245, _T_246) @[axi4_to_ahb.scala 175:48]
node _T_248 = bits(_T_235, 3, 3) @[axi4_to_ahb.scala 175:44]
node _T_249 = geq(UInt<2>("h03"), _T_238) @[axi4_to_ahb.scala 175:62]
node _T_250 = and(_T_248, _T_249) @[axi4_to_ahb.scala 175:48]
node _T_251 = bits(_T_235, 4, 4) @[axi4_to_ahb.scala 175:44]
node _T_252 = geq(UInt<3>("h04"), _T_238) @[axi4_to_ahb.scala 175:62]
node _T_253 = and(_T_251, _T_252) @[axi4_to_ahb.scala 175:48]
node _T_254 = bits(_T_235, 5, 5) @[axi4_to_ahb.scala 175:44]
node _T_255 = geq(UInt<3>("h05"), _T_238) @[axi4_to_ahb.scala 175:62]
node _T_256 = and(_T_254, _T_255) @[axi4_to_ahb.scala 175:48]
node _T_257 = bits(_T_235, 6, 6) @[axi4_to_ahb.scala 175:44]
node _T_258 = geq(UInt<3>("h06"), _T_238) @[axi4_to_ahb.scala 175:62]
node _T_259 = and(_T_257, _T_258) @[axi4_to_ahb.scala 175:48]
node _T_260 = bits(_T_235, 7, 7) @[axi4_to_ahb.scala 175:44]
node _T_261 = geq(UInt<3>("h07"), _T_238) @[axi4_to_ahb.scala 175:62]
node _T_262 = and(_T_260, _T_261) @[axi4_to_ahb.scala 175:48]
node _T_263 = mux(_T_262, UInt<3>("h07"), UInt<3>("h07")) @[Mux.scala 98:16]
node _T_264 = mux(_T_259, UInt<3>("h06"), _T_263) @[Mux.scala 98:16]
node _T_265 = mux(_T_256, UInt<3>("h05"), _T_264) @[Mux.scala 98:16]
node _T_266 = mux(_T_253, UInt<3>("h04"), _T_265) @[Mux.scala 98:16]
node _T_267 = mux(_T_250, UInt<2>("h03"), _T_266) @[Mux.scala 98:16]
node _T_268 = mux(_T_247, UInt<2>("h02"), _T_267) @[Mux.scala 98:16]
node _T_269 = mux(_T_244, UInt<1>("h01"), _T_268) @[Mux.scala 98:16]
node _T_270 = mux(_T_241, UInt<1>("h00"), _T_269) @[Mux.scala 98:16]
node _T_271 = dshr(buf_byteen, _T_270) @[axi4_to_ahb.scala 292:92]
node _T_272 = bits(_T_271, 0, 0) @[axi4_to_ahb.scala 292:92]
node _T_273 = eq(_T_272, UInt<1>("h00")) @[axi4_to_ahb.scala 292:163]
node _T_274 = or(_T_233, _T_273) @[axi4_to_ahb.scala 292:79]
node _T_275 = and(trxn_done, _T_274) @[axi4_to_ahb.scala 292:29]
cmd_done <= _T_275 @[axi4_to_ahb.scala 292:16]
node _T_276 = or(cmd_done, cmd_doneQ) @[axi4_to_ahb.scala 293:43]
node _T_277 = eq(_T_276, UInt<1>("h00")) @[axi4_to_ahb.scala 293:32]
node _T_278 = bits(_T_277, 0, 0) @[Bitwise.scala 72:15]
node _T_279 = mux(_T_278, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_280 = and(_T_279, UInt<2>("h02")) @[axi4_to_ahb.scala 293:57]
io.ahb_htrans <= _T_280 @[axi4_to_ahb.scala 293:21]
skip @[Conditional.scala 39:67]
else : @[Conditional.scala 39:67]
node _T_281 = eq(UInt<3>("h04"), buf_state) @[Conditional.scala 37:30]
when _T_281 : @[Conditional.scala 39:67]
node _T_282 = and(cmd_doneQ, ahb_hready_q) @[axi4_to_ahb.scala 297:34]
node _T_283 = or(_T_282, ahb_hresp_q) @[axi4_to_ahb.scala 297:50]
buf_state_en <= _T_283 @[axi4_to_ahb.scala 297:20]
node _T_284 = eq(ahb_hresp_q, UInt<1>("h00")) @[axi4_to_ahb.scala 298:38]
node _T_285 = and(buf_state_en, _T_284) @[axi4_to_ahb.scala 298:36]
node _T_286 = and(_T_285, slave_ready) @[axi4_to_ahb.scala 298:51]
master_ready <= _T_286 @[axi4_to_ahb.scala 298:20]
node _T_287 = eq(slave_ready, UInt<1>("h00")) @[axi4_to_ahb.scala 299:42]
node _T_288 = or(ahb_hresp_q, _T_287) @[axi4_to_ahb.scala 299:40]
node _T_289 = and(master_valid, master_valid) @[axi4_to_ahb.scala 299:80]
node _T_290 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 299:111]
node _T_291 = eq(_T_290, UInt<1>("h01")) @[axi4_to_ahb.scala 299:117]
node _T_292 = bits(_T_291, 0, 0) @[axi4_to_ahb.scala 299:132]
node _T_293 = mux(_T_292, UInt<3>("h02"), UInt<3>("h01")) @[axi4_to_ahb.scala 299:99]
node _T_294 = mux(_T_289, _T_293, UInt<3>("h00")) @[axi4_to_ahb.scala 299:65]
node _T_295 = mux(_T_288, UInt<3>("h05"), _T_294) @[axi4_to_ahb.scala 299:26]
buf_nxtstate <= _T_295 @[axi4_to_ahb.scala 299:20]
slvbuf_error_in <= ahb_hresp_q @[axi4_to_ahb.scala 300:23]
slvbuf_error_en <= buf_state_en @[axi4_to_ahb.scala 301:23]
node _T_296 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 302:33]
node _T_297 = eq(_T_296, UInt<1>("h01")) @[axi4_to_ahb.scala 302:39]
buf_write_in <= _T_297 @[axi4_to_ahb.scala 302:20]
node _T_298 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 303:50]
node _T_299 = eq(buf_nxtstate, UInt<3>("h01")) @[axi4_to_ahb.scala 303:78]
node _T_300 = or(_T_298, _T_299) @[axi4_to_ahb.scala 303:62]
node _T_301 = and(buf_state_en, _T_300) @[axi4_to_ahb.scala 303:33]
buf_wr_en <= _T_301 @[axi4_to_ahb.scala 303:17]
buf_data_wr_en <= buf_wr_en @[axi4_to_ahb.scala 304:22]
node _T_302 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 305:65]
node _T_303 = neq(_T_302, UInt<1>("h00")) @[axi4_to_ahb.scala 305:71]
node _T_304 = and(ahb_hready_q, _T_303) @[axi4_to_ahb.scala 305:50]
node _T_305 = eq(buf_cmd_byte_ptrQ, UInt<3>("h07")) @[axi4_to_ahb.scala 306:29]
node _T_306 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 306:85]
node _T_307 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 306:101]
node _T_308 = add(_T_306, UInt<1>("h01")) @[axi4_to_ahb.scala 174:52]
node _T_309 = tail(_T_308, 1) @[axi4_to_ahb.scala 174:52]
node _T_310 = mux(UInt<1>("h01"), _T_309, _T_306) @[axi4_to_ahb.scala 174:24]
node _T_311 = bits(_T_307, 0, 0) @[axi4_to_ahb.scala 175:44]
node _T_312 = geq(UInt<1>("h00"), _T_310) @[axi4_to_ahb.scala 175:62]
node _T_313 = and(_T_311, _T_312) @[axi4_to_ahb.scala 175:48]
node _T_314 = bits(_T_307, 1, 1) @[axi4_to_ahb.scala 175:44]
node _T_315 = geq(UInt<1>("h01"), _T_310) @[axi4_to_ahb.scala 175:62]
node _T_316 = and(_T_314, _T_315) @[axi4_to_ahb.scala 175:48]
node _T_317 = bits(_T_307, 2, 2) @[axi4_to_ahb.scala 175:44]
node _T_318 = geq(UInt<2>("h02"), _T_310) @[axi4_to_ahb.scala 175:62]
node _T_319 = and(_T_317, _T_318) @[axi4_to_ahb.scala 175:48]
node _T_320 = bits(_T_307, 3, 3) @[axi4_to_ahb.scala 175:44]
node _T_321 = geq(UInt<2>("h03"), _T_310) @[axi4_to_ahb.scala 175:62]
node _T_322 = and(_T_320, _T_321) @[axi4_to_ahb.scala 175:48]
node _T_323 = bits(_T_307, 4, 4) @[axi4_to_ahb.scala 175:44]
node _T_324 = geq(UInt<3>("h04"), _T_310) @[axi4_to_ahb.scala 175:62]
node _T_325 = and(_T_323, _T_324) @[axi4_to_ahb.scala 175:48]
node _T_326 = bits(_T_307, 5, 5) @[axi4_to_ahb.scala 175:44]
node _T_327 = geq(UInt<3>("h05"), _T_310) @[axi4_to_ahb.scala 175:62]
node _T_328 = and(_T_326, _T_327) @[axi4_to_ahb.scala 175:48]
node _T_329 = bits(_T_307, 6, 6) @[axi4_to_ahb.scala 175:44]
node _T_330 = geq(UInt<3>("h06"), _T_310) @[axi4_to_ahb.scala 175:62]
node _T_331 = and(_T_329, _T_330) @[axi4_to_ahb.scala 175:48]
node _T_332 = bits(_T_307, 7, 7) @[axi4_to_ahb.scala 175:44]
node _T_333 = geq(UInt<3>("h07"), _T_310) @[axi4_to_ahb.scala 175:62]
node _T_334 = and(_T_332, _T_333) @[axi4_to_ahb.scala 175:48]
node _T_335 = mux(_T_334, UInt<3>("h07"), UInt<3>("h07")) @[Mux.scala 98:16]
node _T_336 = mux(_T_331, UInt<3>("h06"), _T_335) @[Mux.scala 98:16]
node _T_337 = mux(_T_328, UInt<3>("h05"), _T_336) @[Mux.scala 98:16]
node _T_338 = mux(_T_325, UInt<3>("h04"), _T_337) @[Mux.scala 98:16]
node _T_339 = mux(_T_322, UInt<2>("h03"), _T_338) @[Mux.scala 98:16]
node _T_340 = mux(_T_319, UInt<2>("h02"), _T_339) @[Mux.scala 98:16]
node _T_341 = mux(_T_316, UInt<1>("h01"), _T_340) @[Mux.scala 98:16]
node _T_342 = mux(_T_313, UInt<1>("h00"), _T_341) @[Mux.scala 98:16]
node _T_343 = dshr(buf_byteen, _T_342) @[axi4_to_ahb.scala 306:51]
node _T_344 = bits(_T_343, 0, 0) @[axi4_to_ahb.scala 306:51]
node _T_345 = eq(_T_344, UInt<1>("h00")) @[axi4_to_ahb.scala 306:116]
node _T_346 = or(_T_305, _T_345) @[axi4_to_ahb.scala 306:38]
node _T_347 = and(_T_304, _T_346) @[axi4_to_ahb.scala 305:80]
node _T_348 = or(ahb_hresp_q, _T_347) @[axi4_to_ahb.scala 305:34]
cmd_done <= _T_348 @[axi4_to_ahb.scala 305:16]
node _T_349 = and(buf_state_en, buf_write_in) @[axi4_to_ahb.scala 307:33]
node _T_350 = eq(buf_nxtstate, UInt<3>("h02")) @[axi4_to_ahb.scala 307:64]
node _T_351 = and(_T_349, _T_350) @[axi4_to_ahb.scala 307:48]
bypass_en <= _T_351 @[axi4_to_ahb.scala 307:17]
node _T_352 = or(cmd_done, cmd_doneQ) @[axi4_to_ahb.scala 308:44]
node _T_353 = eq(_T_352, UInt<1>("h00")) @[axi4_to_ahb.scala 308:33]
node _T_354 = or(_T_353, bypass_en) @[axi4_to_ahb.scala 308:57]
node _T_355 = bits(_T_354, 0, 0) @[Bitwise.scala 72:15]
node _T_356 = mux(_T_355, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_357 = and(_T_356, UInt<2>("h02")) @[axi4_to_ahb.scala 308:71]
io.ahb_htrans <= _T_357 @[axi4_to_ahb.scala 308:21]
node _T_358 = neq(buf_nxtstate, UInt<3>("h05")) @[axi4_to_ahb.scala 309:55]
node _T_359 = and(buf_state_en, _T_358) @[axi4_to_ahb.scala 309:39]
slave_valid_pre <= _T_359 @[axi4_to_ahb.scala 309:23]
node _T_360 = and(ahb_hready_q, ahb_hwrite_q) @[axi4_to_ahb.scala 310:33]
node _T_361 = bits(ahb_htrans_q, 1, 0) @[axi4_to_ahb.scala 310:63]
node _T_362 = neq(_T_361, UInt<1>("h00")) @[axi4_to_ahb.scala 310:69]
node _T_363 = and(_T_360, _T_362) @[axi4_to_ahb.scala 310:48]
trxn_done <= _T_363 @[axi4_to_ahb.scala 310:17]
node _T_364 = or(trxn_done, bypass_en) @[axi4_to_ahb.scala 311:40]
buf_cmd_byte_ptr_en <= _T_364 @[axi4_to_ahb.scala 311:27]
node _T_365 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 312:79]
node _T_366 = add(UInt<3>("h00"), UInt<1>("h01")) @[axi4_to_ahb.scala 174:52]
node _T_367 = tail(_T_366, 1) @[axi4_to_ahb.scala 174:52]
node _T_368 = mux(UInt<1>("h00"), _T_367, UInt<3>("h00")) @[axi4_to_ahb.scala 174:24]
node _T_369 = bits(_T_365, 0, 0) @[axi4_to_ahb.scala 175:44]
node _T_370 = geq(UInt<1>("h00"), _T_368) @[axi4_to_ahb.scala 175:62]
node _T_371 = and(_T_369, _T_370) @[axi4_to_ahb.scala 175:48]
node _T_372 = bits(_T_365, 1, 1) @[axi4_to_ahb.scala 175:44]
node _T_373 = geq(UInt<1>("h01"), _T_368) @[axi4_to_ahb.scala 175:62]
node _T_374 = and(_T_372, _T_373) @[axi4_to_ahb.scala 175:48]
node _T_375 = bits(_T_365, 2, 2) @[axi4_to_ahb.scala 175:44]
node _T_376 = geq(UInt<2>("h02"), _T_368) @[axi4_to_ahb.scala 175:62]
node _T_377 = and(_T_375, _T_376) @[axi4_to_ahb.scala 175:48]
node _T_378 = bits(_T_365, 3, 3) @[axi4_to_ahb.scala 175:44]
node _T_379 = geq(UInt<2>("h03"), _T_368) @[axi4_to_ahb.scala 175:62]
node _T_380 = and(_T_378, _T_379) @[axi4_to_ahb.scala 175:48]
node _T_381 = bits(_T_365, 4, 4) @[axi4_to_ahb.scala 175:44]
node _T_382 = geq(UInt<3>("h04"), _T_368) @[axi4_to_ahb.scala 175:62]
node _T_383 = and(_T_381, _T_382) @[axi4_to_ahb.scala 175:48]
node _T_384 = bits(_T_365, 5, 5) @[axi4_to_ahb.scala 175:44]
node _T_385 = geq(UInt<3>("h05"), _T_368) @[axi4_to_ahb.scala 175:62]
node _T_386 = and(_T_384, _T_385) @[axi4_to_ahb.scala 175:48]
node _T_387 = bits(_T_365, 6, 6) @[axi4_to_ahb.scala 175:44]
node _T_388 = geq(UInt<3>("h06"), _T_368) @[axi4_to_ahb.scala 175:62]
node _T_389 = and(_T_387, _T_388) @[axi4_to_ahb.scala 175:48]
node _T_390 = bits(_T_365, 7, 7) @[axi4_to_ahb.scala 175:44]
node _T_391 = geq(UInt<3>("h07"), _T_368) @[axi4_to_ahb.scala 175:62]
node _T_392 = and(_T_390, _T_391) @[axi4_to_ahb.scala 175:48]
node _T_393 = mux(_T_392, UInt<3>("h07"), UInt<3>("h07")) @[Mux.scala 98:16]
node _T_394 = mux(_T_389, UInt<3>("h06"), _T_393) @[Mux.scala 98:16]
node _T_395 = mux(_T_386, UInt<3>("h05"), _T_394) @[Mux.scala 98:16]
node _T_396 = mux(_T_383, UInt<3>("h04"), _T_395) @[Mux.scala 98:16]
node _T_397 = mux(_T_380, UInt<2>("h03"), _T_396) @[Mux.scala 98:16]
node _T_398 = mux(_T_377, UInt<2>("h02"), _T_397) @[Mux.scala 98:16]
node _T_399 = mux(_T_374, UInt<1>("h01"), _T_398) @[Mux.scala 98:16]
node _T_400 = mux(_T_371, UInt<1>("h00"), _T_399) @[Mux.scala 98:16]
node _T_401 = bits(buf_cmd_byte_ptrQ, 2, 0) @[axi4_to_ahb.scala 312:141]
node _T_402 = bits(buf_byteen, 7, 0) @[axi4_to_ahb.scala 312:157]
node _T_403 = add(_T_401, UInt<1>("h01")) @[axi4_to_ahb.scala 174:52]
node _T_404 = tail(_T_403, 1) @[axi4_to_ahb.scala 174:52]
node _T_405 = mux(UInt<1>("h01"), _T_404, _T_401) @[axi4_to_ahb.scala 174:24]
node _T_406 = bits(_T_402, 0, 0) @[axi4_to_ahb.scala 175:44]
node _T_407 = geq(UInt<1>("h00"), _T_405) @[axi4_to_ahb.scala 175:62]
node _T_408 = and(_T_406, _T_407) @[axi4_to_ahb.scala 175:48]
node _T_409 = bits(_T_402, 1, 1) @[axi4_to_ahb.scala 175:44]
node _T_410 = geq(UInt<1>("h01"), _T_405) @[axi4_to_ahb.scala 175:62]
node _T_411 = and(_T_409, _T_410) @[axi4_to_ahb.scala 175:48]
node _T_412 = bits(_T_402, 2, 2) @[axi4_to_ahb.scala 175:44]
node _T_413 = geq(UInt<2>("h02"), _T_405) @[axi4_to_ahb.scala 175:62]
node _T_414 = and(_T_412, _T_413) @[axi4_to_ahb.scala 175:48]
node _T_415 = bits(_T_402, 3, 3) @[axi4_to_ahb.scala 175:44]
node _T_416 = geq(UInt<2>("h03"), _T_405) @[axi4_to_ahb.scala 175:62]
node _T_417 = and(_T_415, _T_416) @[axi4_to_ahb.scala 175:48]
node _T_418 = bits(_T_402, 4, 4) @[axi4_to_ahb.scala 175:44]
node _T_419 = geq(UInt<3>("h04"), _T_405) @[axi4_to_ahb.scala 175:62]
node _T_420 = and(_T_418, _T_419) @[axi4_to_ahb.scala 175:48]
node _T_421 = bits(_T_402, 5, 5) @[axi4_to_ahb.scala 175:44]
node _T_422 = geq(UInt<3>("h05"), _T_405) @[axi4_to_ahb.scala 175:62]
node _T_423 = and(_T_421, _T_422) @[axi4_to_ahb.scala 175:48]
node _T_424 = bits(_T_402, 6, 6) @[axi4_to_ahb.scala 175:44]
node _T_425 = geq(UInt<3>("h06"), _T_405) @[axi4_to_ahb.scala 175:62]
node _T_426 = and(_T_424, _T_425) @[axi4_to_ahb.scala 175:48]
node _T_427 = bits(_T_402, 7, 7) @[axi4_to_ahb.scala 175:44]
node _T_428 = geq(UInt<3>("h07"), _T_405) @[axi4_to_ahb.scala 175:62]
node _T_429 = and(_T_427, _T_428) @[axi4_to_ahb.scala 175:48]
node _T_430 = mux(_T_429, UInt<3>("h07"), UInt<3>("h07")) @[Mux.scala 98:16]
node _T_431 = mux(_T_426, UInt<3>("h06"), _T_430) @[Mux.scala 98:16]
node _T_432 = mux(_T_423, UInt<3>("h05"), _T_431) @[Mux.scala 98:16]
node _T_433 = mux(_T_420, UInt<3>("h04"), _T_432) @[Mux.scala 98:16]
node _T_434 = mux(_T_417, UInt<2>("h03"), _T_433) @[Mux.scala 98:16]
node _T_435 = mux(_T_414, UInt<2>("h02"), _T_434) @[Mux.scala 98:16]
node _T_436 = mux(_T_411, UInt<1>("h01"), _T_435) @[Mux.scala 98:16]
node _T_437 = mux(_T_408, UInt<1>("h00"), _T_436) @[Mux.scala 98:16]
node _T_438 = mux(trxn_done, _T_437, buf_cmd_byte_ptrQ) @[axi4_to_ahb.scala 312:97]
node _T_439 = mux(bypass_en, _T_400, _T_438) @[axi4_to_ahb.scala 312:30]
buf_cmd_byte_ptr <= _T_439 @[axi4_to_ahb.scala 312:24]
skip @[Conditional.scala 39:67]
else : @[Conditional.scala 39:67]
node _T_440 = eq(UInt<3>("h05"), buf_state) @[Conditional.scala 37:30]
when _T_440 : @[Conditional.scala 39:67]
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]
cmd_done_rst <= slave_valid_pre @[axi4_to_ahb.scala 341:16]
node _T_441 = bits(master_addr, 31, 3) @[axi4_to_ahb.scala 342:33]
node _T_442 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 342:73]
node _T_443 = eq(_T_442, UInt<1>("h01")) @[axi4_to_ahb.scala 342:80]
node _T_444 = and(buf_aligned_in, _T_443) @[axi4_to_ahb.scala 342:60]
node _T_445 = bits(_T_444, 0, 0) @[axi4_to_ahb.scala 342:100]
node _T_446 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 342:132]
node _T_447 = bits(_T_446, 7, 0) @[axi4_to_ahb.scala 166:50]
node _T_448 = eq(_T_447, UInt<8>("h0ff")) @[axi4_to_ahb.scala 166:57]
node _T_449 = bits(_T_446, 7, 0) @[axi4_to_ahb.scala 166:81]
node _T_450 = eq(_T_449, UInt<8>("h0f")) @[axi4_to_ahb.scala 166:88]
node _T_451 = or(_T_448, _T_450) @[axi4_to_ahb.scala 166:70]
node _T_452 = bits(_T_446, 7, 0) @[axi4_to_ahb.scala 166:117]
node _T_453 = eq(_T_452, UInt<8>("h03")) @[axi4_to_ahb.scala 166:124]
node _T_454 = or(_T_451, _T_453) @[axi4_to_ahb.scala 166:106]
node _T_455 = bits(_T_454, 0, 0) @[Bitwise.scala 72:15]
node _T_456 = mux(_T_455, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
node _T_457 = and(UInt<3>("h00"), _T_456) @[axi4_to_ahb.scala 166:29]
node _T_458 = bits(_T_446, 7, 0) @[axi4_to_ahb.scala 167:35]
node _T_459 = eq(_T_458, UInt<8>("h0c")) @[axi4_to_ahb.scala 167:42]
node _T_460 = bits(_T_459, 0, 0) @[Bitwise.scala 72:15]
node _T_461 = mux(_T_460, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
node _T_462 = and(UInt<2>("h02"), _T_461) @[axi4_to_ahb.scala 167:15]
node _T_463 = or(_T_457, _T_462) @[axi4_to_ahb.scala 166:146]
node _T_464 = bits(_T_446, 7, 0) @[axi4_to_ahb.scala 168:36]
node _T_465 = eq(_T_464, UInt<8>("h0f0")) @[axi4_to_ahb.scala 168:43]
node _T_466 = bits(_T_446, 7, 0) @[axi4_to_ahb.scala 168:67]
node _T_467 = eq(_T_466, UInt<8>("h03")) @[axi4_to_ahb.scala 168:74]
node _T_468 = or(_T_465, _T_467) @[axi4_to_ahb.scala 168:56]
node _T_469 = bits(_T_468, 0, 0) @[Bitwise.scala 72:15]
node _T_470 = mux(_T_469, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
node _T_471 = and(UInt<3>("h04"), _T_470) @[axi4_to_ahb.scala 168:15]
node _T_472 = or(_T_463, _T_471) @[axi4_to_ahb.scala 167:63]
node _T_473 = bits(_T_446, 7, 0) @[axi4_to_ahb.scala 169:37]
node _T_474 = eq(_T_473, UInt<8>("h0c0")) @[axi4_to_ahb.scala 169:44]
node _T_475 = bits(_T_474, 0, 0) @[Bitwise.scala 72:15]
node _T_476 = mux(_T_475, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
node _T_477 = and(UInt<3>("h06"), _T_476) @[axi4_to_ahb.scala 169:17]
node _T_478 = or(_T_472, _T_477) @[axi4_to_ahb.scala 168:96]
node _T_479 = bits(_T_446, 7, 0) @[axi4_to_ahb.scala 170:37]
node _T_480 = eq(_T_479, UInt<8>("h0c0")) @[axi4_to_ahb.scala 170:44]
node _T_481 = bits(_T_480, 0, 0) @[Bitwise.scala 72:15]
node _T_482 = mux(_T_481, UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
node _T_483 = and(UInt<3>("h06"), _T_482) @[axi4_to_ahb.scala 170:17]
node _T_484 = bits(master_addr, 2, 0) @[axi4_to_ahb.scala 342:152]
node _T_485 = mux(_T_445, _T_478, _T_484) @[axi4_to_ahb.scala 342:43]
node _T_486 = cat(_T_441, _T_485) @[Cat.scala 29:58]
buf_addr_in <= _T_486 @[axi4_to_ahb.scala 342:15]
node _T_487 = bits(master_tag, 0, 0) @[axi4_to_ahb.scala 343:27]
buf_tag_in <= _T_487 @[axi4_to_ahb.scala 343:14]
node _T_488 = bits(wrbuf_byteen, 7, 0) @[axi4_to_ahb.scala 344:32]
buf_byteen_in <= _T_488 @[axi4_to_ahb.scala 344:17]
node _T_489 = eq(buf_state, UInt<3>("h03")) @[axi4_to_ahb.scala 345:33]
node _T_490 = bits(ahb_hrdata_q, 63, 0) @[axi4_to_ahb.scala 345:59]
node _T_491 = bits(master_wdata, 63, 0) @[axi4_to_ahb.scala 345:80]
node _T_492 = mux(_T_489, _T_490, _T_491) @[axi4_to_ahb.scala 345:21]
buf_data_in <= _T_492 @[axi4_to_ahb.scala 345:15]
node _T_493 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 346:52]
node _T_494 = eq(_T_493, UInt<2>("h03")) @[axi4_to_ahb.scala 346:58]
node _T_495 = and(buf_aligned_in, _T_494) @[axi4_to_ahb.scala 346:38]
node _T_496 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 346:84]
node _T_497 = eq(_T_496, UInt<1>("h01")) @[axi4_to_ahb.scala 346:91]
node _T_498 = and(_T_495, _T_497) @[axi4_to_ahb.scala 346:71]
node _T_499 = bits(_T_498, 0, 0) @[axi4_to_ahb.scala 346:111]
node _T_500 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 346:142]
node _T_501 = bits(_T_500, 7, 0) @[axi4_to_ahb.scala 160:40]
node _T_502 = eq(_T_501, UInt<8>("h0ff")) @[axi4_to_ahb.scala 160:47]
node _T_503 = bits(_T_502, 0, 0) @[Bitwise.scala 72:15]
node _T_504 = mux(_T_503, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_505 = and(UInt<2>("h03"), _T_504) @[axi4_to_ahb.scala 160:23]
node _T_506 = bits(_T_500, 7, 0) @[axi4_to_ahb.scala 161:35]
node _T_507 = eq(_T_506, UInt<8>("h0f0")) @[axi4_to_ahb.scala 161:42]
node _T_508 = bits(_T_500, 7, 0) @[axi4_to_ahb.scala 161:64]
node _T_509 = eq(_T_508, UInt<8>("h0f")) @[axi4_to_ahb.scala 161:71]
node _T_510 = or(_T_507, _T_509) @[axi4_to_ahb.scala 161:55]
node _T_511 = bits(_T_510, 0, 0) @[Bitwise.scala 72:15]
node _T_512 = mux(_T_511, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_513 = and(UInt<2>("h02"), _T_512) @[axi4_to_ahb.scala 161:16]
node _T_514 = or(_T_505, _T_513) @[axi4_to_ahb.scala 160:62]
node _T_515 = bits(_T_500, 7, 0) @[axi4_to_ahb.scala 162:40]
node _T_516 = eq(_T_515, UInt<8>("h0c0")) @[axi4_to_ahb.scala 162:47]
node _T_517 = bits(_T_500, 7, 0) @[axi4_to_ahb.scala 162:69]
node _T_518 = eq(_T_517, UInt<6>("h030")) @[axi4_to_ahb.scala 162:76]
node _T_519 = or(_T_516, _T_518) @[axi4_to_ahb.scala 162:60]
node _T_520 = bits(_T_500, 7, 0) @[axi4_to_ahb.scala 162:98]
node _T_521 = eq(_T_520, UInt<8>("h0c")) @[axi4_to_ahb.scala 162:105]
node _T_522 = or(_T_519, _T_521) @[axi4_to_ahb.scala 162:89]
node _T_523 = bits(_T_500, 7, 0) @[axi4_to_ahb.scala 162:132]
node _T_524 = eq(_T_523, UInt<8>("h03")) @[axi4_to_ahb.scala 162:139]
node _T_525 = or(_T_522, _T_524) @[axi4_to_ahb.scala 162:123]
node _T_526 = bits(_T_525, 0, 0) @[Bitwise.scala 72:15]
node _T_527 = mux(_T_526, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_528 = and(UInt<2>("h01"), _T_527) @[axi4_to_ahb.scala 162:21]
node _T_529 = or(_T_514, _T_528) @[axi4_to_ahb.scala 161:93]
node _T_530 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 346:161]
node _T_531 = mux(_T_499, _T_529, _T_530) @[axi4_to_ahb.scala 346:21]
buf_size_in <= _T_531 @[axi4_to_ahb.scala 346:15]
node _T_532 = bits(master_opc, 2, 0) @[axi4_to_ahb.scala 347:32]
node _T_533 = eq(_T_532, UInt<1>("h00")) @[axi4_to_ahb.scala 347:39]
node _T_534 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 348:17]
node _T_535 = eq(_T_534, UInt<1>("h00")) @[axi4_to_ahb.scala 348:24]
node _T_536 = or(_T_533, _T_535) @[axi4_to_ahb.scala 347:48]
node _T_537 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 348:47]
node _T_538 = eq(_T_537, UInt<2>("h01")) @[axi4_to_ahb.scala 348:54]
node _T_539 = or(_T_536, _T_538) @[axi4_to_ahb.scala 348:33]
node _T_540 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 348:86]
node _T_541 = eq(_T_540, UInt<2>("h02")) @[axi4_to_ahb.scala 348:93]
node _T_542 = or(_T_539, _T_541) @[axi4_to_ahb.scala 348:72]
node _T_543 = bits(master_size, 1, 0) @[axi4_to_ahb.scala 349:18]
node _T_544 = eq(_T_543, UInt<2>("h03")) @[axi4_to_ahb.scala 349:25]
node _T_545 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 349:55]
node _T_546 = eq(_T_545, UInt<2>("h03")) @[axi4_to_ahb.scala 349:62]
node _T_547 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 349:90]
node _T_548 = eq(_T_547, UInt<4>("h0c")) @[axi4_to_ahb.scala 349:97]
node _T_549 = or(_T_546, _T_548) @[axi4_to_ahb.scala 349:74]
node _T_550 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 349:125]
node _T_551 = eq(_T_550, UInt<6>("h030")) @[axi4_to_ahb.scala 349:132]
node _T_552 = or(_T_549, _T_551) @[axi4_to_ahb.scala 349:109]
node _T_553 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 349:161]
node _T_554 = eq(_T_553, UInt<8>("h0c0")) @[axi4_to_ahb.scala 349:168]
node _T_555 = or(_T_552, _T_554) @[axi4_to_ahb.scala 349:145]
node _T_556 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 350:21]
node _T_557 = eq(_T_556, UInt<4>("h0f")) @[axi4_to_ahb.scala 350:28]
node _T_558 = or(_T_555, _T_557) @[axi4_to_ahb.scala 349:181]
node _T_559 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 350:56]
node _T_560 = eq(_T_559, UInt<8>("h0f0")) @[axi4_to_ahb.scala 350:63]
node _T_561 = or(_T_558, _T_560) @[axi4_to_ahb.scala 350:40]
node _T_562 = bits(master_byteen, 7, 0) @[axi4_to_ahb.scala 350:92]
node _T_563 = eq(_T_562, UInt<8>("h0ff")) @[axi4_to_ahb.scala 350:99]
node _T_564 = or(_T_561, _T_563) @[axi4_to_ahb.scala 350:76]
node _T_565 = and(_T_544, _T_564) @[axi4_to_ahb.scala 349:38]
node _T_566 = or(_T_542, _T_565) @[axi4_to_ahb.scala 348:106]
buf_aligned_in <= _T_566 @[axi4_to_ahb.scala 347:18]
node _T_567 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 352:39]
node _T_568 = bits(master_addr, 31, 3) @[axi4_to_ahb.scala 352:58]
node _T_569 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 352:83]
node _T_570 = cat(_T_568, _T_569) @[Cat.scala 29:58]
node _T_571 = bits(buf_addr, 31, 3) @[axi4_to_ahb.scala 352:104]
node _T_572 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 352:129]
node _T_573 = cat(_T_571, _T_572) @[Cat.scala 29:58]
node _T_574 = mux(_T_567, _T_570, _T_573) @[axi4_to_ahb.scala 352:22]
io.ahb_haddr <= _T_574 @[axi4_to_ahb.scala 352:16]
node _T_575 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 353:39]
node _T_576 = bits(buf_aligned_in, 0, 0) @[Bitwise.scala 72:15]
node _T_577 = mux(_T_576, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_578 = bits(buf_size_in, 1, 0) @[axi4_to_ahb.scala 353:90]
node _T_579 = and(_T_577, _T_578) @[axi4_to_ahb.scala 353:77]
node _T_580 = cat(UInt<1>("h00"), _T_579) @[Cat.scala 29:58]
node _T_581 = bits(buf_aligned, 0, 0) @[Bitwise.scala 72:15]
node _T_582 = mux(_T_581, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_583 = bits(buf_size, 1, 0) @[axi4_to_ahb.scala 353:144]
node _T_584 = and(_T_582, _T_583) @[axi4_to_ahb.scala 353:134]
node _T_585 = cat(UInt<1>("h00"), _T_584) @[Cat.scala 29:58]
node _T_586 = mux(_T_575, _T_580, _T_585) @[axi4_to_ahb.scala 353:22]
io.ahb_hsize <= _T_586 @[axi4_to_ahb.scala 353:16]
io.ahb_hburst <= UInt<1>("h00") @[axi4_to_ahb.scala 355:17]
io.ahb_hmastlock <= UInt<1>("h00") @[axi4_to_ahb.scala 356:20]
node _T_587 = bits(io.axi_arprot, 2, 2) @[axi4_to_ahb.scala 357:47]
node _T_588 = not(_T_587) @[axi4_to_ahb.scala 357:33]
node _T_589 = cat(UInt<1>("h01"), _T_588) @[Cat.scala 29:58]
io.ahb_hprot <= _T_589 @[axi4_to_ahb.scala 357:16]
node _T_590 = bits(bypass_en, 0, 0) @[axi4_to_ahb.scala 358:40]
node _T_591 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 358:55]
node _T_592 = eq(_T_591, UInt<1>("h01")) @[axi4_to_ahb.scala 358:62]
node _T_593 = mux(_T_590, _T_592, buf_write) @[axi4_to_ahb.scala 358:23]
io.ahb_hwrite <= _T_593 @[axi4_to_ahb.scala 358:17]
node _T_594 = bits(buf_data, 63, 0) @[axi4_to_ahb.scala 359:28]
io.ahb_hwdata <= _T_594 @[axi4_to_ahb.scala 359:17]
slave_valid <= slave_valid_pre @[axi4_to_ahb.scala 361:15]
node _T_595 = bits(slvbuf_write, 0, 0) @[axi4_to_ahb.scala 362:43]
node _T_596 = mux(_T_595, UInt<2>("h03"), UInt<1>("h00")) @[axi4_to_ahb.scala 362:23]
node _T_597 = bits(slvbuf_error, 0, 0) @[Bitwise.scala 72:15]
node _T_598 = mux(_T_597, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
node _T_599 = and(_T_598, UInt<2>("h02")) @[axi4_to_ahb.scala 362:88]
node _T_600 = cat(_T_596, _T_599) @[Cat.scala 29:58]
slave_opc <= _T_600 @[axi4_to_ahb.scala 362:13]
node _T_601 = bits(slvbuf_error, 0, 0) @[axi4_to_ahb.scala 363:41]
node _T_602 = bits(last_bus_addr, 31, 0) @[axi4_to_ahb.scala 363:66]
node _T_603 = cat(_T_602, _T_602) @[Cat.scala 29:58]
node _T_604 = eq(buf_state, UInt<3>("h05")) @[axi4_to_ahb.scala 363:91]
node _T_605 = bits(buf_data, 63, 0) @[axi4_to_ahb.scala 363:110]
node _T_606 = bits(ahb_hrdata_q, 63, 0) @[axi4_to_ahb.scala 363:131]
node _T_607 = mux(_T_604, _T_605, _T_606) @[axi4_to_ahb.scala 363:79]
node _T_608 = mux(_T_601, _T_603, _T_607) @[axi4_to_ahb.scala 363:21]
slave_rdata <= _T_608 @[axi4_to_ahb.scala 363:15]
node _T_609 = bits(slvbuf_tag, 0, 0) @[axi4_to_ahb.scala 364:26]
slave_tag <= _T_609 @[axi4_to_ahb.scala 364:13]
node _T_610 = bits(io.ahb_htrans, 1, 0) @[axi4_to_ahb.scala 366:33]
node _T_611 = neq(_T_610, UInt<1>("h00")) @[axi4_to_ahb.scala 366:40]
node _T_612 = and(_T_611, io.ahb_hready) @[axi4_to_ahb.scala 366:52]
node _T_613 = and(_T_612, io.ahb_hwrite) @[axi4_to_ahb.scala 366:68]
last_addr_en <= _T_613 @[axi4_to_ahb.scala 366:16]
node _T_614 = and(io.axi_awvalid, io.axi_awready) @[axi4_to_ahb.scala 368:30]
node _T_615 = and(_T_614, master_ready) @[axi4_to_ahb.scala 368:47]
wrbuf_en <= _T_615 @[axi4_to_ahb.scala 368:12]
node _T_616 = and(io.axi_wvalid, io.axi_wready) @[axi4_to_ahb.scala 369:34]
node _T_617 = and(_T_616, master_ready) @[axi4_to_ahb.scala 369:50]
wrbuf_data_en <= _T_617 @[axi4_to_ahb.scala 369:17]
node _T_618 = and(master_valid, master_ready) @[axi4_to_ahb.scala 370:34]
node _T_619 = bits(master_opc, 2, 1) @[axi4_to_ahb.scala 370:62]
node _T_620 = eq(_T_619, UInt<1>("h01")) @[axi4_to_ahb.scala 370:69]
node _T_621 = and(_T_618, _T_620) @[axi4_to_ahb.scala 370:49]
wrbuf_cmd_sent <= _T_621 @[axi4_to_ahb.scala 370:18]
node _T_622 = eq(wrbuf_en, UInt<1>("h00")) @[axi4_to_ahb.scala 371:33]
node _T_623 = and(wrbuf_cmd_sent, _T_622) @[axi4_to_ahb.scala 371:31]
wrbuf_rst <= _T_623 @[axi4_to_ahb.scala 371:13]
node _T_624 = eq(wrbuf_cmd_sent, UInt<1>("h00")) @[axi4_to_ahb.scala 373:35]
node _T_625 = and(wrbuf_vld, _T_624) @[axi4_to_ahb.scala 373:33]
node _T_626 = eq(_T_625, UInt<1>("h00")) @[axi4_to_ahb.scala 373:21]
node _T_627 = and(_T_626, master_ready) @[axi4_to_ahb.scala 373:52]
io.axi_awready <= _T_627 @[axi4_to_ahb.scala 373:18]
node _T_628 = eq(wrbuf_cmd_sent, UInt<1>("h00")) @[axi4_to_ahb.scala 374:39]
node _T_629 = and(wrbuf_data_vld, _T_628) @[axi4_to_ahb.scala 374:37]
node _T_630 = eq(_T_629, UInt<1>("h00")) @[axi4_to_ahb.scala 374:20]
node _T_631 = and(_T_630, master_ready) @[axi4_to_ahb.scala 374:56]
io.axi_wready <= _T_631 @[axi4_to_ahb.scala 374:17]
node _T_632 = and(wrbuf_vld, wrbuf_data_vld) @[axi4_to_ahb.scala 375:33]
node _T_633 = eq(_T_632, UInt<1>("h00")) @[axi4_to_ahb.scala 375:21]
node _T_634 = and(_T_633, master_ready) @[axi4_to_ahb.scala 375:51]
io.axi_arready <= _T_634 @[axi4_to_ahb.scala 375:18]
io.axi_rlast <= UInt<1>("h01") @[axi4_to_ahb.scala 376:16]
node _T_635 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 378:71]
node _T_636 = mux(_T_635, UInt<1>("h01"), wrbuf_vld) @[axi4_to_ahb.scala 378:55]
node _T_637 = eq(wrbuf_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 378:91]
node _T_638 = and(_T_636, _T_637) @[axi4_to_ahb.scala 378:89]
reg _T_639 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 378:51]
_T_639 <= _T_638 @[axi4_to_ahb.scala 378:51]
wrbuf_vld <= _T_639 @[axi4_to_ahb.scala 378:21]
node _T_640 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 379:76]
node _T_641 = mux(_T_640, UInt<1>("h01"), wrbuf_data_vld) @[axi4_to_ahb.scala 379:55]
node _T_642 = eq(wrbuf_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 379:102]
node _T_643 = and(_T_641, _T_642) @[axi4_to_ahb.scala 379:100]
reg _T_644 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 379:51]
_T_644 <= _T_643 @[axi4_to_ahb.scala 379:51]
wrbuf_data_vld <= _T_644 @[axi4_to_ahb.scala 379:21]
node _T_645 = bits(io.axi_awid, 0, 0) @[axi4_to_ahb.scala 380:65]
node _T_646 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 380:99]
reg _T_647 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_646 : @[Reg.scala 28:19]
_T_647 <= _T_645 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
wrbuf_tag <= _T_647 @[axi4_to_ahb.scala 380:21]
node _T_648 = bits(io.axi_awsize, 2, 0) @[axi4_to_ahb.scala 381:67]
node _T_649 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 381:95]
reg _T_650 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_649 : @[Reg.scala 28:19]
_T_650 <= _T_648 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
wrbuf_size <= _T_650 @[axi4_to_ahb.scala 381:21]
node _T_651 = bits(wrbuf_en, 0, 0) @[axi4_to_ahb.scala 382:55]
inst rvclkhdr_2 of rvclkhdr_2 @[el2_lib.scala 508:23]
rvclkhdr_2.clock <= clock
rvclkhdr_2.reset <= reset
rvclkhdr_2.io.clk <= bus_clk @[el2_lib.scala 510:18]
rvclkhdr_2.io.en <= _T_651 @[el2_lib.scala 511:17]
rvclkhdr_2.io.scan_mode <= io.scan_mode @[el2_lib.scala 512:24]
reg _T_652 : UInt, rvclkhdr_2.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[el2_lib.scala 514:16]
_T_652 <= io.axi_awaddr @[el2_lib.scala 514:16]
wrbuf_addr <= _T_652 @[axi4_to_ahb.scala 382:21]
node _T_653 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 383:59]
inst rvclkhdr_3 of rvclkhdr_3 @[el2_lib.scala 508:23]
rvclkhdr_3.clock <= clock
rvclkhdr_3.reset <= reset
rvclkhdr_3.io.clk <= bus_clk @[el2_lib.scala 510:18]
rvclkhdr_3.io.en <= _T_653 @[el2_lib.scala 511:17]
rvclkhdr_3.io.scan_mode <= io.scan_mode @[el2_lib.scala 512:24]
reg _T_654 : UInt, rvclkhdr_3.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[el2_lib.scala 514:16]
_T_654 <= io.axi_wdata @[el2_lib.scala 514:16]
wrbuf_data <= _T_654 @[axi4_to_ahb.scala 383:21]
node _T_655 = bits(io.axi_wstrb, 7, 0) @[axi4_to_ahb.scala 384:66]
node _T_656 = bits(wrbuf_data_en, 0, 0) @[axi4_to_ahb.scala 384:99]
reg _T_657 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_656 : @[Reg.scala 28:19]
_T_657 <= _T_655 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
wrbuf_byteen <= _T_657 @[axi4_to_ahb.scala 384:21]
node _T_658 = bits(io.ahb_haddr, 31, 0) @[axi4_to_ahb.scala 385:67]
node _T_659 = bits(last_addr_en, 0, 0) @[axi4_to_ahb.scala 385:100]
reg _T_660 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_659 : @[Reg.scala 28:19]
_T_660 <= _T_658 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
last_bus_addr <= _T_660 @[axi4_to_ahb.scala 385:21]
node _T_661 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 386:89]
reg _T_662 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_661 : @[Reg.scala 28:19]
_T_662 <= buf_write_in @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
buf_write <= _T_662 @[axi4_to_ahb.scala 386:21]
node _T_663 = bits(buf_tag_in, 0, 0) @[axi4_to_ahb.scala 387:64]
node _T_664 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 387:99]
reg _T_665 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_664 : @[Reg.scala 28:19]
_T_665 <= _T_663 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
buf_tag <= _T_665 @[axi4_to_ahb.scala 387:21]
node _T_666 = bits(buf_addr_in, 31, 0) @[axi4_to_ahb.scala 388:42]
node _T_667 = and(buf_wr_en, io.bus_clk_en) @[axi4_to_ahb.scala 388:61]
node _T_668 = bits(_T_667, 0, 0) @[axi4_to_ahb.scala 388:78]
inst rvclkhdr_4 of rvclkhdr_4 @[el2_lib.scala 508:23]
rvclkhdr_4.clock <= clock
rvclkhdr_4.reset <= reset
rvclkhdr_4.io.clk <= clock @[el2_lib.scala 510:18]
rvclkhdr_4.io.en <= _T_668 @[el2_lib.scala 511:17]
rvclkhdr_4.io.scan_mode <= io.scan_mode @[el2_lib.scala 512:24]
reg _T_669 : UInt, rvclkhdr_4.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[el2_lib.scala 514:16]
_T_669 <= _T_666 @[el2_lib.scala 514:16]
buf_addr <= _T_669 @[axi4_to_ahb.scala 388:21]
node _T_670 = bits(buf_size_in, 1, 0) @[axi4_to_ahb.scala 389:65]
node _T_671 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 389:94]
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 <= _T_670 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
buf_size <= _T_672 @[axi4_to_ahb.scala 389:21]
node _T_673 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 390:91]
reg _T_674 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_673 : @[Reg.scala 28:19]
_T_674 <= buf_aligned_in @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
buf_aligned <= _T_674 @[axi4_to_ahb.scala 390:21]
node _T_675 = bits(buf_byteen_in, 7, 0) @[axi4_to_ahb.scala 391:67]
node _T_676 = bits(buf_wr_en, 0, 0) @[axi4_to_ahb.scala 391:96]
reg _T_677 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_676 : @[Reg.scala 28:19]
_T_677 <= _T_675 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
buf_byteen <= _T_677 @[axi4_to_ahb.scala 391:21]
node _T_678 = bits(buf_data_in, 63, 0) @[axi4_to_ahb.scala 392:42]
node _T_679 = and(buf_data_wr_en, io.bus_clk_en) @[axi4_to_ahb.scala 392:66]
node _T_680 = bits(_T_679, 0, 0) @[axi4_to_ahb.scala 392:89]
inst rvclkhdr_5 of rvclkhdr_5 @[el2_lib.scala 508:23]
rvclkhdr_5.clock <= clock
rvclkhdr_5.reset <= reset
rvclkhdr_5.io.clk <= clock @[el2_lib.scala 510:18]
rvclkhdr_5.io.en <= _T_680 @[el2_lib.scala 511:17]
rvclkhdr_5.io.scan_mode <= io.scan_mode @[el2_lib.scala 512:24]
reg _T_681 : UInt, rvclkhdr_5.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[el2_lib.scala 514:16]
_T_681 <= _T_678 @[el2_lib.scala 514:16]
buf_data <= _T_681 @[axi4_to_ahb.scala 392:21]
node _T_682 = bits(slvbuf_wr_en, 0, 0) @[axi4_to_ahb.scala 393:89]
reg _T_683 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_682 : @[Reg.scala 28:19]
_T_683 <= buf_write @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
slvbuf_write <= _T_683 @[axi4_to_ahb.scala 393:21]
node _T_684 = bits(buf_tag, 0, 0) @[axi4_to_ahb.scala 394:61]
node _T_685 = bits(slvbuf_wr_en, 0, 0) @[axi4_to_ahb.scala 394:99]
reg _T_686 : UInt, buf_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_685 : @[Reg.scala 28:19]
_T_686 <= _T_684 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
slvbuf_tag <= _T_686 @[axi4_to_ahb.scala 394:21]
node _T_687 = bits(slvbuf_error_en, 0, 0) @[axi4_to_ahb.scala 395:99]
reg _T_688 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_687 : @[Reg.scala 28:19]
_T_688 <= slvbuf_error_in @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
slvbuf_error <= _T_688 @[axi4_to_ahb.scala 395:21]
node _T_689 = bits(cmd_done, 0, 0) @[axi4_to_ahb.scala 396:72]
node _T_690 = mux(_T_689, UInt<1>("h01"), cmd_doneQ) @[axi4_to_ahb.scala 396:56]
node _T_691 = eq(cmd_done_rst, UInt<1>("h00")) @[axi4_to_ahb.scala 396:92]
node _T_692 = and(_T_690, _T_691) @[axi4_to_ahb.scala 396:90]
reg _T_693 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 396:52]
_T_693 <= _T_692 @[axi4_to_ahb.scala 396:52]
cmd_doneQ <= _T_693 @[axi4_to_ahb.scala 396:21]
node _T_694 = bits(buf_cmd_byte_ptr, 2, 0) @[axi4_to_ahb.scala 397:71]
node _T_695 = bits(buf_cmd_byte_ptr_en, 0, 0) @[axi4_to_ahb.scala 397:110]
reg _T_696 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
when _T_695 : @[Reg.scala 28:19]
_T_696 <= _T_694 @[Reg.scala 28:23]
skip @[Reg.scala 28:19]
buf_cmd_byte_ptrQ <= _T_696 @[axi4_to_ahb.scala 397:21]
reg _T_697 : UInt<1>, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 398:52]
_T_697 <= io.ahb_hready @[axi4_to_ahb.scala 398:52]
ahb_hready_q <= _T_697 @[axi4_to_ahb.scala 398:21]
node _T_698 = bits(io.ahb_htrans, 1, 0) @[axi4_to_ahb.scala 399:66]
reg _T_699 : UInt, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 399:52]
_T_699 <= _T_698 @[axi4_to_ahb.scala 399:52]
ahb_htrans_q <= _T_699 @[axi4_to_ahb.scala 399:21]
reg _T_700 : UInt<1>, ahbm_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 400:57]
_T_700 <= io.ahb_hwrite @[axi4_to_ahb.scala 400:57]
ahb_hwrite_q <= _T_700 @[axi4_to_ahb.scala 400:21]
reg _T_701 : UInt<1>, ahbm_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 401:52]
_T_701 <= io.ahb_hresp @[axi4_to_ahb.scala 401:52]
ahb_hresp_q <= _T_701 @[axi4_to_ahb.scala 401:21]
node _T_702 = bits(io.ahb_hrdata, 63, 0) @[axi4_to_ahb.scala 402:71]
reg _T_703 : UInt, ahbm_data_clk with : (reset => (reset, UInt<1>("h00"))) @[axi4_to_ahb.scala 402:57]
_T_703 <= _T_702 @[axi4_to_ahb.scala 402:57]
ahb_hrdata_q <= _T_703 @[axi4_to_ahb.scala 402:21]
node _T_704 = or(buf_wr_en, slvbuf_wr_en) @[axi4_to_ahb.scala 404:43]
node _T_705 = or(_T_704, io.clk_override) @[axi4_to_ahb.scala 404:58]
node _T_706 = and(io.bus_clk_en, _T_705) @[axi4_to_ahb.scala 404:30]
buf_clken <= _T_706 @[axi4_to_ahb.scala 404:13]
node _T_707 = bits(io.ahb_htrans, 1, 1) @[axi4_to_ahb.scala 405:69]
node _T_708 = and(io.ahb_hready, _T_707) @[axi4_to_ahb.scala 405:54]
node _T_709 = or(_T_708, io.clk_override) @[axi4_to_ahb.scala 405:74]
node _T_710 = and(io.bus_clk_en, _T_709) @[axi4_to_ahb.scala 405:36]
ahbm_addr_clken <= _T_710 @[axi4_to_ahb.scala 405:19]
node _T_711 = neq(buf_state, UInt<3>("h00")) @[axi4_to_ahb.scala 406:50]
node _T_712 = or(_T_711, io.clk_override) @[axi4_to_ahb.scala 406:60]
node _T_713 = and(io.bus_clk_en, _T_712) @[axi4_to_ahb.scala 406:36]
ahbm_data_clken <= _T_713 @[axi4_to_ahb.scala 406: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 409: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 410: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 411: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 412:17]