1
0

syncregs: Use synchronizer primivites for LevelSyncCrossing

This commit is contained in:
Megan Wachs 2017-08-24 17:42:31 -07:00
parent 130b24355f
commit 4e773f4738

View File

@ -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)) {