tilelink2: refactor address into addr_hi on ABC and addr_lo on CD
We need addr_lo in order to properly convert widths. As part of the refactoring, move all methods out of the Bundles
This commit is contained in:
@ -23,10 +23,6 @@ object TLImp extends NodeImp[TLClientPortParameters, TLManagerPortParameters, TL
|
||||
require (eo.asInstanceOf[TLEdgeParameters] == ei.asInstanceOf[TLEdgeParameters])
|
||||
TLMonitor.legalize(bo, eo, bi, ei)
|
||||
bi <> bo
|
||||
val mask = UInt(ei.manager.beatBytes - 1)
|
||||
bi.a.bits.address := ~(mask | ~bo.a.bits.address)
|
||||
bo.b.bits.address := ~(mask | ~bi.b.bits.address)
|
||||
bi.c.bits.address := ~(mask | ~bo.c.bits.address)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user