[MIDAS] fix the initial value for stepCounter

This commit is contained in:
Donggyu Kim 2014-09-22 01:34:36 -07:00
parent b205b5265c
commit da34ad0932
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class DaisyWrapper[+T <: Module](c: => T, val datawidth: Int = 32) extends Modul
val io = new DaisyWrapperIO(target.io, datawidth)
// Add step counters for simulation run or stall
val stepCounter = Reg(UInt())
val stepCounter = Reg(init=UInt(0))
val fire = stepCounter.orR
val fireDelay = Reg(next=fire)