Skip to content

Commit

Permalink
Fix port to port.io
Browse files Browse the repository at this point in the history
  • Loading branch information
abejgonzalez committed Oct 26, 2023
1 parent ead2970 commit 1527f98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/firechip/src/main/scala/BridgeBinders.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ class WithDMIBridge extends HarnessBinder({
// If FASED bridge is attached, loadmem widget is present
val hasMainMemory = th.chipParameters(th.p(MultiChipIdx))(ExtMem).isDefined
val mainMemoryName = Option.when(hasMainMemory)(MainMemoryConsts.globalName(th.p(MultiChipIdx)))
val nDMIAddrBits = port.dmi.req.bits.addr.getWidth
DMIBridge(th.harnessBinderClock, port, mainMemoryName, th.harnessBinderReset.asBool, nDMIAddrBits)
val nDMIAddrBits = port.io.dmi.req.bits.addr.getWidth
DMIBridge(th.harnessBinderClock, port.io, mainMemoryName, th.harnessBinderReset.asBool, nDMIAddrBits)
}
})

Expand Down

0 comments on commit 1527f98

Please sign in to comment.