arant wrote:
>
> "I think the second implementation reduces the problem of metastability
> at the reset_out as it is less probable that ll the four flops go
> metastable at the same time"
>
> Is the above statement (" I think ... time") valid
>
Not really. The probability of metastability on the last flip flop
decreases monotonically (and quite quickly I might add) as you make
your shift chain longer. So by basing logic on flip flops closer to
the begining of the chain you're actually increasing the chances that
your four clock cycle signal will have problems related to
metastability.
The flaw in your reasoning is that the outputs of each individual flip
flop is some random event that is either somewhat or totally
uncorrelated to the output of any other flip flops in the chain. If
this actually were the case then combining the four should give you an
overall better chance at getting a good signal. In reality, there is
near perfect correlation. For example, in order for flip flop #2
output to be metastable, flip flop #1 must have gone metastable and
remained that way for a long enough period of time to cause #2 to also
go metastable. However, there is absolutely no chance of #2 going
metastable if #1 has not.
Since the probability of metastability of a particular flip flop in the
chain is highly correlated with the probability of the previous flip
flop in the chain then using that previous flip flop is not providing
'new' information in the statistical sense and as I said in the first
paragraph is making things worse by using 'worse' information.
KJ
|