Asynchronous counter modulo 9

Thread Starter

mjaz94

Joined Mar 3, 2020
1
Hello,
I was tasked with creating asynchronous counter modulo 9 using d flip flops and synthesis calculation method.
When trying to resolve the task I managed to create a counter that counted to 8 (as it should) however after number 6 instead of number 7 there appear 14 and 15 before 8 (which is wrong).
I counted everything from the beginning but result is the same and I can't find mistake in calculations.
Below is image from simulation:
1605717411672.png
Below is are my calculations:
1605717375643.png
And below is image of the whole counter:
1605717499728.png
Can you please point what is the error?
 
Top