Bridge conf updated
This commit is contained in:
parent
122baafb71
commit
e24a5f750f
|
@ -0,0 +1,34 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~ahb_to_axi4|ahb_to_axi4>io_ahb_sig_in_hready",
|
||||||
|
"sources":[
|
||||||
|
"~ahb_to_axi4|ahb_to_axi4>io_ahb_sig_in_hresp",
|
||||||
|
"~ahb_to_axi4|ahb_to_axi4>io_axi_aw_valid",
|
||||||
|
"~ahb_to_axi4|ahb_to_axi4>io_axi_aw_ready",
|
||||||
|
"~ahb_to_axi4|ahb_to_axi4>io_axi_ar_valid",
|
||||||
|
"~ahb_to_axi4|ahb_to_axi4>io_axi_ar_ready"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.EmitCircuitAnnotation",
|
||||||
|
"emitter":"firrtl.VerilogEmitter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.BlackBoxResourceAnno",
|
||||||
|
"target":"ahb_to_axi4.gated_latch",
|
||||||
|
"resourceId":"/vsrc/gated_latch.v"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.options.TargetDirAnnotation",
|
||||||
|
"directory":"."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.options.OutputAnnotationFileAnnotation",
|
||||||
|
"file":"ahb_to_axi4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.BlackBoxTargetDirAnno",
|
||||||
|
"targetDir":"."
|
||||||
|
}
|
||||||
|
]
|
618
ahb_to_axi4.fir
618
ahb_to_axi4.fir
|
@ -147,87 +147,87 @@ circuit ahb_to_axi4 :
|
||||||
module ahb_to_axi4 :
|
module ahb_to_axi4 :
|
||||||
input clock : Clock
|
input clock : Clock
|
||||||
input reset : AsyncReset
|
input reset : AsyncReset
|
||||||
output io : {flip scan_mode : UInt<1>, flip bus_clk_en : UInt<1>, flip clk_override : UInt<1>, axi : {aw : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, addr : UInt<32>, region : UInt<4>, len : UInt<8>, size : UInt<3>, burst : UInt<2>, lock : UInt<1>, cache : UInt<4>, prot : UInt<3>, qos : UInt<4>}}, w : {flip ready : UInt<1>, valid : UInt<1>, bits : {data : UInt<64>, strb : UInt<8>, last : UInt<1>}}, flip b : {flip ready : UInt<1>, valid : UInt<1>, bits : {resp : UInt<2>, id : UInt<1>}}, ar : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, addr : UInt<32>, region : UInt<4>, len : UInt<8>, size : UInt<3>, burst : UInt<2>, lock : UInt<1>, cache : UInt<4>, prot : UInt<3>, qos : UInt<4>}}, flip r : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, data : UInt<64>, resp : UInt<2>, last : UInt<1>}}}, ahb : {flip sig : {in : {flip hrdata : UInt<64>, flip hready : UInt<1>, flip hresp : UInt<1>}, out : {haddr : UInt<32>, hburst : UInt<3>, hmastlock : UInt<1>, hprot : UInt<4>, hsize : UInt<3>, htrans : UInt<2>, hwrite : UInt<1>, hwdata : UInt<64>}}, hreadyout : UInt<1>, flip hsel : UInt<1>, flip hreadyin : UInt<1>}}
|
output io : {flip scan_mode : UInt<1>, flip bus_clk_en : UInt<1>, flip clk_override : UInt<1>, axi : {aw : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, addr : UInt<32>, region : UInt<4>, len : UInt<8>, size : UInt<3>, burst : UInt<2>, lock : UInt<1>, cache : UInt<4>, prot : UInt<3>, qos : UInt<4>}}, w : {flip ready : UInt<1>, valid : UInt<1>, bits : {data : UInt<64>, strb : UInt<8>, last : UInt<1>}}, flip b : {flip ready : UInt<1>, valid : UInt<1>, bits : {resp : UInt<2>, id : UInt<1>}}, ar : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, addr : UInt<32>, region : UInt<4>, len : UInt<8>, size : UInt<3>, burst : UInt<2>, lock : UInt<1>, cache : UInt<4>, prot : UInt<3>, qos : UInt<4>}}, flip r : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, data : UInt<64>, resp : UInt<2>, last : UInt<1>}}}, ahb : {flip sig : {in : {flip hrdata : UInt<64>, flip hready : UInt<1>, flip hresp : UInt<1>}, out : {haddr : UInt<32>, hburst : UInt<3>, hmastlock : UInt<1>, hprot : UInt<4>, hsize : UInt<3>, htrans : UInt<2>, hwrite : UInt<1>, hwdata : UInt<64>}}, flip hsel : UInt<1>, flip hreadyin : UInt<1>}}
|
||||||
|
|
||||||
wire _T : {aw : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, addr : UInt<32>, region : UInt<4>, len : UInt<8>, size : UInt<3>, burst : UInt<2>, lock : UInt<1>, cache : UInt<4>, prot : UInt<3>, qos : UInt<4>}}, w : {flip ready : UInt<1>, valid : UInt<1>, bits : {data : UInt<64>, strb : UInt<8>, last : UInt<1>}}, flip b : {flip ready : UInt<1>, valid : UInt<1>, bits : {resp : UInt<2>, id : UInt<1>}}, ar : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, addr : UInt<32>, region : UInt<4>, len : UInt<8>, size : UInt<3>, burst : UInt<2>, lock : UInt<1>, cache : UInt<4>, prot : UInt<3>, qos : UInt<4>}}, flip r : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, data : UInt<64>, resp : UInt<2>, last : UInt<1>}}} @[ahb_to_axi4.scala 21:25]
|
wire _T : {aw : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, addr : UInt<32>, region : UInt<4>, len : UInt<8>, size : UInt<3>, burst : UInt<2>, lock : UInt<1>, cache : UInt<4>, prot : UInt<3>, qos : UInt<4>}}, w : {flip ready : UInt<1>, valid : UInt<1>, bits : {data : UInt<64>, strb : UInt<8>, last : UInt<1>}}, flip b : {flip ready : UInt<1>, valid : UInt<1>, bits : {resp : UInt<2>, id : UInt<1>}}, ar : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, addr : UInt<32>, region : UInt<4>, len : UInt<8>, size : UInt<3>, burst : UInt<2>, lock : UInt<1>, cache : UInt<4>, prot : UInt<3>, qos : UInt<4>}}, flip r : {flip ready : UInt<1>, valid : UInt<1>, bits : {id : UInt<1>, data : UInt<64>, resp : UInt<2>, last : UInt<1>}}} @[ahb_to_axi4.scala 20:25]
|
||||||
_T.r.bits.last <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.r.bits.last <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.r.bits.resp <= UInt<2>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.r.bits.resp <= UInt<2>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.r.bits.data <= UInt<64>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.r.bits.data <= UInt<64>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.r.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.r.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.r.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.r.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.r.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.r.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.qos <= UInt<4>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.qos <= UInt<4>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.prot <= UInt<3>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.prot <= UInt<3>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.cache <= UInt<4>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.cache <= UInt<4>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.lock <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.lock <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.burst <= UInt<2>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.burst <= UInt<2>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.size <= UInt<3>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.size <= UInt<3>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.len <= UInt<8>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.len <= UInt<8>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.region <= UInt<4>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.region <= UInt<4>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.addr <= UInt<32>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.addr <= UInt<32>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.ar.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.ar.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.b.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.b.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.b.bits.resp <= UInt<2>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.b.bits.resp <= UInt<2>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.b.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.b.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.b.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.b.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.w.bits.last <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.w.bits.last <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.w.bits.strb <= UInt<8>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.w.bits.strb <= UInt<8>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.w.bits.data <= UInt<64>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.w.bits.data <= UInt<64>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.w.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.w.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.w.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.w.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.qos <= UInt<4>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.qos <= UInt<4>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.prot <= UInt<3>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.prot <= UInt<3>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.cache <= UInt<4>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.cache <= UInt<4>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.lock <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.lock <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.burst <= UInt<2>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.burst <= UInt<2>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.size <= UInt<3>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.size <= UInt<3>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.len <= UInt<8>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.len <= UInt<8>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.region <= UInt<4>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.region <= UInt<4>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.addr <= UInt<32>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.addr <= UInt<32>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.valid <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.aw.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 21:25]
|
_T.aw.ready <= UInt<1>("h00") @[ahb_to_axi4.scala 20:25]
|
||||||
_T.r.bits.last <= io.axi.r.bits.last @[ahb_to_axi4.scala 21:10]
|
_T.r.bits.last <= io.axi.r.bits.last @[ahb_to_axi4.scala 20:10]
|
||||||
_T.r.bits.resp <= io.axi.r.bits.resp @[ahb_to_axi4.scala 21:10]
|
_T.r.bits.resp <= io.axi.r.bits.resp @[ahb_to_axi4.scala 20:10]
|
||||||
_T.r.bits.data <= io.axi.r.bits.data @[ahb_to_axi4.scala 21:10]
|
_T.r.bits.data <= io.axi.r.bits.data @[ahb_to_axi4.scala 20:10]
|
||||||
_T.r.bits.id <= io.axi.r.bits.id @[ahb_to_axi4.scala 21:10]
|
_T.r.bits.id <= io.axi.r.bits.id @[ahb_to_axi4.scala 20:10]
|
||||||
_T.r.valid <= io.axi.r.valid @[ahb_to_axi4.scala 21:10]
|
_T.r.valid <= io.axi.r.valid @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.r.ready <= _T.r.ready @[ahb_to_axi4.scala 21:10]
|
io.axi.r.ready <= _T.r.ready @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.qos <= _T.ar.bits.qos @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.qos <= _T.ar.bits.qos @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.prot <= _T.ar.bits.prot @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.prot <= _T.ar.bits.prot @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.cache <= _T.ar.bits.cache @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.cache <= _T.ar.bits.cache @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.lock <= _T.ar.bits.lock @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.lock <= _T.ar.bits.lock @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.burst <= _T.ar.bits.burst @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.burst <= _T.ar.bits.burst @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.size <= _T.ar.bits.size @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.size <= _T.ar.bits.size @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.len <= _T.ar.bits.len @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.len <= _T.ar.bits.len @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.region <= _T.ar.bits.region @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.region <= _T.ar.bits.region @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.addr <= _T.ar.bits.addr @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.addr <= _T.ar.bits.addr @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.bits.id <= _T.ar.bits.id @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.bits.id <= _T.ar.bits.id @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.ar.valid <= _T.ar.valid @[ahb_to_axi4.scala 21:10]
|
io.axi.ar.valid <= _T.ar.valid @[ahb_to_axi4.scala 20:10]
|
||||||
_T.ar.ready <= io.axi.ar.ready @[ahb_to_axi4.scala 21:10]
|
_T.ar.ready <= io.axi.ar.ready @[ahb_to_axi4.scala 20:10]
|
||||||
_T.b.bits.id <= io.axi.b.bits.id @[ahb_to_axi4.scala 21:10]
|
_T.b.bits.id <= io.axi.b.bits.id @[ahb_to_axi4.scala 20:10]
|
||||||
_T.b.bits.resp <= io.axi.b.bits.resp @[ahb_to_axi4.scala 21:10]
|
_T.b.bits.resp <= io.axi.b.bits.resp @[ahb_to_axi4.scala 20:10]
|
||||||
_T.b.valid <= io.axi.b.valid @[ahb_to_axi4.scala 21:10]
|
_T.b.valid <= io.axi.b.valid @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.b.ready <= _T.b.ready @[ahb_to_axi4.scala 21:10]
|
io.axi.b.ready <= _T.b.ready @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.w.bits.last <= _T.w.bits.last @[ahb_to_axi4.scala 21:10]
|
io.axi.w.bits.last <= _T.w.bits.last @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.w.bits.strb <= _T.w.bits.strb @[ahb_to_axi4.scala 21:10]
|
io.axi.w.bits.strb <= _T.w.bits.strb @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.w.bits.data <= _T.w.bits.data @[ahb_to_axi4.scala 21:10]
|
io.axi.w.bits.data <= _T.w.bits.data @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.w.valid <= _T.w.valid @[ahb_to_axi4.scala 21:10]
|
io.axi.w.valid <= _T.w.valid @[ahb_to_axi4.scala 20:10]
|
||||||
_T.w.ready <= io.axi.w.ready @[ahb_to_axi4.scala 21:10]
|
_T.w.ready <= io.axi.w.ready @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.qos <= _T.aw.bits.qos @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.qos <= _T.aw.bits.qos @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.prot <= _T.aw.bits.prot @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.prot <= _T.aw.bits.prot @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.cache <= _T.aw.bits.cache @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.cache <= _T.aw.bits.cache @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.lock <= _T.aw.bits.lock @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.lock <= _T.aw.bits.lock @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.burst <= _T.aw.bits.burst @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.burst <= _T.aw.bits.burst @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.size <= _T.aw.bits.size @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.size <= _T.aw.bits.size @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.len <= _T.aw.bits.len @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.len <= _T.aw.bits.len @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.region <= _T.aw.bits.region @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.region <= _T.aw.bits.region @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.addr <= _T.aw.bits.addr @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.addr <= _T.aw.bits.addr @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.bits.id <= _T.aw.bits.id @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.bits.id <= _T.aw.bits.id @[ahb_to_axi4.scala 20:10]
|
||||||
io.axi.aw.valid <= _T.aw.valid @[ahb_to_axi4.scala 21:10]
|
io.axi.aw.valid <= _T.aw.valid @[ahb_to_axi4.scala 20:10]
|
||||||
_T.aw.ready <= io.axi.aw.ready @[ahb_to_axi4.scala 21:10]
|
_T.aw.ready <= io.axi.aw.ready @[ahb_to_axi4.scala 20:10]
|
||||||
wire master_wstrb : UInt<8>
|
wire master_wstrb : UInt<8>
|
||||||
master_wstrb <= UInt<8>("h00")
|
master_wstrb <= UInt<8>("h00")
|
||||||
wire buf_state_en : UInt<1>
|
wire buf_state_en : UInt<1>
|
||||||
|
@ -262,9 +262,9 @@ circuit ahb_to_axi4 :
|
||||||
ahb_bus_addr_clk_en <= UInt<1>("h00")
|
ahb_bus_addr_clk_en <= UInt<1>("h00")
|
||||||
wire buf_rdata_clk_en : UInt<1>
|
wire buf_rdata_clk_en : UInt<1>
|
||||||
buf_rdata_clk_en <= UInt<1>("h00")
|
buf_rdata_clk_en <= UInt<1>("h00")
|
||||||
wire ahb_clk : Clock @[ahb_to_axi4.scala 45:33]
|
wire ahb_clk : Clock @[ahb_to_axi4.scala 44:33]
|
||||||
wire ahb_addr_clk : Clock @[ahb_to_axi4.scala 46:33]
|
wire ahb_addr_clk : Clock @[ahb_to_axi4.scala 45:33]
|
||||||
wire buf_rdata_clk : Clock @[ahb_to_axi4.scala 47:33]
|
wire buf_rdata_clk : Clock @[ahb_to_axi4.scala 46:33]
|
||||||
wire cmdbuf_wr_en : UInt<1>
|
wire cmdbuf_wr_en : UInt<1>
|
||||||
cmdbuf_wr_en <= UInt<1>("h00")
|
cmdbuf_wr_en <= UInt<1>("h00")
|
||||||
wire cmdbuf_rst : UInt<1>
|
wire cmdbuf_rst : UInt<1>
|
||||||
|
@ -283,7 +283,7 @@ circuit ahb_to_axi4 :
|
||||||
cmdbuf_addr <= UInt<32>("h00")
|
cmdbuf_addr <= UInt<32>("h00")
|
||||||
wire cmdbuf_wdata : UInt<64>
|
wire cmdbuf_wdata : UInt<64>
|
||||||
cmdbuf_wdata <= UInt<64>("h00")
|
cmdbuf_wdata <= UInt<64>("h00")
|
||||||
wire bus_clk : Clock @[ahb_to_axi4.scala 59:33]
|
wire bus_clk : Clock @[ahb_to_axi4.scala 58:33]
|
||||||
node _T_1 = bits(ahb_haddr_q, 31, 28) @[lib.scala 84:25]
|
node _T_1 = bits(ahb_haddr_q, 31, 28) @[lib.scala 84:25]
|
||||||
node ahb_addr_in_dccm_region_nc = eq(_T_1, UInt<4>("h0f")) @[lib.scala 84:47]
|
node ahb_addr_in_dccm_region_nc = eq(_T_1, UInt<4>("h0f")) @[lib.scala 84:47]
|
||||||
node _T_2 = bits(ahb_haddr_q, 31, 16) @[lib.scala 87:14]
|
node _T_2 = bits(ahb_haddr_q, 31, 16) @[lib.scala 87:14]
|
||||||
|
@ -300,260 +300,260 @@ circuit ahb_to_axi4 :
|
||||||
buf_state <= UInt<2>("h00")
|
buf_state <= UInt<2>("h00")
|
||||||
wire buf_nxtstate : UInt<2>
|
wire buf_nxtstate : UInt<2>
|
||||||
buf_nxtstate <= UInt<2>("h00")
|
buf_nxtstate <= UInt<2>("h00")
|
||||||
buf_nxtstate <= UInt<2>("h00") @[ahb_to_axi4.scala 69:31]
|
buf_nxtstate <= UInt<2>("h00") @[ahb_to_axi4.scala 68:31]
|
||||||
buf_state_en <= UInt<1>("h00") @[ahb_to_axi4.scala 70:31]
|
buf_state_en <= UInt<1>("h00") @[ahb_to_axi4.scala 69:31]
|
||||||
buf_rdata_en <= UInt<1>("h00") @[ahb_to_axi4.scala 71:31]
|
buf_rdata_en <= UInt<1>("h00") @[ahb_to_axi4.scala 70:31]
|
||||||
buf_read_error_in <= UInt<1>("h00") @[ahb_to_axi4.scala 72:31]
|
buf_read_error_in <= UInt<1>("h00") @[ahb_to_axi4.scala 71:31]
|
||||||
cmdbuf_wr_en <= UInt<1>("h00") @[ahb_to_axi4.scala 73:31]
|
cmdbuf_wr_en <= UInt<1>("h00") @[ahb_to_axi4.scala 72:31]
|
||||||
node _T_7 = eq(UInt<2>("h00"), buf_state) @[Conditional.scala 37:30]
|
node _T_7 = eq(UInt<2>("h00"), buf_state) @[Conditional.scala 37:30]
|
||||||
when _T_7 : @[Conditional.scala 40:58]
|
when _T_7 : @[Conditional.scala 40:58]
|
||||||
node _T_8 = mux(io.ahb.sig.out.hwrite, UInt<2>("h01"), UInt<2>("h02")) @[ahb_to_axi4.scala 77:26]
|
node _T_8 = mux(io.ahb.sig.out.hwrite, UInt<2>("h01"), UInt<2>("h02")) @[ahb_to_axi4.scala 76:26]
|
||||||
buf_nxtstate <= _T_8 @[ahb_to_axi4.scala 77:20]
|
buf_nxtstate <= _T_8 @[ahb_to_axi4.scala 76:20]
|
||||||
node _T_9 = bits(io.ahb.sig.out.htrans, 1, 1) @[ahb_to_axi4.scala 78:57]
|
node _T_9 = bits(io.ahb.sig.out.htrans, 1, 1) @[ahb_to_axi4.scala 77:57]
|
||||||
node _T_10 = and(ahb_hready, _T_9) @[ahb_to_axi4.scala 78:34]
|
node _T_10 = and(ahb_hready, _T_9) @[ahb_to_axi4.scala 77:34]
|
||||||
node _T_11 = and(_T_10, io.ahb.hsel) @[ahb_to_axi4.scala 78:61]
|
node _T_11 = and(_T_10, io.ahb.hsel) @[ahb_to_axi4.scala 77:61]
|
||||||
buf_state_en <= _T_11 @[ahb_to_axi4.scala 78:20]
|
buf_state_en <= _T_11 @[ahb_to_axi4.scala 77:20]
|
||||||
skip @[Conditional.scala 40:58]
|
skip @[Conditional.scala 40:58]
|
||||||
else : @[Conditional.scala 39:67]
|
else : @[Conditional.scala 39:67]
|
||||||
node _T_12 = eq(UInt<2>("h01"), buf_state) @[Conditional.scala 37:30]
|
node _T_12 = eq(UInt<2>("h01"), buf_state) @[Conditional.scala 37:30]
|
||||||
when _T_12 : @[Conditional.scala 39:67]
|
when _T_12 : @[Conditional.scala 39:67]
|
||||||
node _T_13 = bits(io.ahb.sig.out.htrans, 1, 0) @[ahb_to_axi4.scala 81:72]
|
node _T_13 = bits(io.ahb.sig.out.htrans, 1, 0) @[ahb_to_axi4.scala 80:72]
|
||||||
node _T_14 = eq(_T_13, UInt<1>("h00")) @[ahb_to_axi4.scala 81:79]
|
node _T_14 = eq(_T_13, UInt<1>("h00")) @[ahb_to_axi4.scala 80:79]
|
||||||
node _T_15 = or(io.ahb.sig.in.hresp, _T_14) @[ahb_to_axi4.scala 81:48]
|
node _T_15 = or(io.ahb.sig.in.hresp, _T_14) @[ahb_to_axi4.scala 80:48]
|
||||||
node _T_16 = eq(io.ahb.hsel, UInt<1>("h00")) @[ahb_to_axi4.scala 81:93]
|
node _T_16 = eq(io.ahb.hsel, UInt<1>("h00")) @[ahb_to_axi4.scala 80:93]
|
||||||
node _T_17 = or(_T_15, _T_16) @[ahb_to_axi4.scala 81:91]
|
node _T_17 = or(_T_15, _T_16) @[ahb_to_axi4.scala 80:91]
|
||||||
node _T_18 = bits(_T_17, 0, 0) @[ahb_to_axi4.scala 81:107]
|
node _T_18 = bits(_T_17, 0, 0) @[ahb_to_axi4.scala 80:107]
|
||||||
node _T_19 = mux(io.ahb.sig.out.hwrite, UInt<2>("h01"), UInt<2>("h02")) @[ahb_to_axi4.scala 81:124]
|
node _T_19 = mux(io.ahb.sig.out.hwrite, UInt<2>("h01"), UInt<2>("h02")) @[ahb_to_axi4.scala 80:124]
|
||||||
node _T_20 = mux(_T_18, UInt<2>("h00"), _T_19) @[ahb_to_axi4.scala 81:26]
|
node _T_20 = mux(_T_18, UInt<2>("h00"), _T_19) @[ahb_to_axi4.scala 80:26]
|
||||||
buf_nxtstate <= _T_20 @[ahb_to_axi4.scala 81:20]
|
buf_nxtstate <= _T_20 @[ahb_to_axi4.scala 80:20]
|
||||||
node _T_21 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 82:24]
|
node _T_21 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 81:24]
|
||||||
node _T_22 = or(_T_21, io.ahb.sig.in.hresp) @[ahb_to_axi4.scala 82:37]
|
node _T_22 = or(_T_21, io.ahb.sig.in.hresp) @[ahb_to_axi4.scala 81:37]
|
||||||
buf_state_en <= _T_22 @[ahb_to_axi4.scala 82:20]
|
buf_state_en <= _T_22 @[ahb_to_axi4.scala 81:20]
|
||||||
node _T_23 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 83:23]
|
node _T_23 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 82:23]
|
||||||
node _T_24 = bits(io.ahb.sig.out.htrans, 1, 0) @[ahb_to_axi4.scala 83:85]
|
node _T_24 = bits(io.ahb.sig.out.htrans, 1, 0) @[ahb_to_axi4.scala 82:85]
|
||||||
node _T_25 = eq(_T_24, UInt<2>("h01")) @[ahb_to_axi4.scala 83:92]
|
node _T_25 = eq(_T_24, UInt<2>("h01")) @[ahb_to_axi4.scala 82:92]
|
||||||
node _T_26 = and(_T_25, io.ahb.hsel) @[ahb_to_axi4.scala 83:110]
|
node _T_26 = and(_T_25, io.ahb.hsel) @[ahb_to_axi4.scala 82:110]
|
||||||
node _T_27 = or(io.ahb.sig.in.hresp, _T_26) @[ahb_to_axi4.scala 83:60]
|
node _T_27 = or(io.ahb.sig.in.hresp, _T_26) @[ahb_to_axi4.scala 82:60]
|
||||||
node _T_28 = eq(_T_27, UInt<1>("h00")) @[ahb_to_axi4.scala 83:38]
|
node _T_28 = eq(_T_27, UInt<1>("h00")) @[ahb_to_axi4.scala 82:38]
|
||||||
node _T_29 = and(_T_23, _T_28) @[ahb_to_axi4.scala 83:36]
|
node _T_29 = and(_T_23, _T_28) @[ahb_to_axi4.scala 82:36]
|
||||||
cmdbuf_wr_en <= _T_29 @[ahb_to_axi4.scala 83:20]
|
cmdbuf_wr_en <= _T_29 @[ahb_to_axi4.scala 82:20]
|
||||||
skip @[Conditional.scala 39:67]
|
skip @[Conditional.scala 39:67]
|
||||||
else : @[Conditional.scala 39:67]
|
else : @[Conditional.scala 39:67]
|
||||||
node _T_30 = eq(UInt<2>("h02"), buf_state) @[Conditional.scala 37:30]
|
node _T_30 = eq(UInt<2>("h02"), buf_state) @[Conditional.scala 37:30]
|
||||||
when _T_30 : @[Conditional.scala 39:67]
|
when _T_30 : @[Conditional.scala 39:67]
|
||||||
node _T_31 = mux(io.ahb.sig.in.hresp, UInt<2>("h00"), UInt<2>("h03")) @[ahb_to_axi4.scala 86:26]
|
node _T_31 = mux(io.ahb.sig.in.hresp, UInt<2>("h00"), UInt<2>("h03")) @[ahb_to_axi4.scala 85:26]
|
||||||
buf_nxtstate <= _T_31 @[ahb_to_axi4.scala 86:20]
|
buf_nxtstate <= _T_31 @[ahb_to_axi4.scala 85:20]
|
||||||
node _T_32 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 87:24]
|
node _T_32 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 86:24]
|
||||||
node _T_33 = or(_T_32, io.ahb.sig.in.hresp) @[ahb_to_axi4.scala 87:37]
|
node _T_33 = or(_T_32, io.ahb.sig.in.hresp) @[ahb_to_axi4.scala 86:37]
|
||||||
buf_state_en <= _T_33 @[ahb_to_axi4.scala 87:20]
|
buf_state_en <= _T_33 @[ahb_to_axi4.scala 86:20]
|
||||||
node _T_34 = eq(io.ahb.sig.in.hresp, UInt<1>("h00")) @[ahb_to_axi4.scala 88:23]
|
node _T_34 = eq(io.ahb.sig.in.hresp, UInt<1>("h00")) @[ahb_to_axi4.scala 87:23]
|
||||||
node _T_35 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 88:46]
|
node _T_35 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 87:46]
|
||||||
node _T_36 = and(_T_34, _T_35) @[ahb_to_axi4.scala 88:44]
|
node _T_36 = and(_T_34, _T_35) @[ahb_to_axi4.scala 87:44]
|
||||||
cmdbuf_wr_en <= _T_36 @[ahb_to_axi4.scala 88:20]
|
cmdbuf_wr_en <= _T_36 @[ahb_to_axi4.scala 87:20]
|
||||||
skip @[Conditional.scala 39:67]
|
skip @[Conditional.scala 39:67]
|
||||||
else : @[Conditional.scala 39:67]
|
else : @[Conditional.scala 39:67]
|
||||||
node _T_37 = eq(UInt<2>("h03"), buf_state) @[Conditional.scala 37:30]
|
node _T_37 = eq(UInt<2>("h03"), buf_state) @[Conditional.scala 37:30]
|
||||||
when _T_37 : @[Conditional.scala 39:67]
|
when _T_37 : @[Conditional.scala 39:67]
|
||||||
buf_nxtstate <= UInt<2>("h00") @[ahb_to_axi4.scala 91:20]
|
buf_nxtstate <= UInt<2>("h00") @[ahb_to_axi4.scala 90:20]
|
||||||
node _T_38 = eq(cmdbuf_write, UInt<1>("h00")) @[ahb_to_axi4.scala 92:40]
|
node _T_38 = eq(cmdbuf_write, UInt<1>("h00")) @[ahb_to_axi4.scala 91:40]
|
||||||
node _T_39 = and(io.axi.r.valid, _T_38) @[ahb_to_axi4.scala 92:38]
|
node _T_39 = and(io.axi.r.valid, _T_38) @[ahb_to_axi4.scala 91:38]
|
||||||
buf_state_en <= _T_39 @[ahb_to_axi4.scala 92:20]
|
buf_state_en <= _T_39 @[ahb_to_axi4.scala 91:20]
|
||||||
buf_rdata_en <= buf_state_en @[ahb_to_axi4.scala 93:20]
|
buf_rdata_en <= buf_state_en @[ahb_to_axi4.scala 92:20]
|
||||||
node _T_40 = bits(io.axi.r.bits.resp, 1, 0) @[ahb_to_axi4.scala 94:61]
|
node _T_40 = bits(io.axi.r.bits.resp, 1, 0) @[ahb_to_axi4.scala 93:61]
|
||||||
node _T_41 = orr(_T_40) @[ahb_to_axi4.scala 94:68]
|
node _T_41 = orr(_T_40) @[ahb_to_axi4.scala 93:68]
|
||||||
node _T_42 = and(buf_state_en, _T_41) @[ahb_to_axi4.scala 94:41]
|
node _T_42 = and(buf_state_en, _T_41) @[ahb_to_axi4.scala 93:41]
|
||||||
buf_read_error_in <= _T_42 @[ahb_to_axi4.scala 94:25]
|
buf_read_error_in <= _T_42 @[ahb_to_axi4.scala 93:25]
|
||||||
skip @[Conditional.scala 39:67]
|
skip @[Conditional.scala 39:67]
|
||||||
node _T_43 = bits(buf_state_en, 0, 0) @[ahb_to_axi4.scala 97:99]
|
node _T_43 = bits(buf_state_en, 0, 0) @[ahb_to_axi4.scala 96:99]
|
||||||
reg _T_44 : UInt, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
|
reg _T_44 : UInt, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
|
||||||
when _T_43 : @[Reg.scala 28:19]
|
when _T_43 : @[Reg.scala 28:19]
|
||||||
_T_44 <= buf_nxtstate @[Reg.scala 28:23]
|
_T_44 <= buf_nxtstate @[Reg.scala 28:23]
|
||||||
skip @[Reg.scala 28:19]
|
skip @[Reg.scala 28:19]
|
||||||
buf_state <= _T_44 @[ahb_to_axi4.scala 97:31]
|
buf_state <= _T_44 @[ahb_to_axi4.scala 96:31]
|
||||||
node _T_45 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 99:54]
|
node _T_45 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 98:54]
|
||||||
node _T_46 = eq(_T_45, UInt<1>("h00")) @[ahb_to_axi4.scala 99:60]
|
node _T_46 = eq(_T_45, UInt<1>("h00")) @[ahb_to_axi4.scala 98:60]
|
||||||
node _T_47 = bits(_T_46, 0, 0) @[Bitwise.scala 72:15]
|
node _T_47 = bits(_T_46, 0, 0) @[Bitwise.scala 72:15]
|
||||||
node _T_48 = mux(_T_47, UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
node _T_48 = mux(_T_47, UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
||||||
node _T_49 = bits(ahb_haddr_q, 2, 0) @[ahb_to_axi4.scala 99:92]
|
node _T_49 = bits(ahb_haddr_q, 2, 0) @[ahb_to_axi4.scala 98:92]
|
||||||
node _T_50 = dshl(UInt<1>("h01"), _T_49) @[ahb_to_axi4.scala 99:78]
|
node _T_50 = dshl(UInt<1>("h01"), _T_49) @[ahb_to_axi4.scala 98:78]
|
||||||
node _T_51 = and(_T_48, _T_50) @[ahb_to_axi4.scala 99:70]
|
node _T_51 = and(_T_48, _T_50) @[ahb_to_axi4.scala 98:70]
|
||||||
node _T_52 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 100:24]
|
node _T_52 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 99:24]
|
||||||
node _T_53 = eq(_T_52, UInt<1>("h01")) @[ahb_to_axi4.scala 100:30]
|
node _T_53 = eq(_T_52, UInt<1>("h01")) @[ahb_to_axi4.scala 99:30]
|
||||||
node _T_54 = bits(_T_53, 0, 0) @[Bitwise.scala 72:15]
|
node _T_54 = bits(_T_53, 0, 0) @[Bitwise.scala 72:15]
|
||||||
node _T_55 = mux(_T_54, UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
node _T_55 = mux(_T_54, UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
||||||
node _T_56 = bits(ahb_haddr_q, 2, 0) @[ahb_to_axi4.scala 100:62]
|
node _T_56 = bits(ahb_haddr_q, 2, 0) @[ahb_to_axi4.scala 99:62]
|
||||||
node _T_57 = dshl(UInt<2>("h03"), _T_56) @[ahb_to_axi4.scala 100:48]
|
node _T_57 = dshl(UInt<2>("h03"), _T_56) @[ahb_to_axi4.scala 99:48]
|
||||||
node _T_58 = and(_T_55, _T_57) @[ahb_to_axi4.scala 100:40]
|
node _T_58 = and(_T_55, _T_57) @[ahb_to_axi4.scala 99:40]
|
||||||
node _T_59 = or(_T_51, _T_58) @[ahb_to_axi4.scala 99:109]
|
node _T_59 = or(_T_51, _T_58) @[ahb_to_axi4.scala 98:109]
|
||||||
node _T_60 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 101:24]
|
node _T_60 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 100:24]
|
||||||
node _T_61 = eq(_T_60, UInt<2>("h02")) @[ahb_to_axi4.scala 101:30]
|
node _T_61 = eq(_T_60, UInt<2>("h02")) @[ahb_to_axi4.scala 100:30]
|
||||||
node _T_62 = bits(_T_61, 0, 0) @[Bitwise.scala 72:15]
|
node _T_62 = bits(_T_61, 0, 0) @[Bitwise.scala 72:15]
|
||||||
node _T_63 = mux(_T_62, UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
node _T_63 = mux(_T_62, UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
||||||
node _T_64 = bits(ahb_haddr_q, 2, 0) @[ahb_to_axi4.scala 101:62]
|
node _T_64 = bits(ahb_haddr_q, 2, 0) @[ahb_to_axi4.scala 100:62]
|
||||||
node _T_65 = dshl(UInt<4>("h0f"), _T_64) @[ahb_to_axi4.scala 101:48]
|
node _T_65 = dshl(UInt<4>("h0f"), _T_64) @[ahb_to_axi4.scala 100:48]
|
||||||
node _T_66 = and(_T_63, _T_65) @[ahb_to_axi4.scala 101:40]
|
node _T_66 = and(_T_63, _T_65) @[ahb_to_axi4.scala 100:40]
|
||||||
node _T_67 = or(_T_59, _T_66) @[ahb_to_axi4.scala 100:79]
|
node _T_67 = or(_T_59, _T_66) @[ahb_to_axi4.scala 99:79]
|
||||||
node _T_68 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 102:24]
|
node _T_68 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 101:24]
|
||||||
node _T_69 = eq(_T_68, UInt<2>("h03")) @[ahb_to_axi4.scala 102:30]
|
node _T_69 = eq(_T_68, UInt<2>("h03")) @[ahb_to_axi4.scala 101:30]
|
||||||
node _T_70 = bits(_T_69, 0, 0) @[Bitwise.scala 72:15]
|
node _T_70 = bits(_T_69, 0, 0) @[Bitwise.scala 72:15]
|
||||||
node _T_71 = mux(_T_70, UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
node _T_71 = mux(_T_70, UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
||||||
node _T_72 = and(_T_71, UInt<8>("h0ff")) @[ahb_to_axi4.scala 102:40]
|
node _T_72 = and(_T_71, UInt<8>("h0ff")) @[ahb_to_axi4.scala 101:40]
|
||||||
node _T_73 = or(_T_67, _T_72) @[ahb_to_axi4.scala 101:79]
|
node _T_73 = or(_T_67, _T_72) @[ahb_to_axi4.scala 100:79]
|
||||||
master_wstrb <= _T_73 @[ahb_to_axi4.scala 99:31]
|
master_wstrb <= _T_73 @[ahb_to_axi4.scala 98:31]
|
||||||
node _T_74 = eq(ahb_hready_q, UInt<1>("h00")) @[ahb_to_axi4.scala 105:80]
|
node _T_74 = eq(ahb_hready_q, UInt<1>("h00")) @[ahb_to_axi4.scala 104:80]
|
||||||
node _T_75 = and(ahb_hresp_q, _T_74) @[ahb_to_axi4.scala 105:78]
|
node _T_75 = and(ahb_hresp_q, _T_74) @[ahb_to_axi4.scala 104:78]
|
||||||
node _T_76 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 105:98]
|
node _T_76 = eq(cmdbuf_full, UInt<1>("h00")) @[ahb_to_axi4.scala 104:98]
|
||||||
node _T_77 = eq(buf_state, UInt<2>("h00")) @[ahb_to_axi4.scala 105:124]
|
node _T_77 = eq(buf_state, UInt<2>("h00")) @[ahb_to_axi4.scala 104:124]
|
||||||
node _T_78 = or(_T_76, _T_77) @[ahb_to_axi4.scala 105:111]
|
node _T_78 = or(_T_76, _T_77) @[ahb_to_axi4.scala 104:111]
|
||||||
node _T_79 = eq(buf_state, UInt<2>("h02")) @[ahb_to_axi4.scala 105:149]
|
node _T_79 = eq(buf_state, UInt<2>("h02")) @[ahb_to_axi4.scala 104:149]
|
||||||
node _T_80 = eq(buf_state, UInt<2>("h03")) @[ahb_to_axi4.scala 105:168]
|
node _T_80 = eq(buf_state, UInt<2>("h03")) @[ahb_to_axi4.scala 104:168]
|
||||||
node _T_81 = or(_T_79, _T_80) @[ahb_to_axi4.scala 105:156]
|
node _T_81 = or(_T_79, _T_80) @[ahb_to_axi4.scala 104:156]
|
||||||
node _T_82 = eq(_T_81, UInt<1>("h00")) @[ahb_to_axi4.scala 105:137]
|
node _T_82 = eq(_T_81, UInt<1>("h00")) @[ahb_to_axi4.scala 104:137]
|
||||||
node _T_83 = and(_T_78, _T_82) @[ahb_to_axi4.scala 105:135]
|
node _T_83 = and(_T_78, _T_82) @[ahb_to_axi4.scala 104:135]
|
||||||
node _T_84 = eq(buf_read_error, UInt<1>("h00")) @[ahb_to_axi4.scala 105:181]
|
node _T_84 = eq(buf_read_error, UInt<1>("h00")) @[ahb_to_axi4.scala 104:181]
|
||||||
node _T_85 = and(_T_83, _T_84) @[ahb_to_axi4.scala 105:179]
|
node _T_85 = and(_T_83, _T_84) @[ahb_to_axi4.scala 104:179]
|
||||||
node _T_86 = mux(io.ahb.sig.in.hresp, _T_75, _T_85) @[ahb_to_axi4.scala 105:44]
|
node _T_86 = mux(io.ahb.sig.in.hresp, _T_75, _T_85) @[ahb_to_axi4.scala 104:44]
|
||||||
io.ahb.sig.in.hready <= _T_86 @[ahb_to_axi4.scala 105:38]
|
io.ahb.sig.in.hready <= _T_86 @[ahb_to_axi4.scala 104:38]
|
||||||
node _T_87 = and(io.ahb.sig.in.hready, io.ahb.hreadyin) @[ahb_to_axi4.scala 106:55]
|
node _T_87 = and(io.ahb.sig.in.hready, io.ahb.hreadyin) @[ahb_to_axi4.scala 105:55]
|
||||||
ahb_hready <= _T_87 @[ahb_to_axi4.scala 106:31]
|
ahb_hready <= _T_87 @[ahb_to_axi4.scala 105:31]
|
||||||
node _T_88 = bits(io.ahb.hsel, 0, 0) @[Bitwise.scala 72:15]
|
node _T_88 = bits(io.ahb.hsel, 0, 0) @[Bitwise.scala 72:15]
|
||||||
node _T_89 = mux(_T_88, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
|
node _T_89 = mux(_T_88, UInt<2>("h03"), UInt<2>("h00")) @[Bitwise.scala 72:12]
|
||||||
node _T_90 = bits(io.ahb.sig.out.htrans, 1, 0) @[ahb_to_axi4.scala 107:77]
|
node _T_90 = bits(io.ahb.sig.out.htrans, 1, 0) @[ahb_to_axi4.scala 106:77]
|
||||||
node _T_91 = and(_T_89, _T_90) @[ahb_to_axi4.scala 107:54]
|
node _T_91 = and(_T_89, _T_90) @[ahb_to_axi4.scala 106:54]
|
||||||
ahb_htrans_in <= _T_91 @[ahb_to_axi4.scala 107:31]
|
ahb_htrans_in <= _T_91 @[ahb_to_axi4.scala 106:31]
|
||||||
node _T_92 = bits(buf_rdata, 63, 0) @[ahb_to_axi4.scala 108:50]
|
node _T_92 = bits(buf_rdata, 63, 0) @[ahb_to_axi4.scala 107:50]
|
||||||
io.ahb.sig.in.hrdata <= _T_92 @[ahb_to_axi4.scala 108:38]
|
io.ahb.sig.in.hrdata <= _T_92 @[ahb_to_axi4.scala 107:38]
|
||||||
node _T_93 = bits(ahb_htrans_q, 1, 0) @[ahb_to_axi4.scala 109:55]
|
node _T_93 = bits(ahb_htrans_q, 1, 0) @[ahb_to_axi4.scala 108:55]
|
||||||
node _T_94 = neq(_T_93, UInt<1>("h00")) @[ahb_to_axi4.scala 109:61]
|
node _T_94 = neq(_T_93, UInt<1>("h00")) @[ahb_to_axi4.scala 108:61]
|
||||||
node _T_95 = neq(buf_state, UInt<2>("h00")) @[ahb_to_axi4.scala 109:83]
|
node _T_95 = neq(buf_state, UInt<2>("h00")) @[ahb_to_axi4.scala 108:83]
|
||||||
node _T_96 = and(_T_94, _T_95) @[ahb_to_axi4.scala 109:70]
|
node _T_96 = and(_T_94, _T_95) @[ahb_to_axi4.scala 108:70]
|
||||||
node _T_97 = or(ahb_addr_in_dccm, ahb_addr_in_iccm) @[ahb_to_axi4.scala 110:26]
|
node _T_97 = or(ahb_addr_in_dccm, ahb_addr_in_iccm) @[ahb_to_axi4.scala 109:26]
|
||||||
node _T_98 = eq(_T_97, UInt<1>("h00")) @[ahb_to_axi4.scala 110:7]
|
node _T_98 = eq(_T_97, UInt<1>("h00")) @[ahb_to_axi4.scala 109:7]
|
||||||
node _T_99 = and(ahb_addr_in_dccm, ahb_hwrite_q) @[ahb_to_axi4.scala 111:46]
|
node _T_99 = and(ahb_addr_in_dccm, ahb_hwrite_q) @[ahb_to_axi4.scala 110:46]
|
||||||
node _T_100 = or(ahb_addr_in_iccm, _T_99) @[ahb_to_axi4.scala 111:26]
|
node _T_100 = or(ahb_addr_in_iccm, _T_99) @[ahb_to_axi4.scala 110:26]
|
||||||
node _T_101 = bits(ahb_hsize_q, 1, 0) @[ahb_to_axi4.scala 111:80]
|
node _T_101 = bits(ahb_hsize_q, 1, 0) @[ahb_to_axi4.scala 110:80]
|
||||||
node _T_102 = eq(_T_101, UInt<2>("h02")) @[ahb_to_axi4.scala 111:86]
|
node _T_102 = eq(_T_101, UInt<2>("h02")) @[ahb_to_axi4.scala 110:86]
|
||||||
node _T_103 = bits(ahb_hsize_q, 1, 0) @[ahb_to_axi4.scala 111:109]
|
node _T_103 = bits(ahb_hsize_q, 1, 0) @[ahb_to_axi4.scala 110:109]
|
||||||
node _T_104 = eq(_T_103, UInt<2>("h03")) @[ahb_to_axi4.scala 111:115]
|
node _T_104 = eq(_T_103, UInt<2>("h03")) @[ahb_to_axi4.scala 110:115]
|
||||||
node _T_105 = or(_T_102, _T_104) @[ahb_to_axi4.scala 111:95]
|
node _T_105 = or(_T_102, _T_104) @[ahb_to_axi4.scala 110:95]
|
||||||
node _T_106 = eq(_T_105, UInt<1>("h00")) @[ahb_to_axi4.scala 111:66]
|
node _T_106 = eq(_T_105, UInt<1>("h00")) @[ahb_to_axi4.scala 110:66]
|
||||||
node _T_107 = and(_T_100, _T_106) @[ahb_to_axi4.scala 111:64]
|
node _T_107 = and(_T_100, _T_106) @[ahb_to_axi4.scala 110:64]
|
||||||
node _T_108 = or(_T_98, _T_107) @[ahb_to_axi4.scala 110:47]
|
node _T_108 = or(_T_98, _T_107) @[ahb_to_axi4.scala 109:47]
|
||||||
node _T_109 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 112:20]
|
node _T_109 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 111:20]
|
||||||
node _T_110 = eq(_T_109, UInt<1>("h01")) @[ahb_to_axi4.scala 112:26]
|
node _T_110 = eq(_T_109, UInt<1>("h01")) @[ahb_to_axi4.scala 111:26]
|
||||||
node _T_111 = bits(ahb_haddr_q, 0, 0) @[ahb_to_axi4.scala 112:48]
|
node _T_111 = bits(ahb_haddr_q, 0, 0) @[ahb_to_axi4.scala 111:48]
|
||||||
node _T_112 = and(_T_110, _T_111) @[ahb_to_axi4.scala 112:35]
|
node _T_112 = and(_T_110, _T_111) @[ahb_to_axi4.scala 111:35]
|
||||||
node _T_113 = or(_T_108, _T_112) @[ahb_to_axi4.scala 111:126]
|
node _T_113 = or(_T_108, _T_112) @[ahb_to_axi4.scala 110:126]
|
||||||
node _T_114 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 113:20]
|
node _T_114 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 112:20]
|
||||||
node _T_115 = eq(_T_114, UInt<2>("h02")) @[ahb_to_axi4.scala 113:26]
|
node _T_115 = eq(_T_114, UInt<2>("h02")) @[ahb_to_axi4.scala 112:26]
|
||||||
node _T_116 = bits(ahb_haddr_q, 1, 0) @[ahb_to_axi4.scala 113:49]
|
node _T_116 = bits(ahb_haddr_q, 1, 0) @[ahb_to_axi4.scala 112:49]
|
||||||
node _T_117 = orr(_T_116) @[ahb_to_axi4.scala 113:56]
|
node _T_117 = orr(_T_116) @[ahb_to_axi4.scala 112:56]
|
||||||
node _T_118 = and(_T_115, _T_117) @[ahb_to_axi4.scala 113:35]
|
node _T_118 = and(_T_115, _T_117) @[ahb_to_axi4.scala 112:35]
|
||||||
node _T_119 = or(_T_113, _T_118) @[ahb_to_axi4.scala 112:55]
|
node _T_119 = or(_T_113, _T_118) @[ahb_to_axi4.scala 111:55]
|
||||||
node _T_120 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 114:20]
|
node _T_120 = bits(ahb_hsize_q, 2, 0) @[ahb_to_axi4.scala 113:20]
|
||||||
node _T_121 = eq(_T_120, UInt<2>("h03")) @[ahb_to_axi4.scala 114:26]
|
node _T_121 = eq(_T_120, UInt<2>("h03")) @[ahb_to_axi4.scala 113:26]
|
||||||
node _T_122 = bits(ahb_haddr_q, 2, 0) @[ahb_to_axi4.scala 114:49]
|
node _T_122 = bits(ahb_haddr_q, 2, 0) @[ahb_to_axi4.scala 113:49]
|
||||||
node _T_123 = orr(_T_122) @[ahb_to_axi4.scala 114:56]
|
node _T_123 = orr(_T_122) @[ahb_to_axi4.scala 113:56]
|
||||||
node _T_124 = and(_T_121, _T_123) @[ahb_to_axi4.scala 114:35]
|
node _T_124 = and(_T_121, _T_123) @[ahb_to_axi4.scala 113:35]
|
||||||
node _T_125 = or(_T_119, _T_124) @[ahb_to_axi4.scala 113:61]
|
node _T_125 = or(_T_119, _T_124) @[ahb_to_axi4.scala 112:61]
|
||||||
node _T_126 = and(_T_96, _T_125) @[ahb_to_axi4.scala 109:94]
|
node _T_126 = and(_T_96, _T_125) @[ahb_to_axi4.scala 108:94]
|
||||||
node _T_127 = or(_T_126, buf_read_error) @[ahb_to_axi4.scala 114:63]
|
node _T_127 = or(_T_126, buf_read_error) @[ahb_to_axi4.scala 113:63]
|
||||||
node _T_128 = eq(ahb_hready_q, UInt<1>("h00")) @[ahb_to_axi4.scala 116:20]
|
node _T_128 = eq(ahb_hready_q, UInt<1>("h00")) @[ahb_to_axi4.scala 115:20]
|
||||||
node _T_129 = and(ahb_hresp_q, _T_128) @[ahb_to_axi4.scala 116:18]
|
node _T_129 = and(ahb_hresp_q, _T_128) @[ahb_to_axi4.scala 115:18]
|
||||||
node _T_130 = or(_T_127, _T_129) @[ahb_to_axi4.scala 115:20]
|
node _T_130 = or(_T_127, _T_129) @[ahb_to_axi4.scala 114:20]
|
||||||
io.ahb.sig.in.hresp <= _T_130 @[ahb_to_axi4.scala 109:38]
|
io.ahb.sig.in.hresp <= _T_130 @[ahb_to_axi4.scala 108:38]
|
||||||
reg _T_131 : UInt, buf_rdata_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 119:66]
|
reg _T_131 : UInt, buf_rdata_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 118:66]
|
||||||
_T_131 <= io.axi.r.bits.data @[ahb_to_axi4.scala 119:66]
|
_T_131 <= io.axi.r.bits.data @[ahb_to_axi4.scala 118:66]
|
||||||
buf_rdata <= _T_131 @[ahb_to_axi4.scala 119:31]
|
buf_rdata <= _T_131 @[ahb_to_axi4.scala 118:31]
|
||||||
reg _T_132 : UInt<1>, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 120:60]
|
reg _T_132 : UInt<1>, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 119:60]
|
||||||
_T_132 <= buf_read_error_in @[ahb_to_axi4.scala 120:60]
|
_T_132 <= buf_read_error_in @[ahb_to_axi4.scala 119:60]
|
||||||
buf_read_error <= _T_132 @[ahb_to_axi4.scala 120:31]
|
buf_read_error <= _T_132 @[ahb_to_axi4.scala 119:31]
|
||||||
reg _T_133 : UInt<1>, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 123:60]
|
reg _T_133 : UInt<1>, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 122:60]
|
||||||
_T_133 <= io.ahb.sig.in.hresp @[ahb_to_axi4.scala 123:60]
|
_T_133 <= io.ahb.sig.in.hresp @[ahb_to_axi4.scala 122:60]
|
||||||
ahb_hresp_q <= _T_133 @[ahb_to_axi4.scala 123:31]
|
ahb_hresp_q <= _T_133 @[ahb_to_axi4.scala 122:31]
|
||||||
reg _T_134 : UInt<1>, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 124:60]
|
reg _T_134 : UInt<1>, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 123:60]
|
||||||
_T_134 <= ahb_hready @[ahb_to_axi4.scala 124:60]
|
_T_134 <= ahb_hready @[ahb_to_axi4.scala 123:60]
|
||||||
ahb_hready_q <= _T_134 @[ahb_to_axi4.scala 124:31]
|
ahb_hready_q <= _T_134 @[ahb_to_axi4.scala 123:31]
|
||||||
reg _T_135 : UInt, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 125:60]
|
reg _T_135 : UInt, ahb_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 124:60]
|
||||||
_T_135 <= ahb_htrans_in @[ahb_to_axi4.scala 125:60]
|
_T_135 <= ahb_htrans_in @[ahb_to_axi4.scala 124:60]
|
||||||
ahb_htrans_q <= _T_135 @[ahb_to_axi4.scala 125:31]
|
ahb_htrans_q <= _T_135 @[ahb_to_axi4.scala 124:31]
|
||||||
reg _T_136 : UInt, ahb_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 126:65]
|
reg _T_136 : UInt, ahb_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 125:65]
|
||||||
_T_136 <= io.ahb.sig.out.hsize @[ahb_to_axi4.scala 126:65]
|
_T_136 <= io.ahb.sig.out.hsize @[ahb_to_axi4.scala 125:65]
|
||||||
ahb_hsize_q <= _T_136 @[ahb_to_axi4.scala 126:31]
|
ahb_hsize_q <= _T_136 @[ahb_to_axi4.scala 125:31]
|
||||||
reg _T_137 : UInt<1>, ahb_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 127:65]
|
reg _T_137 : UInt<1>, ahb_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 126:65]
|
||||||
_T_137 <= io.ahb.sig.out.hwrite @[ahb_to_axi4.scala 127:65]
|
_T_137 <= io.ahb.sig.out.hwrite @[ahb_to_axi4.scala 126:65]
|
||||||
ahb_hwrite_q <= _T_137 @[ahb_to_axi4.scala 127:31]
|
ahb_hwrite_q <= _T_137 @[ahb_to_axi4.scala 126:31]
|
||||||
reg _T_138 : UInt, ahb_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 128:65]
|
reg _T_138 : UInt, ahb_addr_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 127:65]
|
||||||
_T_138 <= io.ahb.sig.out.haddr @[ahb_to_axi4.scala 128:65]
|
_T_138 <= io.ahb.sig.out.haddr @[ahb_to_axi4.scala 127:65]
|
||||||
ahb_haddr_q <= _T_138 @[ahb_to_axi4.scala 128:31]
|
ahb_haddr_q <= _T_138 @[ahb_to_axi4.scala 127:31]
|
||||||
node _T_139 = bits(io.ahb.sig.out.htrans, 1, 1) @[ahb_to_axi4.scala 131:85]
|
node _T_139 = bits(io.ahb.sig.out.htrans, 1, 1) @[ahb_to_axi4.scala 130:85]
|
||||||
node _T_140 = and(ahb_hready, _T_139) @[ahb_to_axi4.scala 131:62]
|
node _T_140 = and(ahb_hready, _T_139) @[ahb_to_axi4.scala 130:62]
|
||||||
node _T_141 = and(io.bus_clk_en, _T_140) @[ahb_to_axi4.scala 131:48]
|
node _T_141 = and(io.bus_clk_en, _T_140) @[ahb_to_axi4.scala 130:48]
|
||||||
ahb_bus_addr_clk_en <= _T_141 @[ahb_to_axi4.scala 131:31]
|
ahb_bus_addr_clk_en <= _T_141 @[ahb_to_axi4.scala 130:31]
|
||||||
node _T_142 = and(io.bus_clk_en, buf_rdata_en) @[ahb_to_axi4.scala 132:48]
|
node _T_142 = and(io.bus_clk_en, buf_rdata_en) @[ahb_to_axi4.scala 131:48]
|
||||||
buf_rdata_clk_en <= _T_142 @[ahb_to_axi4.scala 132:31]
|
buf_rdata_clk_en <= _T_142 @[ahb_to_axi4.scala 131:31]
|
||||||
inst rvclkhdr of rvclkhdr @[lib.scala 343:22]
|
inst rvclkhdr of rvclkhdr @[lib.scala 343:22]
|
||||||
rvclkhdr.clock <= clock
|
rvclkhdr.clock <= clock
|
||||||
rvclkhdr.reset <= reset
|
rvclkhdr.reset <= reset
|
||||||
rvclkhdr.io.clk <= clock @[lib.scala 344:17]
|
rvclkhdr.io.clk <= clock @[lib.scala 344:17]
|
||||||
rvclkhdr.io.en <= io.bus_clk_en @[lib.scala 345:16]
|
rvclkhdr.io.en <= io.bus_clk_en @[lib.scala 345:16]
|
||||||
rvclkhdr.io.scan_mode <= io.scan_mode @[lib.scala 346:23]
|
rvclkhdr.io.scan_mode <= io.scan_mode @[lib.scala 346:23]
|
||||||
ahb_clk <= rvclkhdr.io.l1clk @[ahb_to_axi4.scala 134:31]
|
ahb_clk <= rvclkhdr.io.l1clk @[ahb_to_axi4.scala 133:31]
|
||||||
inst rvclkhdr_1 of rvclkhdr_1 @[lib.scala 343:22]
|
inst rvclkhdr_1 of rvclkhdr_1 @[lib.scala 343:22]
|
||||||
rvclkhdr_1.clock <= clock
|
rvclkhdr_1.clock <= clock
|
||||||
rvclkhdr_1.reset <= reset
|
rvclkhdr_1.reset <= reset
|
||||||
rvclkhdr_1.io.clk <= clock @[lib.scala 344:17]
|
rvclkhdr_1.io.clk <= clock @[lib.scala 344:17]
|
||||||
rvclkhdr_1.io.en <= ahb_bus_addr_clk_en @[lib.scala 345:16]
|
rvclkhdr_1.io.en <= ahb_bus_addr_clk_en @[lib.scala 345:16]
|
||||||
rvclkhdr_1.io.scan_mode <= io.scan_mode @[lib.scala 346:23]
|
rvclkhdr_1.io.scan_mode <= io.scan_mode @[lib.scala 346:23]
|
||||||
ahb_addr_clk <= rvclkhdr_1.io.l1clk @[ahb_to_axi4.scala 135:31]
|
ahb_addr_clk <= rvclkhdr_1.io.l1clk @[ahb_to_axi4.scala 134:31]
|
||||||
inst rvclkhdr_2 of rvclkhdr_2 @[lib.scala 343:22]
|
inst rvclkhdr_2 of rvclkhdr_2 @[lib.scala 343:22]
|
||||||
rvclkhdr_2.clock <= clock
|
rvclkhdr_2.clock <= clock
|
||||||
rvclkhdr_2.reset <= reset
|
rvclkhdr_2.reset <= reset
|
||||||
rvclkhdr_2.io.clk <= clock @[lib.scala 344:17]
|
rvclkhdr_2.io.clk <= clock @[lib.scala 344:17]
|
||||||
rvclkhdr_2.io.en <= buf_rdata_clk_en @[lib.scala 345:16]
|
rvclkhdr_2.io.en <= buf_rdata_clk_en @[lib.scala 345:16]
|
||||||
rvclkhdr_2.io.scan_mode <= io.scan_mode @[lib.scala 346:23]
|
rvclkhdr_2.io.scan_mode <= io.scan_mode @[lib.scala 346:23]
|
||||||
buf_rdata_clk <= rvclkhdr_2.io.l1clk @[ahb_to_axi4.scala 136:31]
|
buf_rdata_clk <= rvclkhdr_2.io.l1clk @[ahb_to_axi4.scala 135:31]
|
||||||
node _T_143 = and(io.axi.aw.valid, io.axi.aw.ready) @[ahb_to_axi4.scala 138:53]
|
node _T_143 = and(io.axi.aw.valid, io.axi.aw.ready) @[ahb_to_axi4.scala 137:53]
|
||||||
node _T_144 = and(io.axi.ar.valid, io.axi.ar.ready) @[ahb_to_axi4.scala 138:91]
|
node _T_144 = and(io.axi.ar.valid, io.axi.ar.ready) @[ahb_to_axi4.scala 137:91]
|
||||||
node _T_145 = or(_T_143, _T_144) @[ahb_to_axi4.scala 138:72]
|
node _T_145 = or(_T_143, _T_144) @[ahb_to_axi4.scala 137:72]
|
||||||
node _T_146 = eq(cmdbuf_wr_en, UInt<1>("h00")) @[ahb_to_axi4.scala 138:113]
|
node _T_146 = eq(cmdbuf_wr_en, UInt<1>("h00")) @[ahb_to_axi4.scala 137:113]
|
||||||
node _T_147 = and(_T_145, _T_146) @[ahb_to_axi4.scala 138:111]
|
node _T_147 = and(_T_145, _T_146) @[ahb_to_axi4.scala 137:111]
|
||||||
node _T_148 = eq(cmdbuf_write, UInt<1>("h00")) @[ahb_to_axi4.scala 138:153]
|
node _T_148 = eq(cmdbuf_write, UInt<1>("h00")) @[ahb_to_axi4.scala 137:153]
|
||||||
node _T_149 = and(io.ahb.sig.in.hresp, _T_148) @[ahb_to_axi4.scala 138:151]
|
node _T_149 = and(io.ahb.sig.in.hresp, _T_148) @[ahb_to_axi4.scala 137:151]
|
||||||
node _T_150 = or(_T_147, _T_149) @[ahb_to_axi4.scala 138:128]
|
node _T_150 = or(_T_147, _T_149) @[ahb_to_axi4.scala 137:128]
|
||||||
cmdbuf_rst <= _T_150 @[ahb_to_axi4.scala 138:31]
|
cmdbuf_rst <= _T_150 @[ahb_to_axi4.scala 137:31]
|
||||||
node _T_151 = and(io.axi.aw.valid, io.axi.aw.ready) @[ahb_to_axi4.scala 139:67]
|
node _T_151 = and(io.axi.aw.valid, io.axi.aw.ready) @[ahb_to_axi4.scala 138:67]
|
||||||
node _T_152 = and(io.axi.ar.valid, io.axi.ar.ready) @[ahb_to_axi4.scala 139:105]
|
node _T_152 = and(io.axi.ar.valid, io.axi.ar.ready) @[ahb_to_axi4.scala 138:105]
|
||||||
node _T_153 = or(_T_151, _T_152) @[ahb_to_axi4.scala 139:86]
|
node _T_153 = or(_T_151, _T_152) @[ahb_to_axi4.scala 138:86]
|
||||||
node _T_154 = eq(_T_153, UInt<1>("h00")) @[ahb_to_axi4.scala 139:48]
|
node _T_154 = eq(_T_153, UInt<1>("h00")) @[ahb_to_axi4.scala 138:48]
|
||||||
node _T_155 = and(cmdbuf_vld, _T_154) @[ahb_to_axi4.scala 139:46]
|
node _T_155 = and(cmdbuf_vld, _T_154) @[ahb_to_axi4.scala 138:46]
|
||||||
cmdbuf_full <= _T_155 @[ahb_to_axi4.scala 139:31]
|
cmdbuf_full <= _T_155 @[ahb_to_axi4.scala 138:31]
|
||||||
node _T_156 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 141:86]
|
node _T_156 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 140:86]
|
||||||
node _T_157 = mux(_T_156, UInt<1>("h01"), cmdbuf_vld) @[ahb_to_axi4.scala 141:66]
|
node _T_157 = mux(_T_156, UInt<1>("h01"), cmdbuf_vld) @[ahb_to_axi4.scala 140:66]
|
||||||
node _T_158 = eq(cmdbuf_rst, UInt<1>("h00")) @[ahb_to_axi4.scala 141:110]
|
node _T_158 = eq(cmdbuf_rst, UInt<1>("h00")) @[ahb_to_axi4.scala 140:110]
|
||||||
node _T_159 = and(_T_157, _T_158) @[ahb_to_axi4.scala 141:108]
|
node _T_159 = and(_T_157, _T_158) @[ahb_to_axi4.scala 140:108]
|
||||||
reg _T_160 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 141:61]
|
reg _T_160 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[ahb_to_axi4.scala 140:61]
|
||||||
_T_160 <= _T_159 @[ahb_to_axi4.scala 141:61]
|
_T_160 <= _T_159 @[ahb_to_axi4.scala 140:61]
|
||||||
cmdbuf_vld <= _T_160 @[ahb_to_axi4.scala 141:31]
|
cmdbuf_vld <= _T_160 @[ahb_to_axi4.scala 140:31]
|
||||||
node _T_161 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 145:53]
|
node _T_161 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 144:53]
|
||||||
reg _T_162 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
|
reg _T_162 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
|
||||||
when _T_161 : @[Reg.scala 28:19]
|
when _T_161 : @[Reg.scala 28:19]
|
||||||
_T_162 <= ahb_hwrite_q @[Reg.scala 28:23]
|
_T_162 <= ahb_hwrite_q @[Reg.scala 28:23]
|
||||||
skip @[Reg.scala 28:19]
|
skip @[Reg.scala 28:19]
|
||||||
cmdbuf_write <= _T_162 @[ahb_to_axi4.scala 144:31]
|
cmdbuf_write <= _T_162 @[ahb_to_axi4.scala 143:31]
|
||||||
node _T_163 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 148:52]
|
node _T_163 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 147:52]
|
||||||
reg _T_164 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
|
reg _T_164 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
|
||||||
when _T_163 : @[Reg.scala 28:19]
|
when _T_163 : @[Reg.scala 28:19]
|
||||||
_T_164 <= ahb_hsize_q @[Reg.scala 28:23]
|
_T_164 <= ahb_hsize_q @[Reg.scala 28:23]
|
||||||
skip @[Reg.scala 28:19]
|
skip @[Reg.scala 28:19]
|
||||||
cmdbuf_size <= _T_164 @[ahb_to_axi4.scala 147:31]
|
cmdbuf_size <= _T_164 @[ahb_to_axi4.scala 146:31]
|
||||||
node _T_165 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 151:53]
|
node _T_165 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 150:53]
|
||||||
reg _T_166 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
|
reg _T_166 : UInt, bus_clk with : (reset => (reset, UInt<1>("h00"))) @[Reg.scala 27:20]
|
||||||
when _T_165 : @[Reg.scala 28:19]
|
when _T_165 : @[Reg.scala 28:19]
|
||||||
_T_166 <= master_wstrb @[Reg.scala 28:23]
|
_T_166 <= master_wstrb @[Reg.scala 28:23]
|
||||||
skip @[Reg.scala 28:19]
|
skip @[Reg.scala 28:19]
|
||||||
cmdbuf_wstrb <= _T_166 @[ahb_to_axi4.scala 150:31]
|
cmdbuf_wstrb <= _T_166 @[ahb_to_axi4.scala 149:31]
|
||||||
node _T_167 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 154:57]
|
node _T_167 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 153:57]
|
||||||
inst rvclkhdr_3 of rvclkhdr_3 @[lib.scala 368:23]
|
inst rvclkhdr_3 of rvclkhdr_3 @[lib.scala 368:23]
|
||||||
rvclkhdr_3.clock <= clock
|
rvclkhdr_3.clock <= clock
|
||||||
rvclkhdr_3.reset <= reset
|
rvclkhdr_3.reset <= reset
|
||||||
|
@ -562,8 +562,8 @@ circuit ahb_to_axi4 :
|
||||||
rvclkhdr_3.io.scan_mode <= io.scan_mode @[lib.scala 372:24]
|
rvclkhdr_3.io.scan_mode <= io.scan_mode @[lib.scala 372:24]
|
||||||
reg _T_168 : UInt, rvclkhdr_3.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[lib.scala 374:16]
|
reg _T_168 : UInt, rvclkhdr_3.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[lib.scala 374:16]
|
||||||
_T_168 <= ahb_haddr_q @[lib.scala 374:16]
|
_T_168 <= ahb_haddr_q @[lib.scala 374:16]
|
||||||
cmdbuf_addr <= _T_168 @[ahb_to_axi4.scala 154:15]
|
cmdbuf_addr <= _T_168 @[ahb_to_axi4.scala 153:15]
|
||||||
node _T_169 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 155:68]
|
node _T_169 = bits(cmdbuf_wr_en, 0, 0) @[ahb_to_axi4.scala 154:68]
|
||||||
inst rvclkhdr_4 of rvclkhdr_4 @[lib.scala 368:23]
|
inst rvclkhdr_4 of rvclkhdr_4 @[lib.scala 368:23]
|
||||||
rvclkhdr_4.clock <= clock
|
rvclkhdr_4.clock <= clock
|
||||||
rvclkhdr_4.reset <= reset
|
rvclkhdr_4.reset <= reset
|
||||||
|
@ -572,44 +572,44 @@ circuit ahb_to_axi4 :
|
||||||
rvclkhdr_4.io.scan_mode <= io.scan_mode @[lib.scala 372:24]
|
rvclkhdr_4.io.scan_mode <= io.scan_mode @[lib.scala 372:24]
|
||||||
reg _T_170 : UInt, rvclkhdr_4.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[lib.scala 374:16]
|
reg _T_170 : UInt, rvclkhdr_4.io.l1clk with : (reset => (reset, UInt<1>("h00"))) @[lib.scala 374:16]
|
||||||
_T_170 <= io.ahb.sig.out.hwdata @[lib.scala 374:16]
|
_T_170 <= io.ahb.sig.out.hwdata @[lib.scala 374:16]
|
||||||
cmdbuf_wdata <= _T_170 @[ahb_to_axi4.scala 155:16]
|
cmdbuf_wdata <= _T_170 @[ahb_to_axi4.scala 154:16]
|
||||||
node _T_171 = and(cmdbuf_vld, cmdbuf_write) @[ahb_to_axi4.scala 158:42]
|
node _T_171 = and(cmdbuf_vld, cmdbuf_write) @[ahb_to_axi4.scala 157:42]
|
||||||
io.axi.aw.valid <= _T_171 @[ahb_to_axi4.scala 158:28]
|
io.axi.aw.valid <= _T_171 @[ahb_to_axi4.scala 157:28]
|
||||||
io.axi.aw.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 159:33]
|
io.axi.aw.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 158:33]
|
||||||
io.axi.aw.bits.addr <= cmdbuf_addr @[ahb_to_axi4.scala 160:33]
|
io.axi.aw.bits.addr <= cmdbuf_addr @[ahb_to_axi4.scala 159:33]
|
||||||
node _T_172 = bits(cmdbuf_size, 1, 0) @[ahb_to_axi4.scala 161:59]
|
node _T_172 = bits(cmdbuf_size, 1, 0) @[ahb_to_axi4.scala 160:59]
|
||||||
node _T_173 = cat(UInt<1>("h00"), _T_172) @[Cat.scala 29:58]
|
node _T_173 = cat(UInt<1>("h00"), _T_172) @[Cat.scala 29:58]
|
||||||
io.axi.aw.bits.size <= _T_173 @[ahb_to_axi4.scala 161:33]
|
io.axi.aw.bits.size <= _T_173 @[ahb_to_axi4.scala 160:33]
|
||||||
node _T_174 = mux(UInt<1>("h00"), UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
|
node _T_174 = mux(UInt<1>("h00"), UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
|
||||||
io.axi.aw.bits.prot <= _T_174 @[ahb_to_axi4.scala 162:33]
|
io.axi.aw.bits.prot <= _T_174 @[ahb_to_axi4.scala 161:33]
|
||||||
node _T_175 = mux(UInt<1>("h00"), UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
node _T_175 = mux(UInt<1>("h00"), UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
||||||
io.axi.aw.bits.len <= _T_175 @[ahb_to_axi4.scala 163:33]
|
io.axi.aw.bits.len <= _T_175 @[ahb_to_axi4.scala 162:33]
|
||||||
io.axi.aw.bits.burst <= UInt<1>("h01") @[ahb_to_axi4.scala 164:33]
|
io.axi.aw.bits.burst <= UInt<1>("h01") @[ahb_to_axi4.scala 163:33]
|
||||||
node _T_176 = and(cmdbuf_vld, cmdbuf_write) @[ahb_to_axi4.scala 166:42]
|
node _T_176 = and(cmdbuf_vld, cmdbuf_write) @[ahb_to_axi4.scala 165:42]
|
||||||
io.axi.w.valid <= _T_176 @[ahb_to_axi4.scala 166:28]
|
io.axi.w.valid <= _T_176 @[ahb_to_axi4.scala 165:28]
|
||||||
io.axi.w.bits.data <= cmdbuf_wdata @[ahb_to_axi4.scala 167:33]
|
io.axi.w.bits.data <= cmdbuf_wdata @[ahb_to_axi4.scala 166:33]
|
||||||
io.axi.w.bits.strb <= cmdbuf_wstrb @[ahb_to_axi4.scala 168:33]
|
io.axi.w.bits.strb <= cmdbuf_wstrb @[ahb_to_axi4.scala 167:33]
|
||||||
io.axi.w.bits.last <= UInt<1>("h01") @[ahb_to_axi4.scala 169:33]
|
io.axi.w.bits.last <= UInt<1>("h01") @[ahb_to_axi4.scala 168:33]
|
||||||
io.axi.b.ready <= UInt<1>("h01") @[ahb_to_axi4.scala 171:28]
|
io.axi.b.ready <= UInt<1>("h01") @[ahb_to_axi4.scala 170:28]
|
||||||
node _T_177 = eq(cmdbuf_write, UInt<1>("h00")) @[ahb_to_axi4.scala 173:44]
|
node _T_177 = eq(cmdbuf_write, UInt<1>("h00")) @[ahb_to_axi4.scala 172:44]
|
||||||
node _T_178 = and(cmdbuf_vld, _T_177) @[ahb_to_axi4.scala 173:42]
|
node _T_178 = and(cmdbuf_vld, _T_177) @[ahb_to_axi4.scala 172:42]
|
||||||
io.axi.ar.valid <= _T_178 @[ahb_to_axi4.scala 173:28]
|
io.axi.ar.valid <= _T_178 @[ahb_to_axi4.scala 172:28]
|
||||||
io.axi.ar.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 174:33]
|
io.axi.ar.bits.id <= UInt<1>("h00") @[ahb_to_axi4.scala 173:33]
|
||||||
io.axi.ar.bits.addr <= cmdbuf_addr @[ahb_to_axi4.scala 175:33]
|
io.axi.ar.bits.addr <= cmdbuf_addr @[ahb_to_axi4.scala 174:33]
|
||||||
node _T_179 = bits(cmdbuf_size, 1, 0) @[ahb_to_axi4.scala 176:59]
|
node _T_179 = bits(cmdbuf_size, 1, 0) @[ahb_to_axi4.scala 175:59]
|
||||||
node _T_180 = cat(UInt<1>("h00"), _T_179) @[Cat.scala 29:58]
|
node _T_180 = cat(UInt<1>("h00"), _T_179) @[Cat.scala 29:58]
|
||||||
io.axi.ar.bits.size <= _T_180 @[ahb_to_axi4.scala 176:33]
|
io.axi.ar.bits.size <= _T_180 @[ahb_to_axi4.scala 175:33]
|
||||||
node _T_181 = mux(UInt<1>("h00"), UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
|
node _T_181 = mux(UInt<1>("h00"), UInt<3>("h07"), UInt<3>("h00")) @[Bitwise.scala 72:12]
|
||||||
io.axi.ar.bits.prot <= _T_181 @[ahb_to_axi4.scala 177:33]
|
io.axi.ar.bits.prot <= _T_181 @[ahb_to_axi4.scala 176:33]
|
||||||
node _T_182 = mux(UInt<1>("h00"), UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
node _T_182 = mux(UInt<1>("h00"), UInt<8>("h0ff"), UInt<8>("h00")) @[Bitwise.scala 72:12]
|
||||||
io.axi.ar.bits.len <= _T_182 @[ahb_to_axi4.scala 178:33]
|
io.axi.ar.bits.len <= _T_182 @[ahb_to_axi4.scala 177:33]
|
||||||
io.axi.ar.bits.burst <= UInt<1>("h01") @[ahb_to_axi4.scala 179:33]
|
io.axi.ar.bits.burst <= UInt<1>("h01") @[ahb_to_axi4.scala 178:33]
|
||||||
io.axi.r.ready <= UInt<1>("h01") @[ahb_to_axi4.scala 181:28]
|
io.axi.r.ready <= UInt<1>("h01") @[ahb_to_axi4.scala 180:28]
|
||||||
inst rvclkhdr_5 of rvclkhdr_5 @[lib.scala 343:22]
|
inst rvclkhdr_5 of rvclkhdr_5 @[lib.scala 343:22]
|
||||||
rvclkhdr_5.clock <= clock
|
rvclkhdr_5.clock <= clock
|
||||||
rvclkhdr_5.reset <= reset
|
rvclkhdr_5.reset <= reset
|
||||||
rvclkhdr_5.io.clk <= clock @[lib.scala 344:17]
|
rvclkhdr_5.io.clk <= clock @[lib.scala 344:17]
|
||||||
rvclkhdr_5.io.en <= io.bus_clk_en @[lib.scala 345:16]
|
rvclkhdr_5.io.en <= io.bus_clk_en @[lib.scala 345:16]
|
||||||
rvclkhdr_5.io.scan_mode <= io.scan_mode @[lib.scala 346:23]
|
rvclkhdr_5.io.scan_mode <= io.scan_mode @[lib.scala 346:23]
|
||||||
bus_clk <= rvclkhdr_5.io.l1clk @[ahb_to_axi4.scala 182:27]
|
bus_clk <= rvclkhdr_5.io.l1clk @[ahb_to_axi4.scala 181:27]
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,584 @@
|
||||||
|
module rvclkhdr(
|
||||||
|
output io_l1clk,
|
||||||
|
input io_clk,
|
||||||
|
input io_en,
|
||||||
|
input io_scan_mode
|
||||||
|
);
|
||||||
|
wire clkhdr_Q; // @[lib.scala 334:26]
|
||||||
|
wire clkhdr_CK; // @[lib.scala 334:26]
|
||||||
|
wire clkhdr_EN; // @[lib.scala 334:26]
|
||||||
|
wire clkhdr_SE; // @[lib.scala 334:26]
|
||||||
|
gated_latch clkhdr ( // @[lib.scala 334:26]
|
||||||
|
.Q(clkhdr_Q),
|
||||||
|
.CK(clkhdr_CK),
|
||||||
|
.EN(clkhdr_EN),
|
||||||
|
.SE(clkhdr_SE)
|
||||||
|
);
|
||||||
|
assign io_l1clk = clkhdr_Q; // @[lib.scala 335:14]
|
||||||
|
assign clkhdr_CK = io_clk; // @[lib.scala 336:18]
|
||||||
|
assign clkhdr_EN = io_en; // @[lib.scala 337:18]
|
||||||
|
assign clkhdr_SE = io_scan_mode; // @[lib.scala 338:18]
|
||||||
|
endmodule
|
||||||
|
module ahb_to_axi4(
|
||||||
|
input clock,
|
||||||
|
input reset,
|
||||||
|
input io_scan_mode,
|
||||||
|
input io_bus_clk_en,
|
||||||
|
input io_clk_override,
|
||||||
|
input io_axi_aw_ready,
|
||||||
|
output io_axi_aw_valid,
|
||||||
|
output io_axi_aw_bits_id,
|
||||||
|
output [31:0] io_axi_aw_bits_addr,
|
||||||
|
output [3:0] io_axi_aw_bits_region,
|
||||||
|
output [7:0] io_axi_aw_bits_len,
|
||||||
|
output [2:0] io_axi_aw_bits_size,
|
||||||
|
output [1:0] io_axi_aw_bits_burst,
|
||||||
|
output io_axi_aw_bits_lock,
|
||||||
|
output [3:0] io_axi_aw_bits_cache,
|
||||||
|
output [2:0] io_axi_aw_bits_prot,
|
||||||
|
output [3:0] io_axi_aw_bits_qos,
|
||||||
|
input io_axi_w_ready,
|
||||||
|
output io_axi_w_valid,
|
||||||
|
output [63:0] io_axi_w_bits_data,
|
||||||
|
output [7:0] io_axi_w_bits_strb,
|
||||||
|
output io_axi_w_bits_last,
|
||||||
|
output io_axi_b_ready,
|
||||||
|
input io_axi_b_valid,
|
||||||
|
input [1:0] io_axi_b_bits_resp,
|
||||||
|
input io_axi_b_bits_id,
|
||||||
|
input io_axi_ar_ready,
|
||||||
|
output io_axi_ar_valid,
|
||||||
|
output io_axi_ar_bits_id,
|
||||||
|
output [31:0] io_axi_ar_bits_addr,
|
||||||
|
output [3:0] io_axi_ar_bits_region,
|
||||||
|
output [7:0] io_axi_ar_bits_len,
|
||||||
|
output [2:0] io_axi_ar_bits_size,
|
||||||
|
output [1:0] io_axi_ar_bits_burst,
|
||||||
|
output io_axi_ar_bits_lock,
|
||||||
|
output [3:0] io_axi_ar_bits_cache,
|
||||||
|
output [2:0] io_axi_ar_bits_prot,
|
||||||
|
output [3:0] io_axi_ar_bits_qos,
|
||||||
|
output io_axi_r_ready,
|
||||||
|
input io_axi_r_valid,
|
||||||
|
input io_axi_r_bits_id,
|
||||||
|
input [63:0] io_axi_r_bits_data,
|
||||||
|
input [1:0] io_axi_r_bits_resp,
|
||||||
|
input io_axi_r_bits_last,
|
||||||
|
output [63:0] io_ahb_sig_in_hrdata,
|
||||||
|
output io_ahb_sig_in_hready,
|
||||||
|
output io_ahb_sig_in_hresp,
|
||||||
|
input [31:0] io_ahb_sig_out_haddr,
|
||||||
|
input [2:0] io_ahb_sig_out_hburst,
|
||||||
|
input io_ahb_sig_out_hmastlock,
|
||||||
|
input [3:0] io_ahb_sig_out_hprot,
|
||||||
|
input [2:0] io_ahb_sig_out_hsize,
|
||||||
|
input [1:0] io_ahb_sig_out_htrans,
|
||||||
|
input io_ahb_sig_out_hwrite,
|
||||||
|
input [63:0] io_ahb_sig_out_hwdata,
|
||||||
|
input io_ahb_hsel,
|
||||||
|
input io_ahb_hreadyin
|
||||||
|
);
|
||||||
|
`ifdef RANDOMIZE_REG_INIT
|
||||||
|
reg [31:0] _RAND_0;
|
||||||
|
reg [31:0] _RAND_1;
|
||||||
|
reg [31:0] _RAND_2;
|
||||||
|
reg [31:0] _RAND_3;
|
||||||
|
reg [31:0] _RAND_4;
|
||||||
|
reg [31:0] _RAND_5;
|
||||||
|
reg [31:0] _RAND_6;
|
||||||
|
reg [31:0] _RAND_7;
|
||||||
|
reg [63:0] _RAND_8;
|
||||||
|
reg [31:0] _RAND_9;
|
||||||
|
reg [31:0] _RAND_10;
|
||||||
|
reg [31:0] _RAND_11;
|
||||||
|
reg [31:0] _RAND_12;
|
||||||
|
reg [31:0] _RAND_13;
|
||||||
|
reg [63:0] _RAND_14;
|
||||||
|
`endif // RANDOMIZE_REG_INIT
|
||||||
|
wire rvclkhdr_io_l1clk; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_io_clk; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_io_en; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_io_scan_mode; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_1_io_l1clk; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_1_io_clk; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_1_io_en; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_1_io_scan_mode; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_2_io_l1clk; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_2_io_clk; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_2_io_en; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_2_io_scan_mode; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_3_io_l1clk; // @[lib.scala 368:23]
|
||||||
|
wire rvclkhdr_3_io_clk; // @[lib.scala 368:23]
|
||||||
|
wire rvclkhdr_3_io_en; // @[lib.scala 368:23]
|
||||||
|
wire rvclkhdr_3_io_scan_mode; // @[lib.scala 368:23]
|
||||||
|
wire rvclkhdr_4_io_l1clk; // @[lib.scala 368:23]
|
||||||
|
wire rvclkhdr_4_io_clk; // @[lib.scala 368:23]
|
||||||
|
wire rvclkhdr_4_io_en; // @[lib.scala 368:23]
|
||||||
|
wire rvclkhdr_4_io_scan_mode; // @[lib.scala 368:23]
|
||||||
|
wire rvclkhdr_5_io_l1clk; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_5_io_clk; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_5_io_en; // @[lib.scala 343:22]
|
||||||
|
wire rvclkhdr_5_io_scan_mode; // @[lib.scala 343:22]
|
||||||
|
wire ahb_addr_clk = rvclkhdr_1_io_l1clk; // @[ahb_to_axi4.scala 45:33 ahb_to_axi4.scala 134:31]
|
||||||
|
reg [31:0] ahb_haddr_q; // @[ahb_to_axi4.scala 127:65]
|
||||||
|
wire ahb_addr_in_dccm = ahb_haddr_q[31:16] == 16'hf004; // @[lib.scala 87:29]
|
||||||
|
wire ahb_addr_in_iccm = ahb_haddr_q[31:16] == 16'hee00; // @[lib.scala 87:29]
|
||||||
|
wire ahb_clk = rvclkhdr_io_l1clk; // @[ahb_to_axi4.scala 44:33 ahb_to_axi4.scala 133:31]
|
||||||
|
reg [1:0] buf_state; // @[Reg.scala 27:20]
|
||||||
|
wire _T_7 = 2'h0 == buf_state; // @[Conditional.scala 37:30]
|
||||||
|
wire ahb_hready = io_ahb_sig_in_hready & io_ahb_hreadyin; // @[ahb_to_axi4.scala 105:55]
|
||||||
|
wire _T_10 = ahb_hready & io_ahb_sig_out_htrans[1]; // @[ahb_to_axi4.scala 77:34]
|
||||||
|
wire _T_11 = _T_10 & io_ahb_hsel; // @[ahb_to_axi4.scala 77:61]
|
||||||
|
wire _T_12 = 2'h1 == buf_state; // @[Conditional.scala 37:30]
|
||||||
|
wire _T_14 = io_ahb_sig_out_htrans == 2'h0; // @[ahb_to_axi4.scala 80:79]
|
||||||
|
wire _T_15 = io_ahb_sig_in_hresp | _T_14; // @[ahb_to_axi4.scala 80:48]
|
||||||
|
wire _T_16 = ~io_ahb_hsel; // @[ahb_to_axi4.scala 80:93]
|
||||||
|
wire _T_17 = _T_15 | _T_16; // @[ahb_to_axi4.scala 80:91]
|
||||||
|
wire bus_clk = rvclkhdr_5_io_l1clk; // @[ahb_to_axi4.scala 58:33 ahb_to_axi4.scala 181:27]
|
||||||
|
reg cmdbuf_vld; // @[ahb_to_axi4.scala 140:61]
|
||||||
|
wire _T_151 = io_axi_aw_valid & io_axi_aw_ready; // @[ahb_to_axi4.scala 138:67]
|
||||||
|
wire _T_152 = io_axi_ar_valid & io_axi_ar_ready; // @[ahb_to_axi4.scala 138:105]
|
||||||
|
wire _T_153 = _T_151 | _T_152; // @[ahb_to_axi4.scala 138:86]
|
||||||
|
wire _T_154 = ~_T_153; // @[ahb_to_axi4.scala 138:48]
|
||||||
|
wire cmdbuf_full = cmdbuf_vld & _T_154; // @[ahb_to_axi4.scala 138:46]
|
||||||
|
wire _T_21 = ~cmdbuf_full; // @[ahb_to_axi4.scala 81:24]
|
||||||
|
wire _T_22 = _T_21 | io_ahb_sig_in_hresp; // @[ahb_to_axi4.scala 81:37]
|
||||||
|
wire _T_25 = io_ahb_sig_out_htrans == 2'h1; // @[ahb_to_axi4.scala 82:92]
|
||||||
|
wire _T_26 = _T_25 & io_ahb_hsel; // @[ahb_to_axi4.scala 82:110]
|
||||||
|
wire _T_27 = io_ahb_sig_in_hresp | _T_26; // @[ahb_to_axi4.scala 82:60]
|
||||||
|
wire _T_28 = ~_T_27; // @[ahb_to_axi4.scala 82:38]
|
||||||
|
wire _T_29 = _T_21 & _T_28; // @[ahb_to_axi4.scala 82:36]
|
||||||
|
wire _T_30 = 2'h2 == buf_state; // @[Conditional.scala 37:30]
|
||||||
|
wire _T_34 = ~io_ahb_sig_in_hresp; // @[ahb_to_axi4.scala 87:23]
|
||||||
|
wire _T_36 = _T_34 & _T_21; // @[ahb_to_axi4.scala 87:44]
|
||||||
|
wire _T_37 = 2'h3 == buf_state; // @[Conditional.scala 37:30]
|
||||||
|
reg cmdbuf_write; // @[Reg.scala 27:20]
|
||||||
|
wire _T_38 = ~cmdbuf_write; // @[ahb_to_axi4.scala 91:40]
|
||||||
|
wire _T_39 = io_axi_r_valid & _T_38; // @[ahb_to_axi4.scala 91:38]
|
||||||
|
wire _T_41 = |io_axi_r_bits_resp; // @[ahb_to_axi4.scala 93:68]
|
||||||
|
wire _GEN_1 = _T_37 & _T_39; // @[Conditional.scala 39:67]
|
||||||
|
wire _GEN_5 = _T_30 ? _T_22 : _GEN_1; // @[Conditional.scala 39:67]
|
||||||
|
wire _GEN_10 = _T_12 ? _T_22 : _GEN_5; // @[Conditional.scala 39:67]
|
||||||
|
wire buf_state_en = _T_7 ? _T_11 : _GEN_10; // @[Conditional.scala 40:58]
|
||||||
|
wire _T_42 = buf_state_en & _T_41; // @[ahb_to_axi4.scala 93:41]
|
||||||
|
wire _GEN_2 = _T_37 & buf_state_en; // @[Conditional.scala 39:67]
|
||||||
|
wire _GEN_3 = _T_37 & _T_42; // @[Conditional.scala 39:67]
|
||||||
|
wire _GEN_6 = _T_30 & _T_36; // @[Conditional.scala 39:67]
|
||||||
|
wire _GEN_7 = _T_30 ? 1'h0 : _GEN_2; // @[Conditional.scala 39:67]
|
||||||
|
wire _GEN_11 = _T_12 ? _T_29 : _GEN_6; // @[Conditional.scala 39:67]
|
||||||
|
wire _GEN_12 = _T_12 ? 1'h0 : _GEN_7; // @[Conditional.scala 39:67]
|
||||||
|
wire cmdbuf_wr_en = _T_7 ? 1'h0 : _GEN_11; // @[Conditional.scala 40:58]
|
||||||
|
wire buf_rdata_en = _T_7 ? 1'h0 : _GEN_12; // @[Conditional.scala 40:58]
|
||||||
|
reg [2:0] ahb_hsize_q; // @[ahb_to_axi4.scala 125:65]
|
||||||
|
wire _T_46 = ahb_hsize_q == 3'h0; // @[ahb_to_axi4.scala 98:60]
|
||||||
|
wire [7:0] _T_48 = _T_46 ? 8'hff : 8'h0; // @[Bitwise.scala 72:12]
|
||||||
|
wire [7:0] _T_50 = 8'h1 << ahb_haddr_q[2:0]; // @[ahb_to_axi4.scala 98:78]
|
||||||
|
wire [7:0] _T_51 = _T_48 & _T_50; // @[ahb_to_axi4.scala 98:70]
|
||||||
|
wire _T_53 = ahb_hsize_q == 3'h1; // @[ahb_to_axi4.scala 99:30]
|
||||||
|
wire [7:0] _T_55 = _T_53 ? 8'hff : 8'h0; // @[Bitwise.scala 72:12]
|
||||||
|
wire [8:0] _T_57 = 9'h3 << ahb_haddr_q[2:0]; // @[ahb_to_axi4.scala 99:48]
|
||||||
|
wire [8:0] _GEN_23 = {{1'd0}, _T_55}; // @[ahb_to_axi4.scala 99:40]
|
||||||
|
wire [8:0] _T_58 = _GEN_23 & _T_57; // @[ahb_to_axi4.scala 99:40]
|
||||||
|
wire [8:0] _GEN_24 = {{1'd0}, _T_51}; // @[ahb_to_axi4.scala 98:109]
|
||||||
|
wire [8:0] _T_59 = _GEN_24 | _T_58; // @[ahb_to_axi4.scala 98:109]
|
||||||
|
wire _T_61 = ahb_hsize_q == 3'h2; // @[ahb_to_axi4.scala 100:30]
|
||||||
|
wire [7:0] _T_63 = _T_61 ? 8'hff : 8'h0; // @[Bitwise.scala 72:12]
|
||||||
|
wire [10:0] _T_65 = 11'hf << ahb_haddr_q[2:0]; // @[ahb_to_axi4.scala 100:48]
|
||||||
|
wire [10:0] _GEN_25 = {{3'd0}, _T_63}; // @[ahb_to_axi4.scala 100:40]
|
||||||
|
wire [10:0] _T_66 = _GEN_25 & _T_65; // @[ahb_to_axi4.scala 100:40]
|
||||||
|
wire [10:0] _GEN_26 = {{2'd0}, _T_59}; // @[ahb_to_axi4.scala 99:79]
|
||||||
|
wire [10:0] _T_67 = _GEN_26 | _T_66; // @[ahb_to_axi4.scala 99:79]
|
||||||
|
wire _T_69 = ahb_hsize_q == 3'h3; // @[ahb_to_axi4.scala 101:30]
|
||||||
|
wire [7:0] _T_71 = _T_69 ? 8'hff : 8'h0; // @[Bitwise.scala 72:12]
|
||||||
|
wire [10:0] _GEN_27 = {{3'd0}, _T_71}; // @[ahb_to_axi4.scala 100:79]
|
||||||
|
wire [10:0] _T_73 = _T_67 | _GEN_27; // @[ahb_to_axi4.scala 100:79]
|
||||||
|
reg ahb_hready_q; // @[ahb_to_axi4.scala 123:60]
|
||||||
|
wire _T_74 = ~ahb_hready_q; // @[ahb_to_axi4.scala 104:80]
|
||||||
|
reg ahb_hresp_q; // @[ahb_to_axi4.scala 122:60]
|
||||||
|
wire _T_75 = ahb_hresp_q & _T_74; // @[ahb_to_axi4.scala 104:78]
|
||||||
|
wire _T_77 = buf_state == 2'h0; // @[ahb_to_axi4.scala 104:124]
|
||||||
|
wire _T_78 = _T_21 | _T_77; // @[ahb_to_axi4.scala 104:111]
|
||||||
|
wire _T_79 = buf_state == 2'h2; // @[ahb_to_axi4.scala 104:149]
|
||||||
|
wire _T_80 = buf_state == 2'h3; // @[ahb_to_axi4.scala 104:168]
|
||||||
|
wire _T_81 = _T_79 | _T_80; // @[ahb_to_axi4.scala 104:156]
|
||||||
|
wire _T_82 = ~_T_81; // @[ahb_to_axi4.scala 104:137]
|
||||||
|
wire _T_83 = _T_78 & _T_82; // @[ahb_to_axi4.scala 104:135]
|
||||||
|
reg buf_read_error; // @[ahb_to_axi4.scala 119:60]
|
||||||
|
wire _T_84 = ~buf_read_error; // @[ahb_to_axi4.scala 104:181]
|
||||||
|
wire _T_85 = _T_83 & _T_84; // @[ahb_to_axi4.scala 104:179]
|
||||||
|
wire [1:0] _T_89 = io_ahb_hsel ? 2'h3 : 2'h0; // @[Bitwise.scala 72:12]
|
||||||
|
wire buf_rdata_clk = rvclkhdr_2_io_l1clk; // @[ahb_to_axi4.scala 46:33 ahb_to_axi4.scala 135:31]
|
||||||
|
reg [63:0] buf_rdata; // @[ahb_to_axi4.scala 118:66]
|
||||||
|
reg [1:0] ahb_htrans_q; // @[ahb_to_axi4.scala 124:60]
|
||||||
|
wire _T_94 = ahb_htrans_q != 2'h0; // @[ahb_to_axi4.scala 108:61]
|
||||||
|
wire _T_95 = buf_state != 2'h0; // @[ahb_to_axi4.scala 108:83]
|
||||||
|
wire _T_96 = _T_94 & _T_95; // @[ahb_to_axi4.scala 108:70]
|
||||||
|
wire _T_97 = ahb_addr_in_dccm | ahb_addr_in_iccm; // @[ahb_to_axi4.scala 109:26]
|
||||||
|
wire _T_98 = ~_T_97; // @[ahb_to_axi4.scala 109:7]
|
||||||
|
reg ahb_hwrite_q; // @[ahb_to_axi4.scala 126:65]
|
||||||
|
wire _T_99 = ahb_addr_in_dccm & ahb_hwrite_q; // @[ahb_to_axi4.scala 110:46]
|
||||||
|
wire _T_100 = ahb_addr_in_iccm | _T_99; // @[ahb_to_axi4.scala 110:26]
|
||||||
|
wire _T_102 = ahb_hsize_q[1:0] == 2'h2; // @[ahb_to_axi4.scala 110:86]
|
||||||
|
wire _T_104 = ahb_hsize_q[1:0] == 2'h3; // @[ahb_to_axi4.scala 110:115]
|
||||||
|
wire _T_105 = _T_102 | _T_104; // @[ahb_to_axi4.scala 110:95]
|
||||||
|
wire _T_106 = ~_T_105; // @[ahb_to_axi4.scala 110:66]
|
||||||
|
wire _T_107 = _T_100 & _T_106; // @[ahb_to_axi4.scala 110:64]
|
||||||
|
wire _T_108 = _T_98 | _T_107; // @[ahb_to_axi4.scala 109:47]
|
||||||
|
wire _T_112 = _T_53 & ahb_haddr_q[0]; // @[ahb_to_axi4.scala 111:35]
|
||||||
|
wire _T_113 = _T_108 | _T_112; // @[ahb_to_axi4.scala 110:126]
|
||||||
|
wire _T_117 = |ahb_haddr_q[1:0]; // @[ahb_to_axi4.scala 112:56]
|
||||||
|
wire _T_118 = _T_61 & _T_117; // @[ahb_to_axi4.scala 112:35]
|
||||||
|
wire _T_119 = _T_113 | _T_118; // @[ahb_to_axi4.scala 111:55]
|
||||||
|
wire _T_123 = |ahb_haddr_q[2:0]; // @[ahb_to_axi4.scala 113:56]
|
||||||
|
wire _T_124 = _T_69 & _T_123; // @[ahb_to_axi4.scala 113:35]
|
||||||
|
wire _T_125 = _T_119 | _T_124; // @[ahb_to_axi4.scala 112:61]
|
||||||
|
wire _T_126 = _T_96 & _T_125; // @[ahb_to_axi4.scala 108:94]
|
||||||
|
wire _T_127 = _T_126 | buf_read_error; // @[ahb_to_axi4.scala 113:63]
|
||||||
|
wire _T_146 = ~cmdbuf_wr_en; // @[ahb_to_axi4.scala 137:113]
|
||||||
|
wire _T_147 = _T_153 & _T_146; // @[ahb_to_axi4.scala 137:111]
|
||||||
|
wire _T_149 = io_ahb_sig_in_hresp & _T_38; // @[ahb_to_axi4.scala 137:151]
|
||||||
|
wire cmdbuf_rst = _T_147 | _T_149; // @[ahb_to_axi4.scala 137:128]
|
||||||
|
wire _T_157 = cmdbuf_wr_en | cmdbuf_vld; // @[ahb_to_axi4.scala 140:66]
|
||||||
|
wire _T_158 = ~cmdbuf_rst; // @[ahb_to_axi4.scala 140:110]
|
||||||
|
reg [2:0] _T_164; // @[Reg.scala 27:20]
|
||||||
|
reg [7:0] cmdbuf_wstrb; // @[Reg.scala 27:20]
|
||||||
|
wire [7:0] master_wstrb = _T_73[7:0]; // @[ahb_to_axi4.scala 98:31]
|
||||||
|
reg [31:0] cmdbuf_addr; // @[lib.scala 374:16]
|
||||||
|
reg [63:0] cmdbuf_wdata; // @[lib.scala 374:16]
|
||||||
|
wire [1:0] cmdbuf_size = _T_164[1:0]; // @[ahb_to_axi4.scala 146:31]
|
||||||
|
rvclkhdr rvclkhdr ( // @[lib.scala 343:22]
|
||||||
|
.io_l1clk(rvclkhdr_io_l1clk),
|
||||||
|
.io_clk(rvclkhdr_io_clk),
|
||||||
|
.io_en(rvclkhdr_io_en),
|
||||||
|
.io_scan_mode(rvclkhdr_io_scan_mode)
|
||||||
|
);
|
||||||
|
rvclkhdr rvclkhdr_1 ( // @[lib.scala 343:22]
|
||||||
|
.io_l1clk(rvclkhdr_1_io_l1clk),
|
||||||
|
.io_clk(rvclkhdr_1_io_clk),
|
||||||
|
.io_en(rvclkhdr_1_io_en),
|
||||||
|
.io_scan_mode(rvclkhdr_1_io_scan_mode)
|
||||||
|
);
|
||||||
|
rvclkhdr rvclkhdr_2 ( // @[lib.scala 343:22]
|
||||||
|
.io_l1clk(rvclkhdr_2_io_l1clk),
|
||||||
|
.io_clk(rvclkhdr_2_io_clk),
|
||||||
|
.io_en(rvclkhdr_2_io_en),
|
||||||
|
.io_scan_mode(rvclkhdr_2_io_scan_mode)
|
||||||
|
);
|
||||||
|
rvclkhdr rvclkhdr_3 ( // @[lib.scala 368:23]
|
||||||
|
.io_l1clk(rvclkhdr_3_io_l1clk),
|
||||||
|
.io_clk(rvclkhdr_3_io_clk),
|
||||||
|
.io_en(rvclkhdr_3_io_en),
|
||||||
|
.io_scan_mode(rvclkhdr_3_io_scan_mode)
|
||||||
|
);
|
||||||
|
rvclkhdr rvclkhdr_4 ( // @[lib.scala 368:23]
|
||||||
|
.io_l1clk(rvclkhdr_4_io_l1clk),
|
||||||
|
.io_clk(rvclkhdr_4_io_clk),
|
||||||
|
.io_en(rvclkhdr_4_io_en),
|
||||||
|
.io_scan_mode(rvclkhdr_4_io_scan_mode)
|
||||||
|
);
|
||||||
|
rvclkhdr rvclkhdr_5 ( // @[lib.scala 343:22]
|
||||||
|
.io_l1clk(rvclkhdr_5_io_l1clk),
|
||||||
|
.io_clk(rvclkhdr_5_io_clk),
|
||||||
|
.io_en(rvclkhdr_5_io_en),
|
||||||
|
.io_scan_mode(rvclkhdr_5_io_scan_mode)
|
||||||
|
);
|
||||||
|
assign io_axi_aw_valid = cmdbuf_vld & cmdbuf_write; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 157:28]
|
||||||
|
assign io_axi_aw_bits_id = 1'h0; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 158:33]
|
||||||
|
assign io_axi_aw_bits_addr = cmdbuf_addr; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 159:33]
|
||||||
|
assign io_axi_aw_bits_region = 4'h0; // @[ahb_to_axi4.scala 20:10]
|
||||||
|
assign io_axi_aw_bits_len = 8'h0; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 162:33]
|
||||||
|
assign io_axi_aw_bits_size = {1'h0,cmdbuf_size}; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 160:33]
|
||||||
|
assign io_axi_aw_bits_burst = 2'h1; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 163:33]
|
||||||
|
assign io_axi_aw_bits_lock = 1'h0; // @[ahb_to_axi4.scala 20:10]
|
||||||
|
assign io_axi_aw_bits_cache = 4'h0; // @[ahb_to_axi4.scala 20:10]
|
||||||
|
assign io_axi_aw_bits_prot = 3'h0; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 161:33]
|
||||||
|
assign io_axi_aw_bits_qos = 4'h0; // @[ahb_to_axi4.scala 20:10]
|
||||||
|
assign io_axi_w_valid = cmdbuf_vld & cmdbuf_write; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 165:28]
|
||||||
|
assign io_axi_w_bits_data = cmdbuf_wdata; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 166:33]
|
||||||
|
assign io_axi_w_bits_strb = cmdbuf_wstrb; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 167:33]
|
||||||
|
assign io_axi_w_bits_last = 1'h1; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 168:33]
|
||||||
|
assign io_axi_b_ready = 1'h1; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 170:28]
|
||||||
|
assign io_axi_ar_valid = cmdbuf_vld & _T_38; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 172:28]
|
||||||
|
assign io_axi_ar_bits_id = 1'h0; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 173:33]
|
||||||
|
assign io_axi_ar_bits_addr = cmdbuf_addr; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 174:33]
|
||||||
|
assign io_axi_ar_bits_region = 4'h0; // @[ahb_to_axi4.scala 20:10]
|
||||||
|
assign io_axi_ar_bits_len = 8'h0; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 177:33]
|
||||||
|
assign io_axi_ar_bits_size = {1'h0,cmdbuf_size}; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 175:33]
|
||||||
|
assign io_axi_ar_bits_burst = 2'h1; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 178:33]
|
||||||
|
assign io_axi_ar_bits_lock = 1'h0; // @[ahb_to_axi4.scala 20:10]
|
||||||
|
assign io_axi_ar_bits_cache = 4'h0; // @[ahb_to_axi4.scala 20:10]
|
||||||
|
assign io_axi_ar_bits_prot = 3'h0; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 176:33]
|
||||||
|
assign io_axi_ar_bits_qos = 4'h0; // @[ahb_to_axi4.scala 20:10]
|
||||||
|
assign io_axi_r_ready = 1'h1; // @[ahb_to_axi4.scala 20:10 ahb_to_axi4.scala 180:28]
|
||||||
|
assign io_ahb_sig_in_hrdata = buf_rdata; // @[ahb_to_axi4.scala 107:38]
|
||||||
|
assign io_ahb_sig_in_hready = io_ahb_sig_in_hresp ? _T_75 : _T_85; // @[ahb_to_axi4.scala 104:38]
|
||||||
|
assign io_ahb_sig_in_hresp = _T_127 | _T_75; // @[ahb_to_axi4.scala 108:38]
|
||||||
|
assign rvclkhdr_io_clk = clock; // @[lib.scala 344:17]
|
||||||
|
assign rvclkhdr_io_en = io_bus_clk_en; // @[lib.scala 345:16]
|
||||||
|
assign rvclkhdr_io_scan_mode = io_scan_mode; // @[lib.scala 346:23]
|
||||||
|
assign rvclkhdr_1_io_clk = clock; // @[lib.scala 344:17]
|
||||||
|
assign rvclkhdr_1_io_en = io_bus_clk_en & _T_10; // @[lib.scala 345:16]
|
||||||
|
assign rvclkhdr_1_io_scan_mode = io_scan_mode; // @[lib.scala 346:23]
|
||||||
|
assign rvclkhdr_2_io_clk = clock; // @[lib.scala 344:17]
|
||||||
|
assign rvclkhdr_2_io_en = io_bus_clk_en & buf_rdata_en; // @[lib.scala 345:16]
|
||||||
|
assign rvclkhdr_2_io_scan_mode = io_scan_mode; // @[lib.scala 346:23]
|
||||||
|
assign rvclkhdr_3_io_clk = rvclkhdr_5_io_l1clk; // @[lib.scala 370:18]
|
||||||
|
assign rvclkhdr_3_io_en = _T_7 ? 1'h0 : _GEN_11; // @[lib.scala 371:17]
|
||||||
|
assign rvclkhdr_3_io_scan_mode = io_scan_mode; // @[lib.scala 372:24]
|
||||||
|
assign rvclkhdr_4_io_clk = rvclkhdr_5_io_l1clk; // @[lib.scala 370:18]
|
||||||
|
assign rvclkhdr_4_io_en = _T_7 ? 1'h0 : _GEN_11; // @[lib.scala 371:17]
|
||||||
|
assign rvclkhdr_4_io_scan_mode = io_scan_mode; // @[lib.scala 372:24]
|
||||||
|
assign rvclkhdr_5_io_clk = clock; // @[lib.scala 344:17]
|
||||||
|
assign rvclkhdr_5_io_en = io_bus_clk_en; // @[lib.scala 345:16]
|
||||||
|
assign rvclkhdr_5_io_scan_mode = io_scan_mode; // @[lib.scala 346:23]
|
||||||
|
`ifdef RANDOMIZE_GARBAGE_ASSIGN
|
||||||
|
`define RANDOMIZE
|
||||||
|
`endif
|
||||||
|
`ifdef RANDOMIZE_INVALID_ASSIGN
|
||||||
|
`define RANDOMIZE
|
||||||
|
`endif
|
||||||
|
`ifdef RANDOMIZE_REG_INIT
|
||||||
|
`define RANDOMIZE
|
||||||
|
`endif
|
||||||
|
`ifdef RANDOMIZE_MEM_INIT
|
||||||
|
`define RANDOMIZE
|
||||||
|
`endif
|
||||||
|
`ifndef RANDOM
|
||||||
|
`define RANDOM $random
|
||||||
|
`endif
|
||||||
|
`ifdef RANDOMIZE_MEM_INIT
|
||||||
|
integer initvar;
|
||||||
|
`endif
|
||||||
|
`ifndef SYNTHESIS
|
||||||
|
`ifdef FIRRTL_BEFORE_INITIAL
|
||||||
|
`FIRRTL_BEFORE_INITIAL
|
||||||
|
`endif
|
||||||
|
initial begin
|
||||||
|
`ifdef RANDOMIZE
|
||||||
|
`ifdef INIT_RANDOM
|
||||||
|
`INIT_RANDOM
|
||||||
|
`endif
|
||||||
|
`ifndef VERILATOR
|
||||||
|
`ifdef RANDOMIZE_DELAY
|
||||||
|
#`RANDOMIZE_DELAY begin end
|
||||||
|
`else
|
||||||
|
#0.002 begin end
|
||||||
|
`endif
|
||||||
|
`endif
|
||||||
|
`ifdef RANDOMIZE_REG_INIT
|
||||||
|
_RAND_0 = {1{`RANDOM}};
|
||||||
|
ahb_haddr_q = _RAND_0[31:0];
|
||||||
|
_RAND_1 = {1{`RANDOM}};
|
||||||
|
buf_state = _RAND_1[1:0];
|
||||||
|
_RAND_2 = {1{`RANDOM}};
|
||||||
|
cmdbuf_vld = _RAND_2[0:0];
|
||||||
|
_RAND_3 = {1{`RANDOM}};
|
||||||
|
cmdbuf_write = _RAND_3[0:0];
|
||||||
|
_RAND_4 = {1{`RANDOM}};
|
||||||
|
ahb_hsize_q = _RAND_4[2:0];
|
||||||
|
_RAND_5 = {1{`RANDOM}};
|
||||||
|
ahb_hready_q = _RAND_5[0:0];
|
||||||
|
_RAND_6 = {1{`RANDOM}};
|
||||||
|
ahb_hresp_q = _RAND_6[0:0];
|
||||||
|
_RAND_7 = {1{`RANDOM}};
|
||||||
|
buf_read_error = _RAND_7[0:0];
|
||||||
|
_RAND_8 = {2{`RANDOM}};
|
||||||
|
buf_rdata = _RAND_8[63:0];
|
||||||
|
_RAND_9 = {1{`RANDOM}};
|
||||||
|
ahb_htrans_q = _RAND_9[1:0];
|
||||||
|
_RAND_10 = {1{`RANDOM}};
|
||||||
|
ahb_hwrite_q = _RAND_10[0:0];
|
||||||
|
_RAND_11 = {1{`RANDOM}};
|
||||||
|
_T_164 = _RAND_11[2:0];
|
||||||
|
_RAND_12 = {1{`RANDOM}};
|
||||||
|
cmdbuf_wstrb = _RAND_12[7:0];
|
||||||
|
_RAND_13 = {1{`RANDOM}};
|
||||||
|
cmdbuf_addr = _RAND_13[31:0];
|
||||||
|
_RAND_14 = {2{`RANDOM}};
|
||||||
|
cmdbuf_wdata = _RAND_14[63:0];
|
||||||
|
`endif // RANDOMIZE_REG_INIT
|
||||||
|
if (reset) begin
|
||||||
|
ahb_haddr_q = 32'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
buf_state = 2'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_vld = 1'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_write = 1'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
ahb_hsize_q = 3'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
ahb_hready_q = 1'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
ahb_hresp_q = 1'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
buf_read_error = 1'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
buf_rdata = 64'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
ahb_htrans_q = 2'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
ahb_hwrite_q = 1'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
_T_164 = 3'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_wstrb = 8'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_addr = 32'h0;
|
||||||
|
end
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_wdata = 64'h0;
|
||||||
|
end
|
||||||
|
`endif // RANDOMIZE
|
||||||
|
end // initial
|
||||||
|
`ifdef FIRRTL_AFTER_INITIAL
|
||||||
|
`FIRRTL_AFTER_INITIAL
|
||||||
|
`endif
|
||||||
|
`endif // SYNTHESIS
|
||||||
|
always @(posedge ahb_addr_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
ahb_haddr_q <= 32'h0;
|
||||||
|
end else begin
|
||||||
|
ahb_haddr_q <= io_ahb_sig_out_haddr;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge ahb_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
buf_state <= 2'h0;
|
||||||
|
end else if (buf_state_en) begin
|
||||||
|
if (_T_7) begin
|
||||||
|
if (io_ahb_sig_out_hwrite) begin
|
||||||
|
buf_state <= 2'h1;
|
||||||
|
end else begin
|
||||||
|
buf_state <= 2'h2;
|
||||||
|
end
|
||||||
|
end else if (_T_12) begin
|
||||||
|
if (_T_17) begin
|
||||||
|
buf_state <= 2'h0;
|
||||||
|
end else if (io_ahb_sig_out_hwrite) begin
|
||||||
|
buf_state <= 2'h1;
|
||||||
|
end else begin
|
||||||
|
buf_state <= 2'h2;
|
||||||
|
end
|
||||||
|
end else if (_T_30) begin
|
||||||
|
if (io_ahb_sig_in_hresp) begin
|
||||||
|
buf_state <= 2'h0;
|
||||||
|
end else begin
|
||||||
|
buf_state <= 2'h3;
|
||||||
|
end
|
||||||
|
end else begin
|
||||||
|
buf_state <= 2'h0;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge bus_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_vld <= 1'h0;
|
||||||
|
end else begin
|
||||||
|
cmdbuf_vld <= _T_157 & _T_158;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge bus_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_write <= 1'h0;
|
||||||
|
end else if (cmdbuf_wr_en) begin
|
||||||
|
cmdbuf_write <= ahb_hwrite_q;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge ahb_addr_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
ahb_hsize_q <= 3'h0;
|
||||||
|
end else begin
|
||||||
|
ahb_hsize_q <= io_ahb_sig_out_hsize;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge ahb_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
ahb_hready_q <= 1'h0;
|
||||||
|
end else begin
|
||||||
|
ahb_hready_q <= io_ahb_sig_in_hready & io_ahb_hreadyin;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge ahb_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
ahb_hresp_q <= 1'h0;
|
||||||
|
end else begin
|
||||||
|
ahb_hresp_q <= io_ahb_sig_in_hresp;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge ahb_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
buf_read_error <= 1'h0;
|
||||||
|
end else if (_T_7) begin
|
||||||
|
buf_read_error <= 1'h0;
|
||||||
|
end else if (_T_12) begin
|
||||||
|
buf_read_error <= 1'h0;
|
||||||
|
end else if (_T_30) begin
|
||||||
|
buf_read_error <= 1'h0;
|
||||||
|
end else begin
|
||||||
|
buf_read_error <= _GEN_3;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge buf_rdata_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
buf_rdata <= 64'h0;
|
||||||
|
end else begin
|
||||||
|
buf_rdata <= io_axi_r_bits_data;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge ahb_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
ahb_htrans_q <= 2'h0;
|
||||||
|
end else begin
|
||||||
|
ahb_htrans_q <= _T_89 & io_ahb_sig_out_htrans;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge ahb_addr_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
ahb_hwrite_q <= 1'h0;
|
||||||
|
end else begin
|
||||||
|
ahb_hwrite_q <= io_ahb_sig_out_hwrite;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge bus_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
_T_164 <= 3'h0;
|
||||||
|
end else if (cmdbuf_wr_en) begin
|
||||||
|
_T_164 <= ahb_hsize_q;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge bus_clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_wstrb <= 8'h0;
|
||||||
|
end else if (cmdbuf_wr_en) begin
|
||||||
|
cmdbuf_wstrb <= master_wstrb;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge rvclkhdr_3_io_l1clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_addr <= 32'h0;
|
||||||
|
end else begin
|
||||||
|
cmdbuf_addr <= ahb_haddr_q;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
always @(posedge rvclkhdr_4_io_l1clk or posedge reset) begin
|
||||||
|
if (reset) begin
|
||||||
|
cmdbuf_wdata <= 64'h0;
|
||||||
|
end else begin
|
||||||
|
cmdbuf_wdata <= io_ahb_sig_out_hwdata;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
endmodule
|
|
@ -0,0 +1,113 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_axi_w_ready",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_ahb_out_hprot",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_bits_prot"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_axi_aw_ready",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_ahb_out_haddr",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_bits_addr",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_axi_b_valid",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_ahb_out_hsize",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_bits_size",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_ahb_out_hwrite",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_ahb_out_htrans",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_axi_r_valid",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.CombinationalPath",
|
||||||
|
"sink":"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_ready",
|
||||||
|
"sources":[
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_ar_valid",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_b_ready",
|
||||||
|
"~axi4_to_ahb|axi4_to_ahb>io_axi_r_ready"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.EmitCircuitAnnotation",
|
||||||
|
"emitter":"firrtl.VerilogEmitter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.BlackBoxResourceAnno",
|
||||||
|
"target":"axi4_to_ahb.gated_latch",
|
||||||
|
"resourceId":"/vsrc/gated_latch.v"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.options.TargetDirAnnotation",
|
||||||
|
"directory":"."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.options.OutputAnnotationFileAnnotation",
|
||||||
|
"file":"axi4_to_ahb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"class":"firrtl.transforms.BlackBoxTargetDirAnno",
|
||||||
|
"targetDir":"."
|
||||||
|
}
|
||||||
|
]
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -95900,7 +95900,7 @@ circuit quasar_wrapper :
|
||||||
node _T_748 = and(ld_fwddata_buf_hi_initial, ibuf_data) @[lsu_bus_buffer.scala 174:32]
|
node _T_748 = and(ld_fwddata_buf_hi_initial, ibuf_data) @[lsu_bus_buffer.scala 174:32]
|
||||||
node _T_749 = or(_T_747, _T_748) @[lsu_bus_buffer.scala 173:103]
|
node _T_749 = or(_T_747, _T_748) @[lsu_bus_buffer.scala 173:103]
|
||||||
io.ld_fwddata_buf_hi <= _T_749 @[lsu_bus_buffer.scala 170:24]
|
io.ld_fwddata_buf_hi <= _T_749 @[lsu_bus_buffer.scala 170:24]
|
||||||
node bus_coalescing_disable = or(io.tlu_busbuff.dec_tlu_wb_coalescing_disable, UInt<1>("h00")) @[lsu_bus_buffer.scala 176:77]
|
node bus_coalescing_disable = or(io.tlu_busbuff.dec_tlu_wb_coalescing_disable, UInt<1>("h01")) @[lsu_bus_buffer.scala 176:77]
|
||||||
node _T_750 = mux(io.lsu_pkt_r.bits.by, UInt<4>("h01"), UInt<1>("h00")) @[Mux.scala 27:72]
|
node _T_750 = mux(io.lsu_pkt_r.bits.by, UInt<4>("h01"), UInt<1>("h00")) @[Mux.scala 27:72]
|
||||||
node _T_751 = mux(io.lsu_pkt_r.bits.half, UInt<4>("h03"), UInt<1>("h00")) @[Mux.scala 27:72]
|
node _T_751 = mux(io.lsu_pkt_r.bits.half, UInt<4>("h03"), UInt<1>("h00")) @[Mux.scala 27:72]
|
||||||
node _T_752 = mux(io.lsu_pkt_r.bits.word, UInt<4>("h0f"), UInt<1>("h00")) @[Mux.scala 27:72]
|
node _T_752 = mux(io.lsu_pkt_r.bits.word, UInt<4>("h0f"), UInt<1>("h00")) @[Mux.scala 27:72]
|
||||||
|
@ -97157,7 +97157,7 @@ circuit quasar_wrapper :
|
||||||
node _T_1751 = and(_T_1723, _T_1750) @[lsu_bus_buffer.scala 339:67]
|
node _T_1751 = and(_T_1723, _T_1750) @[lsu_bus_buffer.scala 339:67]
|
||||||
node _T_1752 = eq(bus_coalescing_disable, UInt<1>("h00")) @[lsu_bus_buffer.scala 340:81]
|
node _T_1752 = eq(bus_coalescing_disable, UInt<1>("h00")) @[lsu_bus_buffer.scala 340:81]
|
||||||
node _T_1753 = and(_T_1751, _T_1752) @[lsu_bus_buffer.scala 340:79]
|
node _T_1753 = and(_T_1751, _T_1752) @[lsu_bus_buffer.scala 340:79]
|
||||||
node _T_1754 = eq(UInt<1>("h01"), UInt<1>("h00")) @[lsu_bus_buffer.scala 340:107]
|
node _T_1754 = eq(UInt<1>("h00"), UInt<1>("h00")) @[lsu_bus_buffer.scala 340:107]
|
||||||
node _T_1755 = and(_T_1753, _T_1754) @[lsu_bus_buffer.scala 340:105]
|
node _T_1755 = and(_T_1753, _T_1754) @[lsu_bus_buffer.scala 340:105]
|
||||||
node _T_1756 = eq(CmdPtr0, UInt<1>("h00")) @[lsu_bus_buffer.scala 56:118]
|
node _T_1756 = eq(CmdPtr0, UInt<1>("h00")) @[lsu_bus_buffer.scala 56:118]
|
||||||
node _T_1757 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 56:129]
|
node _T_1757 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 56:129]
|
||||||
|
@ -99196,7 +99196,7 @@ circuit quasar_wrapper :
|
||||||
node _T_3589 = eq(UInt<3>("h03"), buf_state[0]) @[Conditional.scala 37:30]
|
node _T_3589 = eq(UInt<3>("h03"), buf_state[0]) @[Conditional.scala 37:30]
|
||||||
when _T_3589 : @[Conditional.scala 39:67]
|
when _T_3589 : @[Conditional.scala 39:67]
|
||||||
node _T_3590 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 465:67]
|
node _T_3590 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 465:67]
|
||||||
node _T_3591 = and(UInt<1>("h01"), bus_rsp_write_error) @[lsu_bus_buffer.scala 465:94]
|
node _T_3591 = and(UInt<1>("h00"), bus_rsp_write_error) @[lsu_bus_buffer.scala 465:94]
|
||||||
node _T_3592 = eq(_T_3591, UInt<1>("h00")) @[lsu_bus_buffer.scala 465:73]
|
node _T_3592 = eq(_T_3591, UInt<1>("h00")) @[lsu_bus_buffer.scala 465:73]
|
||||||
node _T_3593 = and(_T_3590, _T_3592) @[lsu_bus_buffer.scala 465:71]
|
node _T_3593 = and(_T_3590, _T_3592) @[lsu_bus_buffer.scala 465:71]
|
||||||
node _T_3594 = or(io.dec_tlu_force_halt, _T_3593) @[lsu_bus_buffer.scala 465:55]
|
node _T_3594 = or(io.dec_tlu_force_halt, _T_3593) @[lsu_bus_buffer.scala 465:55]
|
||||||
|
@ -99274,7 +99274,7 @@ circuit quasar_wrapper :
|
||||||
node _T_3660 = eq(bus_rsp_read_tag, buf_ldfwdtag[0]) @[lsu_bus_buffer.scala 476:66]
|
node _T_3660 = eq(bus_rsp_read_tag, buf_ldfwdtag[0]) @[lsu_bus_buffer.scala 476:66]
|
||||||
node _T_3661 = and(_T_3659, _T_3660) @[lsu_bus_buffer.scala 476:46]
|
node _T_3661 = and(_T_3659, _T_3660) @[lsu_bus_buffer.scala 476:46]
|
||||||
node _T_3662 = or(_T_3657, _T_3661) @[lsu_bus_buffer.scala 475:143]
|
node _T_3662 = or(_T_3657, _T_3661) @[lsu_bus_buffer.scala 475:143]
|
||||||
node _T_3663 = and(bus_rsp_write_error, UInt<1>("h01")) @[lsu_bus_buffer.scala 477:32]
|
node _T_3663 = and(bus_rsp_write_error, UInt<1>("h00")) @[lsu_bus_buffer.scala 477:32]
|
||||||
node _T_3664 = eq(bus_rsp_write_tag, UInt<3>("h00")) @[lsu_bus_buffer.scala 477:74]
|
node _T_3664 = eq(bus_rsp_write_tag, UInt<3>("h00")) @[lsu_bus_buffer.scala 477:74]
|
||||||
node _T_3665 = and(_T_3663, _T_3664) @[lsu_bus_buffer.scala 477:53]
|
node _T_3665 = and(_T_3663, _T_3664) @[lsu_bus_buffer.scala 477:53]
|
||||||
node _T_3666 = or(_T_3662, _T_3665) @[lsu_bus_buffer.scala 476:88]
|
node _T_3666 = or(_T_3662, _T_3665) @[lsu_bus_buffer.scala 476:88]
|
||||||
|
@ -99472,7 +99472,7 @@ circuit quasar_wrapper :
|
||||||
node _T_3782 = eq(UInt<3>("h03"), buf_state[1]) @[Conditional.scala 37:30]
|
node _T_3782 = eq(UInt<3>("h03"), buf_state[1]) @[Conditional.scala 37:30]
|
||||||
when _T_3782 : @[Conditional.scala 39:67]
|
when _T_3782 : @[Conditional.scala 39:67]
|
||||||
node _T_3783 = bits(buf_write, 1, 1) @[lsu_bus_buffer.scala 465:67]
|
node _T_3783 = bits(buf_write, 1, 1) @[lsu_bus_buffer.scala 465:67]
|
||||||
node _T_3784 = and(UInt<1>("h01"), bus_rsp_write_error) @[lsu_bus_buffer.scala 465:94]
|
node _T_3784 = and(UInt<1>("h00"), bus_rsp_write_error) @[lsu_bus_buffer.scala 465:94]
|
||||||
node _T_3785 = eq(_T_3784, UInt<1>("h00")) @[lsu_bus_buffer.scala 465:73]
|
node _T_3785 = eq(_T_3784, UInt<1>("h00")) @[lsu_bus_buffer.scala 465:73]
|
||||||
node _T_3786 = and(_T_3783, _T_3785) @[lsu_bus_buffer.scala 465:71]
|
node _T_3786 = and(_T_3783, _T_3785) @[lsu_bus_buffer.scala 465:71]
|
||||||
node _T_3787 = or(io.dec_tlu_force_halt, _T_3786) @[lsu_bus_buffer.scala 465:55]
|
node _T_3787 = or(io.dec_tlu_force_halt, _T_3786) @[lsu_bus_buffer.scala 465:55]
|
||||||
|
@ -99550,7 +99550,7 @@ circuit quasar_wrapper :
|
||||||
node _T_3853 = eq(bus_rsp_read_tag, buf_ldfwdtag[1]) @[lsu_bus_buffer.scala 476:66]
|
node _T_3853 = eq(bus_rsp_read_tag, buf_ldfwdtag[1]) @[lsu_bus_buffer.scala 476:66]
|
||||||
node _T_3854 = and(_T_3852, _T_3853) @[lsu_bus_buffer.scala 476:46]
|
node _T_3854 = and(_T_3852, _T_3853) @[lsu_bus_buffer.scala 476:46]
|
||||||
node _T_3855 = or(_T_3850, _T_3854) @[lsu_bus_buffer.scala 475:143]
|
node _T_3855 = or(_T_3850, _T_3854) @[lsu_bus_buffer.scala 475:143]
|
||||||
node _T_3856 = and(bus_rsp_write_error, UInt<1>("h01")) @[lsu_bus_buffer.scala 477:32]
|
node _T_3856 = and(bus_rsp_write_error, UInt<1>("h00")) @[lsu_bus_buffer.scala 477:32]
|
||||||
node _T_3857 = eq(bus_rsp_write_tag, UInt<3>("h01")) @[lsu_bus_buffer.scala 477:74]
|
node _T_3857 = eq(bus_rsp_write_tag, UInt<3>("h01")) @[lsu_bus_buffer.scala 477:74]
|
||||||
node _T_3858 = and(_T_3856, _T_3857) @[lsu_bus_buffer.scala 477:53]
|
node _T_3858 = and(_T_3856, _T_3857) @[lsu_bus_buffer.scala 477:53]
|
||||||
node _T_3859 = or(_T_3855, _T_3858) @[lsu_bus_buffer.scala 476:88]
|
node _T_3859 = or(_T_3855, _T_3858) @[lsu_bus_buffer.scala 476:88]
|
||||||
|
@ -99748,7 +99748,7 @@ circuit quasar_wrapper :
|
||||||
node _T_3975 = eq(UInt<3>("h03"), buf_state[2]) @[Conditional.scala 37:30]
|
node _T_3975 = eq(UInt<3>("h03"), buf_state[2]) @[Conditional.scala 37:30]
|
||||||
when _T_3975 : @[Conditional.scala 39:67]
|
when _T_3975 : @[Conditional.scala 39:67]
|
||||||
node _T_3976 = bits(buf_write, 2, 2) @[lsu_bus_buffer.scala 465:67]
|
node _T_3976 = bits(buf_write, 2, 2) @[lsu_bus_buffer.scala 465:67]
|
||||||
node _T_3977 = and(UInt<1>("h01"), bus_rsp_write_error) @[lsu_bus_buffer.scala 465:94]
|
node _T_3977 = and(UInt<1>("h00"), bus_rsp_write_error) @[lsu_bus_buffer.scala 465:94]
|
||||||
node _T_3978 = eq(_T_3977, UInt<1>("h00")) @[lsu_bus_buffer.scala 465:73]
|
node _T_3978 = eq(_T_3977, UInt<1>("h00")) @[lsu_bus_buffer.scala 465:73]
|
||||||
node _T_3979 = and(_T_3976, _T_3978) @[lsu_bus_buffer.scala 465:71]
|
node _T_3979 = and(_T_3976, _T_3978) @[lsu_bus_buffer.scala 465:71]
|
||||||
node _T_3980 = or(io.dec_tlu_force_halt, _T_3979) @[lsu_bus_buffer.scala 465:55]
|
node _T_3980 = or(io.dec_tlu_force_halt, _T_3979) @[lsu_bus_buffer.scala 465:55]
|
||||||
|
@ -99826,7 +99826,7 @@ circuit quasar_wrapper :
|
||||||
node _T_4046 = eq(bus_rsp_read_tag, buf_ldfwdtag[2]) @[lsu_bus_buffer.scala 476:66]
|
node _T_4046 = eq(bus_rsp_read_tag, buf_ldfwdtag[2]) @[lsu_bus_buffer.scala 476:66]
|
||||||
node _T_4047 = and(_T_4045, _T_4046) @[lsu_bus_buffer.scala 476:46]
|
node _T_4047 = and(_T_4045, _T_4046) @[lsu_bus_buffer.scala 476:46]
|
||||||
node _T_4048 = or(_T_4043, _T_4047) @[lsu_bus_buffer.scala 475:143]
|
node _T_4048 = or(_T_4043, _T_4047) @[lsu_bus_buffer.scala 475:143]
|
||||||
node _T_4049 = and(bus_rsp_write_error, UInt<1>("h01")) @[lsu_bus_buffer.scala 477:32]
|
node _T_4049 = and(bus_rsp_write_error, UInt<1>("h00")) @[lsu_bus_buffer.scala 477:32]
|
||||||
node _T_4050 = eq(bus_rsp_write_tag, UInt<3>("h02")) @[lsu_bus_buffer.scala 477:74]
|
node _T_4050 = eq(bus_rsp_write_tag, UInt<3>("h02")) @[lsu_bus_buffer.scala 477:74]
|
||||||
node _T_4051 = and(_T_4049, _T_4050) @[lsu_bus_buffer.scala 477:53]
|
node _T_4051 = and(_T_4049, _T_4050) @[lsu_bus_buffer.scala 477:53]
|
||||||
node _T_4052 = or(_T_4048, _T_4051) @[lsu_bus_buffer.scala 476:88]
|
node _T_4052 = or(_T_4048, _T_4051) @[lsu_bus_buffer.scala 476:88]
|
||||||
|
@ -100024,7 +100024,7 @@ circuit quasar_wrapper :
|
||||||
node _T_4168 = eq(UInt<3>("h03"), buf_state[3]) @[Conditional.scala 37:30]
|
node _T_4168 = eq(UInt<3>("h03"), buf_state[3]) @[Conditional.scala 37:30]
|
||||||
when _T_4168 : @[Conditional.scala 39:67]
|
when _T_4168 : @[Conditional.scala 39:67]
|
||||||
node _T_4169 = bits(buf_write, 3, 3) @[lsu_bus_buffer.scala 465:67]
|
node _T_4169 = bits(buf_write, 3, 3) @[lsu_bus_buffer.scala 465:67]
|
||||||
node _T_4170 = and(UInt<1>("h01"), bus_rsp_write_error) @[lsu_bus_buffer.scala 465:94]
|
node _T_4170 = and(UInt<1>("h00"), bus_rsp_write_error) @[lsu_bus_buffer.scala 465:94]
|
||||||
node _T_4171 = eq(_T_4170, UInt<1>("h00")) @[lsu_bus_buffer.scala 465:73]
|
node _T_4171 = eq(_T_4170, UInt<1>("h00")) @[lsu_bus_buffer.scala 465:73]
|
||||||
node _T_4172 = and(_T_4169, _T_4171) @[lsu_bus_buffer.scala 465:71]
|
node _T_4172 = and(_T_4169, _T_4171) @[lsu_bus_buffer.scala 465:71]
|
||||||
node _T_4173 = or(io.dec_tlu_force_halt, _T_4172) @[lsu_bus_buffer.scala 465:55]
|
node _T_4173 = or(io.dec_tlu_force_halt, _T_4172) @[lsu_bus_buffer.scala 465:55]
|
||||||
|
@ -100102,7 +100102,7 @@ circuit quasar_wrapper :
|
||||||
node _T_4239 = eq(bus_rsp_read_tag, buf_ldfwdtag[3]) @[lsu_bus_buffer.scala 476:66]
|
node _T_4239 = eq(bus_rsp_read_tag, buf_ldfwdtag[3]) @[lsu_bus_buffer.scala 476:66]
|
||||||
node _T_4240 = and(_T_4238, _T_4239) @[lsu_bus_buffer.scala 476:46]
|
node _T_4240 = and(_T_4238, _T_4239) @[lsu_bus_buffer.scala 476:46]
|
||||||
node _T_4241 = or(_T_4236, _T_4240) @[lsu_bus_buffer.scala 475:143]
|
node _T_4241 = or(_T_4236, _T_4240) @[lsu_bus_buffer.scala 475:143]
|
||||||
node _T_4242 = and(bus_rsp_write_error, UInt<1>("h01")) @[lsu_bus_buffer.scala 477:32]
|
node _T_4242 = and(bus_rsp_write_error, UInt<1>("h00")) @[lsu_bus_buffer.scala 477:32]
|
||||||
node _T_4243 = eq(bus_rsp_write_tag, UInt<3>("h03")) @[lsu_bus_buffer.scala 477:74]
|
node _T_4243 = eq(bus_rsp_write_tag, UInt<3>("h03")) @[lsu_bus_buffer.scala 477:74]
|
||||||
node _T_4244 = and(_T_4242, _T_4243) @[lsu_bus_buffer.scala 477:53]
|
node _T_4244 = and(_T_4242, _T_4243) @[lsu_bus_buffer.scala 477:53]
|
||||||
node _T_4245 = or(_T_4241, _T_4244) @[lsu_bus_buffer.scala 476:88]
|
node _T_4245 = or(_T_4241, _T_4244) @[lsu_bus_buffer.scala 476:88]
|
||||||
|
@ -100617,19 +100617,19 @@ circuit quasar_wrapper :
|
||||||
io.dctl_busbuff.lsu_nonblock_load_inv_tag_r <= WrPtr0_r @[lsu_bus_buffer.scala 533:47]
|
io.dctl_busbuff.lsu_nonblock_load_inv_tag_r <= WrPtr0_r @[lsu_bus_buffer.scala 533:47]
|
||||||
node _T_4522 = eq(buf_state[0], UInt<3>("h06")) @[lsu_bus_buffer.scala 534:80]
|
node _T_4522 = eq(buf_state[0], UInt<3>("h06")) @[lsu_bus_buffer.scala 534:80]
|
||||||
node _T_4523 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 534:127]
|
node _T_4523 = bits(buf_write, 0, 0) @[lsu_bus_buffer.scala 534:127]
|
||||||
node _T_4524 = and(UInt<1>("h01"), _T_4523) @[lsu_bus_buffer.scala 534:116]
|
node _T_4524 = and(UInt<1>("h00"), _T_4523) @[lsu_bus_buffer.scala 534:116]
|
||||||
node _T_4525 = eq(_T_4524, UInt<1>("h00")) @[lsu_bus_buffer.scala 534:95]
|
node _T_4525 = eq(_T_4524, UInt<1>("h00")) @[lsu_bus_buffer.scala 534:95]
|
||||||
node _T_4526 = eq(buf_state[1], UInt<3>("h06")) @[lsu_bus_buffer.scala 534:80]
|
node _T_4526 = eq(buf_state[1], UInt<3>("h06")) @[lsu_bus_buffer.scala 534:80]
|
||||||
node _T_4527 = bits(buf_write, 1, 1) @[lsu_bus_buffer.scala 534:127]
|
node _T_4527 = bits(buf_write, 1, 1) @[lsu_bus_buffer.scala 534:127]
|
||||||
node _T_4528 = and(UInt<1>("h01"), _T_4527) @[lsu_bus_buffer.scala 534:116]
|
node _T_4528 = and(UInt<1>("h00"), _T_4527) @[lsu_bus_buffer.scala 534:116]
|
||||||
node _T_4529 = eq(_T_4528, UInt<1>("h00")) @[lsu_bus_buffer.scala 534:95]
|
node _T_4529 = eq(_T_4528, UInt<1>("h00")) @[lsu_bus_buffer.scala 534:95]
|
||||||
node _T_4530 = eq(buf_state[2], UInt<3>("h06")) @[lsu_bus_buffer.scala 534:80]
|
node _T_4530 = eq(buf_state[2], UInt<3>("h06")) @[lsu_bus_buffer.scala 534:80]
|
||||||
node _T_4531 = bits(buf_write, 2, 2) @[lsu_bus_buffer.scala 534:127]
|
node _T_4531 = bits(buf_write, 2, 2) @[lsu_bus_buffer.scala 534:127]
|
||||||
node _T_4532 = and(UInt<1>("h01"), _T_4531) @[lsu_bus_buffer.scala 534:116]
|
node _T_4532 = and(UInt<1>("h00"), _T_4531) @[lsu_bus_buffer.scala 534:116]
|
||||||
node _T_4533 = eq(_T_4532, UInt<1>("h00")) @[lsu_bus_buffer.scala 534:95]
|
node _T_4533 = eq(_T_4532, UInt<1>("h00")) @[lsu_bus_buffer.scala 534:95]
|
||||||
node _T_4534 = eq(buf_state[3], UInt<3>("h06")) @[lsu_bus_buffer.scala 534:80]
|
node _T_4534 = eq(buf_state[3], UInt<3>("h06")) @[lsu_bus_buffer.scala 534:80]
|
||||||
node _T_4535 = bits(buf_write, 3, 3) @[lsu_bus_buffer.scala 534:127]
|
node _T_4535 = bits(buf_write, 3, 3) @[lsu_bus_buffer.scala 534:127]
|
||||||
node _T_4536 = and(UInt<1>("h01"), _T_4535) @[lsu_bus_buffer.scala 534:116]
|
node _T_4536 = and(UInt<1>("h00"), _T_4535) @[lsu_bus_buffer.scala 534:116]
|
||||||
node _T_4537 = eq(_T_4536, UInt<1>("h00")) @[lsu_bus_buffer.scala 534:95]
|
node _T_4537 = eq(_T_4536, UInt<1>("h00")) @[lsu_bus_buffer.scala 534:95]
|
||||||
node _T_4538 = mux(_T_4522, _T_4525, UInt<1>("h00")) @[Mux.scala 27:72]
|
node _T_4538 = mux(_T_4522, _T_4525, UInt<1>("h00")) @[Mux.scala 27:72]
|
||||||
node _T_4539 = mux(_T_4526, _T_4529, UInt<1>("h00")) @[Mux.scala 27:72]
|
node _T_4539 = mux(_T_4526, _T_4529, UInt<1>("h00")) @[Mux.scala 27:72]
|
||||||
|
@ -100917,7 +100917,7 @@ circuit quasar_wrapper :
|
||||||
node _T_4799 = or(_T_4796, _T_4798) @[lsu_bus_buffer.scala 551:157]
|
node _T_4799 = or(_T_4796, _T_4798) @[lsu_bus_buffer.scala 551:157]
|
||||||
bus_sideeffect_pend <= _T_4799 @[lsu_bus_buffer.scala 551:23]
|
bus_sideeffect_pend <= _T_4799 @[lsu_bus_buffer.scala 551:23]
|
||||||
node _T_4800 = eq(buf_state[0], UInt<3>("h03")) @[lsu_bus_buffer.scala 552:71]
|
node _T_4800 = eq(buf_state[0], UInt<3>("h03")) @[lsu_bus_buffer.scala 552:71]
|
||||||
node _T_4801 = and(UInt<1>("h01"), obuf_valid) @[lsu_bus_buffer.scala 553:25]
|
node _T_4801 = and(UInt<1>("h00"), obuf_valid) @[lsu_bus_buffer.scala 553:25]
|
||||||
node _T_4802 = bits(obuf_addr, 31, 3) @[lsu_bus_buffer.scala 553:50]
|
node _T_4802 = bits(obuf_addr, 31, 3) @[lsu_bus_buffer.scala 553:50]
|
||||||
node _T_4803 = bits(buf_addr[0], 31, 3) @[lsu_bus_buffer.scala 553:70]
|
node _T_4803 = bits(buf_addr[0], 31, 3) @[lsu_bus_buffer.scala 553:70]
|
||||||
node _T_4804 = eq(_T_4802, _T_4803) @[lsu_bus_buffer.scala 553:56]
|
node _T_4804 = eq(_T_4802, _T_4803) @[lsu_bus_buffer.scala 553:56]
|
||||||
|
@ -100929,7 +100929,7 @@ circuit quasar_wrapper :
|
||||||
node _T_4810 = eq(_T_4809, UInt<1>("h00")) @[lsu_bus_buffer.scala 553:80]
|
node _T_4810 = eq(_T_4809, UInt<1>("h00")) @[lsu_bus_buffer.scala 553:80]
|
||||||
node _T_4811 = and(_T_4805, _T_4810) @[lsu_bus_buffer.scala 553:78]
|
node _T_4811 = and(_T_4805, _T_4810) @[lsu_bus_buffer.scala 553:78]
|
||||||
node _T_4812 = eq(buf_state[1], UInt<3>("h03")) @[lsu_bus_buffer.scala 552:71]
|
node _T_4812 = eq(buf_state[1], UInt<3>("h03")) @[lsu_bus_buffer.scala 552:71]
|
||||||
node _T_4813 = and(UInt<1>("h01"), obuf_valid) @[lsu_bus_buffer.scala 553:25]
|
node _T_4813 = and(UInt<1>("h00"), obuf_valid) @[lsu_bus_buffer.scala 553:25]
|
||||||
node _T_4814 = bits(obuf_addr, 31, 3) @[lsu_bus_buffer.scala 553:50]
|
node _T_4814 = bits(obuf_addr, 31, 3) @[lsu_bus_buffer.scala 553:50]
|
||||||
node _T_4815 = bits(buf_addr[1], 31, 3) @[lsu_bus_buffer.scala 553:70]
|
node _T_4815 = bits(buf_addr[1], 31, 3) @[lsu_bus_buffer.scala 553:70]
|
||||||
node _T_4816 = eq(_T_4814, _T_4815) @[lsu_bus_buffer.scala 553:56]
|
node _T_4816 = eq(_T_4814, _T_4815) @[lsu_bus_buffer.scala 553:56]
|
||||||
|
@ -100941,7 +100941,7 @@ circuit quasar_wrapper :
|
||||||
node _T_4822 = eq(_T_4821, UInt<1>("h00")) @[lsu_bus_buffer.scala 553:80]
|
node _T_4822 = eq(_T_4821, UInt<1>("h00")) @[lsu_bus_buffer.scala 553:80]
|
||||||
node _T_4823 = and(_T_4817, _T_4822) @[lsu_bus_buffer.scala 553:78]
|
node _T_4823 = and(_T_4817, _T_4822) @[lsu_bus_buffer.scala 553:78]
|
||||||
node _T_4824 = eq(buf_state[2], UInt<3>("h03")) @[lsu_bus_buffer.scala 552:71]
|
node _T_4824 = eq(buf_state[2], UInt<3>("h03")) @[lsu_bus_buffer.scala 552:71]
|
||||||
node _T_4825 = and(UInt<1>("h01"), obuf_valid) @[lsu_bus_buffer.scala 553:25]
|
node _T_4825 = and(UInt<1>("h00"), obuf_valid) @[lsu_bus_buffer.scala 553:25]
|
||||||
node _T_4826 = bits(obuf_addr, 31, 3) @[lsu_bus_buffer.scala 553:50]
|
node _T_4826 = bits(obuf_addr, 31, 3) @[lsu_bus_buffer.scala 553:50]
|
||||||
node _T_4827 = bits(buf_addr[2], 31, 3) @[lsu_bus_buffer.scala 553:70]
|
node _T_4827 = bits(buf_addr[2], 31, 3) @[lsu_bus_buffer.scala 553:70]
|
||||||
node _T_4828 = eq(_T_4826, _T_4827) @[lsu_bus_buffer.scala 553:56]
|
node _T_4828 = eq(_T_4826, _T_4827) @[lsu_bus_buffer.scala 553:56]
|
||||||
|
@ -100953,7 +100953,7 @@ circuit quasar_wrapper :
|
||||||
node _T_4834 = eq(_T_4833, UInt<1>("h00")) @[lsu_bus_buffer.scala 553:80]
|
node _T_4834 = eq(_T_4833, UInt<1>("h00")) @[lsu_bus_buffer.scala 553:80]
|
||||||
node _T_4835 = and(_T_4829, _T_4834) @[lsu_bus_buffer.scala 553:78]
|
node _T_4835 = and(_T_4829, _T_4834) @[lsu_bus_buffer.scala 553:78]
|
||||||
node _T_4836 = eq(buf_state[3], UInt<3>("h03")) @[lsu_bus_buffer.scala 552:71]
|
node _T_4836 = eq(buf_state[3], UInt<3>("h03")) @[lsu_bus_buffer.scala 552:71]
|
||||||
node _T_4837 = and(UInt<1>("h01"), obuf_valid) @[lsu_bus_buffer.scala 553:25]
|
node _T_4837 = and(UInt<1>("h00"), obuf_valid) @[lsu_bus_buffer.scala 553:25]
|
||||||
node _T_4838 = bits(obuf_addr, 31, 3) @[lsu_bus_buffer.scala 553:50]
|
node _T_4838 = bits(obuf_addr, 31, 3) @[lsu_bus_buffer.scala 553:50]
|
||||||
node _T_4839 = bits(buf_addr[3], 31, 3) @[lsu_bus_buffer.scala 553:70]
|
node _T_4839 = bits(buf_addr[3], 31, 3) @[lsu_bus_buffer.scala 553:70]
|
||||||
node _T_4840 = eq(_T_4838, _T_4839) @[lsu_bus_buffer.scala 553:56]
|
node _T_4840 = eq(_T_4838, _T_4839) @[lsu_bus_buffer.scala 553:56]
|
||||||
|
@ -114385,7 +114385,6 @@ circuit quasar_wrapper :
|
||||||
io.dccm.wr_addr_lo <= lsu.io.dccm.wr_addr_lo @[quasar.scala 238:11]
|
io.dccm.wr_addr_lo <= lsu.io.dccm.wr_addr_lo @[quasar.scala 238:11]
|
||||||
io.dccm.rden <= lsu.io.dccm.rden @[quasar.scala 238:11]
|
io.dccm.rden <= lsu.io.dccm.rden @[quasar.scala 238:11]
|
||||||
io.dccm.wren <= lsu.io.dccm.wren @[quasar.scala 238:11]
|
io.dccm.wren <= lsu.io.dccm.wren @[quasar.scala 238:11]
|
||||||
when UInt<1>("h00") : @[quasar.scala 241:26]
|
|
||||||
inst axi4_to_ahb of axi4_to_ahb @[quasar.scala 242:32]
|
inst axi4_to_ahb of axi4_to_ahb @[quasar.scala 242:32]
|
||||||
axi4_to_ahb.clock <= clock
|
axi4_to_ahb.clock <= clock
|
||||||
axi4_to_ahb.reset <= reset
|
axi4_to_ahb.reset <= reset
|
||||||
|
@ -114928,261 +114927,6 @@ circuit quasar_wrapper :
|
||||||
io.lsu_axi.aw.bits.id <= _T_15.aw.bits.id @[quasar.scala 275:25]
|
io.lsu_axi.aw.bits.id <= _T_15.aw.bits.id @[quasar.scala 275:25]
|
||||||
io.lsu_axi.aw.valid <= _T_15.aw.valid @[quasar.scala 275:25]
|
io.lsu_axi.aw.valid <= _T_15.aw.valid @[quasar.scala 275:25]
|
||||||
_T_15.aw.ready <= io.lsu_axi.aw.ready @[quasar.scala 275:25]
|
_T_15.aw.ready <= io.lsu_axi.aw.ready @[quasar.scala 275:25]
|
||||||
skip @[quasar.scala 241:26]
|
|
||||||
else : @[quasar.scala 277:15]
|
|
||||||
wire _T_16 : {in : {flip hrdata : UInt<64>, flip hready : UInt<1>, flip hresp : UInt<1>}, out : {haddr : UInt<32>, hburst : UInt<3>, hmastlock : UInt<1>, hprot : UInt<4>, hsize : UInt<3>, htrans : UInt<2>, hwrite : UInt<1>, hwdata : UInt<64>}} @[quasar.scala 278:33]
|
|
||||||
_T_16.out.hwdata <= UInt<64>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.out.hwrite <= UInt<1>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.out.htrans <= UInt<2>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.out.hsize <= UInt<3>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.out.hprot <= UInt<4>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.out.hmastlock <= UInt<1>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.out.hburst <= UInt<3>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.out.haddr <= UInt<32>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.in.hresp <= UInt<1>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.in.hready <= UInt<1>("h00") @[quasar.scala 278:33]
|
|
||||||
_T_16.in.hrdata <= UInt<64>("h00") @[quasar.scala 278:33]
|
|
||||||
io.lsu_ahb.out.hwdata <= _T_16.out.hwdata @[quasar.scala 278:18]
|
|
||||||
io.lsu_ahb.out.hwrite <= _T_16.out.hwrite @[quasar.scala 278:18]
|
|
||||||
io.lsu_ahb.out.htrans <= _T_16.out.htrans @[quasar.scala 278:18]
|
|
||||||
io.lsu_ahb.out.hsize <= _T_16.out.hsize @[quasar.scala 278:18]
|
|
||||||
io.lsu_ahb.out.hprot <= _T_16.out.hprot @[quasar.scala 278:18]
|
|
||||||
io.lsu_ahb.out.hmastlock <= _T_16.out.hmastlock @[quasar.scala 278:18]
|
|
||||||
io.lsu_ahb.out.hburst <= _T_16.out.hburst @[quasar.scala 278:18]
|
|
||||||
io.lsu_ahb.out.haddr <= _T_16.out.haddr @[quasar.scala 278:18]
|
|
||||||
_T_16.in.hresp <= io.lsu_ahb.in.hresp @[quasar.scala 278:18]
|
|
||||||
_T_16.in.hready <= io.lsu_ahb.in.hready @[quasar.scala 278:18]
|
|
||||||
_T_16.in.hrdata <= io.lsu_ahb.in.hrdata @[quasar.scala 278:18]
|
|
||||||
wire _T_17 : {in : {flip hrdata : UInt<64>, flip hready : UInt<1>, flip hresp : UInt<1>}, out : {haddr : UInt<32>, hburst : UInt<3>, hmastlock : UInt<1>, hprot : UInt<4>, hsize : UInt<3>, htrans : UInt<2>, hwrite : UInt<1>, hwdata : UInt<64>}} @[quasar.scala 279:33]
|
|
||||||
_T_17.out.hwdata <= UInt<64>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.out.hwrite <= UInt<1>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.out.htrans <= UInt<2>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.out.hsize <= UInt<3>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.out.hprot <= UInt<4>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.out.hmastlock <= UInt<1>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.out.hburst <= UInt<3>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.out.haddr <= UInt<32>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.in.hresp <= UInt<1>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.in.hready <= UInt<1>("h00") @[quasar.scala 279:33]
|
|
||||||
_T_17.in.hrdata <= UInt<64>("h00") @[quasar.scala 279:33]
|
|
||||||
io.ifu_ahb.out.hwdata <= _T_17.out.hwdata @[quasar.scala 279:18]
|
|
||||||
io.ifu_ahb.out.hwrite <= _T_17.out.hwrite @[quasar.scala 279:18]
|
|
||||||
io.ifu_ahb.out.htrans <= _T_17.out.htrans @[quasar.scala 279:18]
|
|
||||||
io.ifu_ahb.out.hsize <= _T_17.out.hsize @[quasar.scala 279:18]
|
|
||||||
io.ifu_ahb.out.hprot <= _T_17.out.hprot @[quasar.scala 279:18]
|
|
||||||
io.ifu_ahb.out.hmastlock <= _T_17.out.hmastlock @[quasar.scala 279:18]
|
|
||||||
io.ifu_ahb.out.hburst <= _T_17.out.hburst @[quasar.scala 279:18]
|
|
||||||
io.ifu_ahb.out.haddr <= _T_17.out.haddr @[quasar.scala 279:18]
|
|
||||||
_T_17.in.hresp <= io.ifu_ahb.in.hresp @[quasar.scala 279:18]
|
|
||||||
_T_17.in.hready <= io.ifu_ahb.in.hready @[quasar.scala 279:18]
|
|
||||||
_T_17.in.hrdata <= io.ifu_ahb.in.hrdata @[quasar.scala 279:18]
|
|
||||||
wire _T_18 : {in : {flip hrdata : UInt<64>, flip hready : UInt<1>, flip hresp : UInt<1>}, out : {haddr : UInt<32>, hburst : UInt<3>, hmastlock : UInt<1>, hprot : UInt<4>, hsize : UInt<3>, htrans : UInt<2>, hwrite : UInt<1>, hwdata : UInt<64>}} @[quasar.scala 280:32]
|
|
||||||
_T_18.out.hwdata <= UInt<64>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.out.hwrite <= UInt<1>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.out.htrans <= UInt<2>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.out.hsize <= UInt<3>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.out.hprot <= UInt<4>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.out.hmastlock <= UInt<1>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.out.hburst <= UInt<3>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.out.haddr <= UInt<32>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.in.hresp <= UInt<1>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.in.hready <= UInt<1>("h00") @[quasar.scala 280:32]
|
|
||||||
_T_18.in.hrdata <= UInt<64>("h00") @[quasar.scala 280:32]
|
|
||||||
io.sb_ahb.out.hwdata <= _T_18.out.hwdata @[quasar.scala 280:17]
|
|
||||||
io.sb_ahb.out.hwrite <= _T_18.out.hwrite @[quasar.scala 280:17]
|
|
||||||
io.sb_ahb.out.htrans <= _T_18.out.htrans @[quasar.scala 280:17]
|
|
||||||
io.sb_ahb.out.hsize <= _T_18.out.hsize @[quasar.scala 280:17]
|
|
||||||
io.sb_ahb.out.hprot <= _T_18.out.hprot @[quasar.scala 280:17]
|
|
||||||
io.sb_ahb.out.hmastlock <= _T_18.out.hmastlock @[quasar.scala 280:17]
|
|
||||||
io.sb_ahb.out.hburst <= _T_18.out.hburst @[quasar.scala 280:17]
|
|
||||||
io.sb_ahb.out.haddr <= _T_18.out.haddr @[quasar.scala 280:17]
|
|
||||||
_T_18.in.hresp <= io.sb_ahb.in.hresp @[quasar.scala 280:17]
|
|
||||||
_T_18.in.hready <= io.sb_ahb.in.hready @[quasar.scala 280:17]
|
|
||||||
_T_18.in.hrdata <= io.sb_ahb.in.hrdata @[quasar.scala 280:17]
|
|
||||||
wire _T_19 : {flip sig : {in : {flip hrdata : UInt<64>, flip hready : UInt<1>, flip hresp : UInt<1>}, out : {haddr : UInt<32>, hburst : UInt<3>, hmastlock : UInt<1>, hprot : UInt<4>, hsize : UInt<3>, htrans : UInt<2>, hwrite : UInt<1>, hwdata : UInt<64>}}, flip hsel : UInt<1>, flip hreadyin : UInt<1>} @[quasar.scala 281:33]
|
|
||||||
_T_19.hreadyin <= UInt<1>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.hsel <= UInt<1>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.out.hwdata <= UInt<64>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.out.hwrite <= UInt<1>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.out.htrans <= UInt<2>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.out.hsize <= UInt<3>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.out.hprot <= UInt<4>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.out.hmastlock <= UInt<1>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.out.hburst <= UInt<3>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.out.haddr <= UInt<32>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.in.hresp <= UInt<1>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.in.hready <= UInt<1>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.sig.in.hrdata <= UInt<64>("h00") @[quasar.scala 281:33]
|
|
||||||
_T_19.hreadyin <= io.dma_ahb.hreadyin @[quasar.scala 281:18]
|
|
||||||
_T_19.hsel <= io.dma_ahb.hsel @[quasar.scala 281:18]
|
|
||||||
_T_19.sig.out.hwdata <= io.dma_ahb.sig.out.hwdata @[quasar.scala 281:18]
|
|
||||||
_T_19.sig.out.hwrite <= io.dma_ahb.sig.out.hwrite @[quasar.scala 281:18]
|
|
||||||
_T_19.sig.out.htrans <= io.dma_ahb.sig.out.htrans @[quasar.scala 281:18]
|
|
||||||
_T_19.sig.out.hsize <= io.dma_ahb.sig.out.hsize @[quasar.scala 281:18]
|
|
||||||
_T_19.sig.out.hprot <= io.dma_ahb.sig.out.hprot @[quasar.scala 281:18]
|
|
||||||
_T_19.sig.out.hmastlock <= io.dma_ahb.sig.out.hmastlock @[quasar.scala 281:18]
|
|
||||||
_T_19.sig.out.hburst <= io.dma_ahb.sig.out.hburst @[quasar.scala 281:18]
|
|
||||||
_T_19.sig.out.haddr <= io.dma_ahb.sig.out.haddr @[quasar.scala 281:18]
|
|
||||||
io.dma_ahb.sig.in.hresp <= _T_19.sig.in.hresp @[quasar.scala 281:18]
|
|
||||||
io.dma_ahb.sig.in.hready <= _T_19.sig.in.hready @[quasar.scala 281:18]
|
|
||||||
io.dma_ahb.sig.in.hrdata <= _T_19.sig.in.hrdata @[quasar.scala 281:18]
|
|
||||||
io.dma_axi.r.bits.last <= dma_ctrl.io.dma_axi.r.bits.last @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.r.bits.resp <= dma_ctrl.io.dma_axi.r.bits.resp @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.r.bits.data <= dma_ctrl.io.dma_axi.r.bits.data @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.r.bits.id <= dma_ctrl.io.dma_axi.r.bits.id @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.r.valid <= dma_ctrl.io.dma_axi.r.valid @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.r.ready <= io.dma_axi.r.ready @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.qos <= io.dma_axi.ar.bits.qos @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.prot <= io.dma_axi.ar.bits.prot @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.cache <= io.dma_axi.ar.bits.cache @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.lock <= io.dma_axi.ar.bits.lock @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.burst <= io.dma_axi.ar.bits.burst @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.size <= io.dma_axi.ar.bits.size @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.len <= io.dma_axi.ar.bits.len @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.region <= io.dma_axi.ar.bits.region @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.addr <= io.dma_axi.ar.bits.addr @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.bits.id <= io.dma_axi.ar.bits.id @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.ar.valid <= io.dma_axi.ar.valid @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.ar.ready <= dma_ctrl.io.dma_axi.ar.ready @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.b.bits.id <= dma_ctrl.io.dma_axi.b.bits.id @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.b.bits.resp <= dma_ctrl.io.dma_axi.b.bits.resp @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.b.valid <= dma_ctrl.io.dma_axi.b.valid @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.b.ready <= io.dma_axi.b.ready @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.w.bits.last <= io.dma_axi.w.bits.last @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.w.bits.strb <= io.dma_axi.w.bits.strb @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.w.bits.data <= io.dma_axi.w.bits.data @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.w.valid <= io.dma_axi.w.valid @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.w.ready <= dma_ctrl.io.dma_axi.w.ready @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.qos <= io.dma_axi.aw.bits.qos @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.prot <= io.dma_axi.aw.bits.prot @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.cache <= io.dma_axi.aw.bits.cache @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.lock <= io.dma_axi.aw.bits.lock @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.burst <= io.dma_axi.aw.bits.burst @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.size <= io.dma_axi.aw.bits.size @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.len <= io.dma_axi.aw.bits.len @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.region <= io.dma_axi.aw.bits.region @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.addr <= io.dma_axi.aw.bits.addr @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.bits.id <= io.dma_axi.aw.bits.id @[quasar.scala 282:27]
|
|
||||||
dma_ctrl.io.dma_axi.aw.valid <= io.dma_axi.aw.valid @[quasar.scala 282:27]
|
|
||||||
io.dma_axi.aw.ready <= dma_ctrl.io.dma_axi.aw.ready @[quasar.scala 282:27]
|
|
||||||
dbg.io.sb_axi.r.bits.last <= io.sb_axi.r.bits.last @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.r.bits.resp <= io.sb_axi.r.bits.resp @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.r.bits.data <= io.sb_axi.r.bits.data @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.r.bits.id <= io.sb_axi.r.bits.id @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.r.valid <= io.sb_axi.r.valid @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.r.ready <= dbg.io.sb_axi.r.ready @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.qos <= dbg.io.sb_axi.ar.bits.qos @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.prot <= dbg.io.sb_axi.ar.bits.prot @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.cache <= dbg.io.sb_axi.ar.bits.cache @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.lock <= dbg.io.sb_axi.ar.bits.lock @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.burst <= dbg.io.sb_axi.ar.bits.burst @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.size <= dbg.io.sb_axi.ar.bits.size @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.len <= dbg.io.sb_axi.ar.bits.len @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.region <= dbg.io.sb_axi.ar.bits.region @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.addr <= dbg.io.sb_axi.ar.bits.addr @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.bits.id <= dbg.io.sb_axi.ar.bits.id @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.ar.valid <= dbg.io.sb_axi.ar.valid @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.ar.ready <= io.sb_axi.ar.ready @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.b.bits.id <= io.sb_axi.b.bits.id @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.b.bits.resp <= io.sb_axi.b.bits.resp @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.b.valid <= io.sb_axi.b.valid @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.b.ready <= dbg.io.sb_axi.b.ready @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.w.bits.last <= dbg.io.sb_axi.w.bits.last @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.w.bits.strb <= dbg.io.sb_axi.w.bits.strb @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.w.bits.data <= dbg.io.sb_axi.w.bits.data @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.w.valid <= dbg.io.sb_axi.w.valid @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.w.ready <= io.sb_axi.w.ready @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.qos <= dbg.io.sb_axi.aw.bits.qos @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.prot <= dbg.io.sb_axi.aw.bits.prot @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.cache <= dbg.io.sb_axi.aw.bits.cache @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.lock <= dbg.io.sb_axi.aw.bits.lock @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.burst <= dbg.io.sb_axi.aw.bits.burst @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.size <= dbg.io.sb_axi.aw.bits.size @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.len <= dbg.io.sb_axi.aw.bits.len @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.region <= dbg.io.sb_axi.aw.bits.region @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.addr <= dbg.io.sb_axi.aw.bits.addr @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.bits.id <= dbg.io.sb_axi.aw.bits.id @[quasar.scala 283:27]
|
|
||||||
io.sb_axi.aw.valid <= dbg.io.sb_axi.aw.valid @[quasar.scala 283:27]
|
|
||||||
dbg.io.sb_axi.aw.ready <= io.sb_axi.aw.ready @[quasar.scala 283:27]
|
|
||||||
ifu.io.ifu.r.bits.last <= io.ifu_axi.r.bits.last @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.r.bits.resp <= io.ifu_axi.r.bits.resp @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.r.bits.data <= io.ifu_axi.r.bits.data @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.r.bits.id <= io.ifu_axi.r.bits.id @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.r.valid <= io.ifu_axi.r.valid @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.r.ready <= ifu.io.ifu.r.ready @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.qos <= ifu.io.ifu.ar.bits.qos @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.prot <= ifu.io.ifu.ar.bits.prot @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.cache <= ifu.io.ifu.ar.bits.cache @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.lock <= ifu.io.ifu.ar.bits.lock @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.burst <= ifu.io.ifu.ar.bits.burst @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.size <= ifu.io.ifu.ar.bits.size @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.len <= ifu.io.ifu.ar.bits.len @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.region <= ifu.io.ifu.ar.bits.region @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.addr <= ifu.io.ifu.ar.bits.addr @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.bits.id <= ifu.io.ifu.ar.bits.id @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.ar.valid <= ifu.io.ifu.ar.valid @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.ar.ready <= io.ifu_axi.ar.ready @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.b.bits.id <= io.ifu_axi.b.bits.id @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.b.bits.resp <= io.ifu_axi.b.bits.resp @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.b.valid <= io.ifu_axi.b.valid @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.b.ready <= ifu.io.ifu.b.ready @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.w.bits.last <= ifu.io.ifu.w.bits.last @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.w.bits.strb <= ifu.io.ifu.w.bits.strb @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.w.bits.data <= ifu.io.ifu.w.bits.data @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.w.valid <= ifu.io.ifu.w.valid @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.w.ready <= io.ifu_axi.w.ready @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.qos <= ifu.io.ifu.aw.bits.qos @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.prot <= ifu.io.ifu.aw.bits.prot @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.cache <= ifu.io.ifu.aw.bits.cache @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.lock <= ifu.io.ifu.aw.bits.lock @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.burst <= ifu.io.ifu.aw.bits.burst @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.size <= ifu.io.ifu.aw.bits.size @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.len <= ifu.io.ifu.aw.bits.len @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.region <= ifu.io.ifu.aw.bits.region @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.addr <= ifu.io.ifu.aw.bits.addr @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.bits.id <= ifu.io.ifu.aw.bits.id @[quasar.scala 284:27]
|
|
||||||
io.ifu_axi.aw.valid <= ifu.io.ifu.aw.valid @[quasar.scala 284:27]
|
|
||||||
ifu.io.ifu.aw.ready <= io.ifu_axi.aw.ready @[quasar.scala 284:27]
|
|
||||||
lsu.io.axi.r.bits.last <= io.lsu_axi.r.bits.last @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.r.bits.resp <= io.lsu_axi.r.bits.resp @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.r.bits.data <= io.lsu_axi.r.bits.data @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.r.bits.id <= io.lsu_axi.r.bits.id @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.r.valid <= io.lsu_axi.r.valid @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.r.ready <= lsu.io.axi.r.ready @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.qos <= lsu.io.axi.ar.bits.qos @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.prot <= lsu.io.axi.ar.bits.prot @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.cache <= lsu.io.axi.ar.bits.cache @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.lock <= lsu.io.axi.ar.bits.lock @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.burst <= lsu.io.axi.ar.bits.burst @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.size <= lsu.io.axi.ar.bits.size @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.len <= lsu.io.axi.ar.bits.len @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.region <= lsu.io.axi.ar.bits.region @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.addr <= lsu.io.axi.ar.bits.addr @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.bits.id <= lsu.io.axi.ar.bits.id @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.ar.valid <= lsu.io.axi.ar.valid @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.ar.ready <= io.lsu_axi.ar.ready @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.b.bits.id <= io.lsu_axi.b.bits.id @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.b.bits.resp <= io.lsu_axi.b.bits.resp @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.b.valid <= io.lsu_axi.b.valid @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.b.ready <= lsu.io.axi.b.ready @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.w.bits.last <= lsu.io.axi.w.bits.last @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.w.bits.strb <= lsu.io.axi.w.bits.strb @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.w.bits.data <= lsu.io.axi.w.bits.data @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.w.valid <= lsu.io.axi.w.valid @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.w.ready <= io.lsu_axi.w.ready @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.qos <= lsu.io.axi.aw.bits.qos @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.prot <= lsu.io.axi.aw.bits.prot @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.cache <= lsu.io.axi.aw.bits.cache @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.lock <= lsu.io.axi.aw.bits.lock @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.burst <= lsu.io.axi.aw.bits.burst @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.size <= lsu.io.axi.aw.bits.size @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.len <= lsu.io.axi.aw.bits.len @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.region <= lsu.io.axi.aw.bits.region @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.addr <= lsu.io.axi.aw.bits.addr @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.bits.id <= lsu.io.axi.aw.bits.id @[quasar.scala 285:27]
|
|
||||||
io.lsu_axi.aw.valid <= lsu.io.axi.aw.valid @[quasar.scala 285:27]
|
|
||||||
lsu.io.axi.aw.ready <= io.lsu_axi.aw.ready @[quasar.scala 285:27]
|
|
||||||
skip @[quasar.scala 277:15]
|
|
||||||
io.dmi_reg_rdata <= UInt<1>("h00") @[quasar.scala 287:20]
|
io.dmi_reg_rdata <= UInt<1>("h00") @[quasar.scala 287:20]
|
||||||
|
|
||||||
module quasar_wrapper :
|
module quasar_wrapper :
|
||||||
|
|
2644
quasar_wrapper.v
2644
quasar_wrapper.v
File diff suppressed because it is too large
Load Diff
|
@ -21,9 +21,9 @@ trait param {
|
||||||
val BTB_INDEX3_HI = 0x19
|
val BTB_INDEX3_HI = 0x19
|
||||||
val BTB_INDEX3_LO = 0x12
|
val BTB_INDEX3_LO = 0x12
|
||||||
val BTB_SIZE = 0x200
|
val BTB_SIZE = 0x200
|
||||||
val BUILD_AHB_LITE = 0x0
|
val BUILD_AHB_LITE = 0x1
|
||||||
val BUILD_AXI4 = 0x1
|
val BUILD_AXI4 = 0x1
|
||||||
val BUILD_AXI_NATIVE = 0x1
|
val BUILD_AXI_NATIVE = 0x0
|
||||||
val BUS_PRTY_DEFAULT = 0x3
|
val BUS_PRTY_DEFAULT = 0x3
|
||||||
val DATA_ACCESS_ADDR0 = 0x00000000
|
val DATA_ACCESS_ADDR0 = 0x00000000
|
||||||
val DATA_ACCESS_ADDR1 = 0xC0000000
|
val DATA_ACCESS_ADDR1 = 0xC0000000
|
||||||
|
|
|
@ -238,7 +238,7 @@ class quasar extends Module with RequireAsyncReset with lib {
|
||||||
io.dccm <> lsu.io.dccm
|
io.dccm <> lsu.io.dccm
|
||||||
|
|
||||||
|
|
||||||
when(BUILD_AHB_LITE.B) {
|
if(BUILD_AHB_LITE) {
|
||||||
val sb_axi4_to_ahb = Module(new axi4_to_ahb())
|
val sb_axi4_to_ahb = Module(new axi4_to_ahb())
|
||||||
val ifu_axi4_to_ahb = Module(new axi4_to_ahb())
|
val ifu_axi4_to_ahb = Module(new axi4_to_ahb())
|
||||||
val lsu_axi4_to_ahb = Module(new axi4_to_ahb())
|
val lsu_axi4_to_ahb = Module(new axi4_to_ahb())
|
||||||
|
@ -270,11 +270,11 @@ class quasar extends Module with RequireAsyncReset with lib {
|
||||||
dma_ahb_to_axi4.io.ahb <> io.dma_ahb
|
dma_ahb_to_axi4.io.ahb <> io.dma_ahb
|
||||||
|
|
||||||
io.dma_axi <> 0.U.asTypeOf(io.dma_axi)
|
io.dma_axi <> 0.U.asTypeOf(io.dma_axi)
|
||||||
io.sb_axi <> 0.U.asTypeOf(io.dma_axi)
|
io.sb_axi <> 0.U.asTypeOf(io.sb_axi)
|
||||||
io.ifu_axi <> 0.U.asTypeOf(io.dma_axi)
|
io.ifu_axi <> 0.U.asTypeOf(io.ifu_axi)
|
||||||
io.lsu_axi <> 0.U.asTypeOf(io.dma_axi)
|
io.lsu_axi <> 0.U.asTypeOf(io.lsu_axi)
|
||||||
}
|
}
|
||||||
.otherwise{
|
else{
|
||||||
io.lsu_ahb <> 0.U.asTypeOf(io.lsu_ahb)
|
io.lsu_ahb <> 0.U.asTypeOf(io.lsu_ahb)
|
||||||
io.ifu_ahb <> 0.U.asTypeOf(io.ifu_ahb)
|
io.ifu_ahb <> 0.U.asTypeOf(io.ifu_ahb)
|
||||||
io.sb_ahb <> 0.U.asTypeOf(io.sb_ahb)
|
io.sb_ahb <> 0.U.asTypeOf(io.sb_ahb)
|
||||||
|
@ -286,5 +286,6 @@ class quasar extends Module with RequireAsyncReset with lib {
|
||||||
}
|
}
|
||||||
io.dmi_reg_rdata := 0.U
|
io.dmi_reg_rdata := 0.U
|
||||||
}
|
}
|
||||||
|
object QUASAR extends App {
|
||||||
|
println((new chisel3.stage.ChiselStage).emitVerilog(new quasar()))
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue