dma通路完成,可以承载背靠背负载

This commit is contained in:
RuigeLee
2023-11-10 15:47:43 +08:00
parent a3cc3d1d3d
commit b6767e5187
7 changed files with 32 additions and 27 deletions

View File

@@ -16,11 +16,11 @@ trait WithSwitchMix { this: BaseSubsystem =>
// pbus.coupleTo("switch_cfg") { switch0.tlMasterNode := TLFragmenter(pbus) := _ }
for( i <- 0 until 3 ){
pbus.coupleTo("switch_cfg") { switch.macReg(i).configNode := TLFragmenter(pbus) := _ }
pbus.coupleTo(s"mac_cfg$i") { switch.macReg(i).configNode := TLFragmenter(pbus) := _ }
ibus.fromSync := switch.macReg(i).int_node
}
pbus.coupleTo("switch_cfg") { switch.dmaReg.configNode := TLFragmenter(pbus) := _ }
pbus.coupleTo("dma_cfg") { switch.dmaReg.configNode := TLFragmenter(pbus) := _ }