1
0

debug: use consistent coding style (Reg(init ... ) vs RegInit)

This commit is contained in:
Megan Wachs 2017-06-27 13:39:44 -07:00
parent 3b9550ede3
commit 136e4b6c27

View File

@ -212,7 +212,7 @@ class CSRFile(perfEventSets: EventSets = new EventSets(Seq()))(implicit p: Param
reset_dcsr.xdebugver := 1 reset_dcsr.xdebugver := 1
reset_dcsr.prv := PRV.M reset_dcsr.prv := PRV.M
val reg_dcsr = Reg(init=reset_dcsr) val reg_dcsr = Reg(init=reset_dcsr)
val reg_debugint = RegInit(Bool(false), next = io.interrupts.debug) val reg_debugint = Reg(init=Bool(false), next=io.interrupts.debug)
val (supported_interrupts, delegable_interrupts) = { val (supported_interrupts, delegable_interrupts) = {
val sup = Wire(new MIP) val sup = Wire(new MIP)