This is an assignment for my Uni. I have to implement a synchronous counter using D Flip Flops. It should look something like this. http://babbage.cs.qc.edu/courses/cs343/200...signment_02.php
I have on paper done all the combination logic and determened the inputs for all the flip flops.
A0 = ~A0
A1 = (~A1 A0) + (A1 ~A0)
A2 = (~A1 A2) + (A2 A1 ~A0) + (~S2 S1 S0)
A3 = (A2 A3) + (A3 ~A1) + (A3 ~A0) + (~A3 A2 A1 A0)
The inputs to A0 and A1 were given but I dont understand the logic behind the inputs to the "AND" and "OR" gates. How to know which wire to assign as their inputs.For example, the ~Q output of A1 goes into an "AND" gate which leads back to the input of A1, why? Thanks in advance for any help.
I have on paper done all the combination logic and determened the inputs for all the flip flops.
A0 = ~A0
A1 = (~A1 A0) + (A1 ~A0)
A2 = (~A1 A2) + (A2 A1 ~A0) + (~S2 S1 S0)
A3 = (A2 A3) + (A3 ~A1) + (A3 ~A0) + (~A3 A2 A1 A0)
The inputs to A0 and A1 were given but I dont understand the logic behind the inputs to the "AND" and "OR" gates. How to know which wire to assign as their inputs.For example, the ~Q output of A1 goes into an "AND" gate which leads back to the input of A1, why? Thanks in advance for any help.