i2c/uart: Name the synchronizers
[sifive-blocks.git] / src / main / scala / devices / uart / UARTPeriphery.scala
index f24cbadcdf2a1d39a5848797a40476f7a50b9dfe..01ae55cd9ea18d47401e71ab0c6a94e3b3bd1c48 100644 (file)
@@ -51,7 +51,7 @@ class UARTPins[T <: Pin] (pingen: () => T) extends Bundle {
     withClockAndReset(clock, reset) {
       txd.outputPin(uart.txd)
       val rxd_t = rxd.inputPin()
-      uart.rxd := SynchronizerShiftRegInit(rxd_t, n = syncStages, init = Bool(true))
+      uart.rxd := SynchronizerShiftRegInit(rxd_t, n = syncStages, init = Bool(true), name = Some("uart_rxd_sync"))
     }
   }
 }