1
0

PMU: adapt to new chisel API (#45)

This commit is contained in:
Wesley W. Terpstra 2017-11-02 15:44:02 -07:00 committed by GitHub
parent 90e6ea1d2d
commit d1d2f47f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,9 @@ class PMU(val c: PMUConfig) extends Module {
val resetCauses = new ResetCauses().asInput val resetCauses = new ResetCauses().asInput
} }
val core = Module(new PMUCore(c)(resetIn = Reg(next = Reg(next = reset)))) val coreReset = Reg(next = Reg(next = reset))
val core = Module(new PMUCore(c)(resetIn = coreReset))
io <> core.io io <> core.io
core.io.wakeup.reset := false // this is implied by resetting the PMU core.io.wakeup.reset := false // this is implied by resetting the PMU