synchronizers: Correctly pass the width through
This commit is contained in:
parent
c473538e36
commit
483e63da19
@ -38,7 +38,7 @@ object AbstractSynchronizerReg {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class AsyncResetSynchronizerShiftReg(w: Int = 1, sync: Int = 3) extends AbstractSynchronizerReg {
|
class AsyncResetSynchronizerShiftReg(w: Int = 1, sync: Int = 3) extends AbstractSynchronizerReg(w, sync) {
|
||||||
|
|
||||||
override def desiredName = s"AsyncResetSynchronizerShiftReg_w${w}_d${sync}"
|
override def desiredName = s"AsyncResetSynchronizerShiftReg_w${w}_d${sync}"
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ object AsyncResetSynchronizerShiftReg {
|
|||||||
in, sync, name)
|
in, sync, name)
|
||||||
}
|
}
|
||||||
|
|
||||||
class SynchronizerShiftReg(w: Int = 1, sync: Int = 3) extends AbstractSynchronizerReg {
|
class SynchronizerShiftReg(w: Int = 1, sync: Int = 3) extends AbstractSynchronizerReg(w, sync) {
|
||||||
|
|
||||||
override def desiredName = s"SynchronizerShiftReg_w${w}_d${sync}"
|
override def desiredName = s"SynchronizerShiftReg_w${w}_d${sync}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user