Replies: 1 comment 5 replies
-
I'm not sure what your own custom flip-flop looks like. A simple custom flip-flop e.g. made of two NOR gates has a random initial state. In this case, it is better to switch the flip-flop to a defined state before the actual test and set the test output to "don't care" (X) to cope with any initial state. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I have test vectors as the following for a custom negative edge-triggered Data Flip Flop
( given the initial state of O is 0 )
here is a pseudo hdl for the implementation
Implementation 1
Implementation 2
The test vectors fail for the first implementation and succeed for the second one every single time.
Why is this? Is this some kind of race condition?
Beta Was this translation helpful? Give feedback.
All reactions