I have a assignment about constructing a two bit downwards counter with the help of D-Flip-Flops and NOR-gates.
We use Digital Fundamenmtals 10th edition, and it covers counters based on JK-Flip-Flops. So I don't understand how to do it with only D-flip flops.
What I have done:
__________________________________________
Counts from: 00 --> 11 --> 10 --> 01 --> 00....
Current state | Next state | Flip-Flop inputs
Q1 Q0----------Q1 Q0---------D1 D0
--0 0------------1 1------------ ? ?
--0 1------------0 0------------ ? ?
--1 0------------0 1------------ ? ?
--1 1------------1 0------------ ? ?
__________________________________________
How can I see what the states of the D inputs should be?
With JK inputs we use a table like this:
_______________________________________
|Output transitions --------- Flip-Flop Inputs |
| QN -- QN+1 ----------------- J ------ K --|
---------------------------------------------
--0 ---> 0 -------------------- 0 ------ X
--0 ---> 1 -------------------- 1 ------ X
--1 ---> 0 -------------------- X ------ 1
--1 ---> 1 -------------------- X ------ 0
---------------------------------------------
So, how can I know about the D Flip-Flops inputs?
We use Digital Fundamenmtals 10th edition, and it covers counters based on JK-Flip-Flops. So I don't understand how to do it with only D-flip flops.
What I have done:
__________________________________________
Counts from: 00 --> 11 --> 10 --> 01 --> 00....
Current state | Next state | Flip-Flop inputs
Q1 Q0----------Q1 Q0---------D1 D0
--0 0------------1 1------------ ? ?
--0 1------------0 0------------ ? ?
--1 0------------0 1------------ ? ?
--1 1------------1 0------------ ? ?
__________________________________________
How can I see what the states of the D inputs should be?
With JK inputs we use a table like this:
_______________________________________
|Output transitions --------- Flip-Flop Inputs |
| QN -- QN+1 ----------------- J ------ K --|
---------------------------------------------
--0 ---> 0 -------------------- 0 ------ X
--0 ---> 1 -------------------- 1 ------ X
--1 ---> 0 -------------------- X ------ 1
--1 ---> 1 -------------------- X ------ 0
---------------------------------------------
So, how can I know about the D Flip-Flops inputs?