1
0

Merge pull request #253 from ucb-bar/use-companion

only use companion objects for types
This commit is contained in:
Howard Mao 2016-09-07 15:07:17 -07:00 committed by GitHub
commit 7a6f155b2a

View File

@ -61,7 +61,7 @@ abstract class Coreplex(implicit val p: Parameters) extends Module
val mmio = p(ExportMMIOPort).option(new ClientUncachedTileLinkIO()(outermostMMIOParams)) val mmio = p(ExportMMIOPort).option(new ClientUncachedTileLinkIO()(outermostMMIOParams))
val interrupts = Vec(p(NExtInterrupts), Bool()).asInput val interrupts = Vec(p(NExtInterrupts), Bool()).asInput
val debug = new DebugBusIO()(p).flip val debug = new DebugBusIO()(p).flip
val rtcTick = new Bool(INPUT) val rtcTick = Bool(INPUT)
val extra = p(ExtraCoreplexPorts)(p) val extra = p(ExtraCoreplexPorts)(p)
val success: Option[Bool] = hasSuccessFlag.option(Bool(OUTPUT)) val success: Option[Bool] = hasSuccessFlag.option(Bool(OUTPUT))
} }