1
0

Merge pull request #1176 from freechipsproject/fix-tl-port

Fix TL MMIO port
This commit is contained in:
Henry Cook 2018-01-05 20:37:44 -08:00 committed by GitHub
commit 4fd4ae38e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ trait HasMasterTLMMIOPortBundle {
trait HasMasterTLMMIOPortModuleImp extends LazyModuleImp with HasMasterTLMMIOPortBundle { trait HasMasterTLMMIOPortModuleImp extends LazyModuleImp with HasMasterTLMMIOPortBundle {
val outer: HasMasterTLMMIOPort val outer: HasMasterTLMMIOPort
val mmio_tl = IO(HeterogeneousBag.fromNode(outer.mmio_tl.in)) val mmio_tl = IO(HeterogeneousBag.fromNode(outer.mmio_tl.in))
(mmio_tl zip outer.mmio_tl.out) foreach { case (i, (o, _)) => i <> o } (mmio_tl zip outer.mmio_tl.in) foreach { case (i, (o, _)) => i <> o }
} }
/** Adds an TL port to the system intended to be a slave on an MMIO device bus. /** Adds an TL port to the system intended to be a slave on an MMIO device bus.