PMU: adapt to new chisel API (#45)
This commit is contained in:
parent
90e6ea1d2d
commit
d1d2f47f60
@ -131,7 +131,9 @@ class PMU(val c: PMUConfig) extends Module {
|
||||
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
|
||||
core.io.wakeup.reset := false // this is implied by resetting the PMU
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user