1
0

fix Tile reset power on behavior

This commit is contained in:
Howard Mao 2016-06-07 11:06:25 -07:00
parent e6c4372332
commit 8db27a36c4

View File

@ -242,7 +242,9 @@ class Uncore(implicit val p: Parameters) extends Module
prci.io.interrupts(i).seip := plic.io.harts(plic.cfg.context(i, 'S'))
prci.io.interrupts(i).debug := debugModule.io.debugInterrupts(i)
io.prci(i).reset := Reg(next=Reg(next=htif.io.cpu(i).reset)) // TODO
io.prci(i).reset := reset || Reg(init = Bool(true),
next=Reg(init = Bool(true),
next=htif.io.cpu(i).reset)) // TODO
}
val bootROM = Module(new ROMSlave(TopUtils.makeBootROM()))