subsystem: keep pbus frontside wide if atomics widened it (#1692)

This commit is contained in:
Henry Cook 2018-11-06 17:17:17 -08:00 committed by GitHub
parent 5c34935ac8
commit 27634c912e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class PeripheryBus(params: PeripheryBusParams)(implicit p: Parameters)
:*= fixer.node :*= fixer.node
:*= TLBuffer(pa.buffer) :*= TLBuffer(pa.buffer)
:*= (pa.widenBytes.filter(_ > beatBytes).map { w => :*= (pa.widenBytes.filter(_ > beatBytes).map { w =>
TLWidthWidget(w) :*= TLAtomicAutomata(arithmetic = pa.arithmetic) :*= TLWidthWidget(beatBytes) TLWidthWidget(w) :*= TLAtomicAutomata(arithmetic = pa.arithmetic)
} .getOrElse { TLAtomicAutomata(arithmetic = pa.arithmetic) }) } .getOrElse { TLAtomicAutomata(arithmetic = pa.arithmetic) })
:*= in_xbar.node) :*= in_xbar.node)
} .getOrElse { TLXbar() :*= fixer.node } } .getOrElse { TLXbar() :*= fixer.node }