Dear Mr Tschaggelar,
let us assume the following situation:
I have an 16bit bus which is synchronous to an external clock 30MHz. If I sychronize this bus with a set of three stage-flip flop-chains clocked by an internal generated 90MHz clock will the sampled pattern be wrong?
I do not know if you were talking about asynchronous bus without any clock or if you were talking about asynchronous bus with regard to the FPGA internal sampling clock.
Thank you for sheding some light on it.
Best regards André
>ALuP>> In one of the last posts I read the following:
>>
>>>It is true though that a more common mistake is to synchronize a
>>>multibit bus without realizing that this will result in invalid values
>>>except in the case of Gray-coded logic.
>>
>> Does that mean that using a multi-stage flip flop chain to synchronize
>> the asynchronous input bus will lead to invalid values ?
>Since the indivdual bits of the multi bit bus may change at
>their own time, sampling at odd intervals may result in
>sampled bus pattern that are just temporary in nature.
>Thus the sampled pattern may be wrong.
>Only the gray code is save to sample at odd intervals as
>only one-bit changes are allowed.
>
>Apart from that, the multi bit bus could also contain its own
>clock, showing when the data is valid.
>
>Rene
>--
>Ing.Buero R.Tschaggelar -formatting link
>& commercial newsgroups -formatting link