CDC for a Flow
CDC for a Flow
This component is not a safe CDC structure for the general use-case. The transmitting side MUST be slower then the receiving side e.g. if: - transmitting clock is appropriately faster than the receiving one - datarate from the transmitter is slow enough - the component is used as part of a larger CDC component with handshaking
Do NOT use this component if you are unsure how it works or whether it is applicable. A safe alternative (that also shows data loss is):
val overflow = Bool() val crossed = myFlow.toStream(overflow).ccToggle(inputClock, outputClock).toFlow
(Since version ) see corresponding Javadoc for more information.