fix chisel3 deprecations
This commit is contained in:
@@ -52,7 +52,7 @@ trait PWMTLModule extends Module with HasRegMap {
|
||||
// For how many cycles should the clock be high?
|
||||
val duty = Reg(UInt(w.W))
|
||||
// Is the PWM even running at all?
|
||||
val enable = Reg(init = false.B)
|
||||
val enable = RegInit(false.B)
|
||||
|
||||
val base = Module(new PWMBase(w))
|
||||
io.pwmout := base.io.pwmout
|
||||
|
||||
Submodule testchipip updated: 27f0aed7b6...82db791a5f
Reference in New Issue
Block a user