syncregs: Use synchronizer primivites for LevelSyncCrossing
This commit is contained in:
parent
130b24355f
commit
4e773f4738
@ -99,7 +99,7 @@ object LevelSyncCrossing {
|
|||||||
val out = Bool(OUTPUT)
|
val out = Bool(OUTPUT)
|
||||||
}
|
}
|
||||||
|
|
||||||
io.out := ShiftRegister(io.in, sync)
|
io.out := SynchronizerShiftReg(io.in, sync)
|
||||||
}
|
}
|
||||||
|
|
||||||
class SynchronizerFrontend(_clock: Clock) extends Module(Some(_clock)) {
|
class SynchronizerFrontend(_clock: Clock) extends Module(Some(_clock)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user