Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI didn't analyze everything you posted, but I think you have the problem in case 2 because you are using different clocks with the two main blocks.
In particular, you are clocking BitCounter_Shifter with a signal generated by the synchronizer stage. This will lead to undefined timing relationships. You must use the same 'true' clock (CClk) throughout the design, and you'd rather use it to synchronize the other signals.