I am currently designing a circuit that uses a T Flip Flop and has inputs x, down and load. It's purpose is either to store or to downcount depending on the input. I'm not even sure how to ask the question, so I'll add photos. The first one is decrementing mod 8 counter with a t flip flip, and the second is a counter with a load, the behavioural description as follows:
ld dn FUNCTION
0 0 No change
0 1 Q <-- Q minus 1
1 0 Q <--- x
1 1 Q <----x
The circuit i need to design takes an input x and either downcounts or loads, depending on the inputs.
NOW what I have to do is use 4 instances of the counter w/ load to design a circuit that can downcount from whatever you push on a hex keyboard since it has load capabilities. I can only use one other gate if necessary and those four instances. On the entity definition, there is inputs for clk, Reset, dn, ld, x and outputs of c and q, where c is the communication line, like used in the mod 8 downcounter.
So I don't really know at all how to do this, I got the design for the counter w/ load Using a T Flip Flop excitation table and drawing k maps... I'm pretty sure it's right because it works all by itself. If anyone can help me out that would be much appreciated! This is my first course in circuits and i'll try my best to clarify anything I can. Thank you!
ld dn FUNCTION
0 0 No change
0 1 Q <-- Q minus 1
1 0 Q <--- x
1 1 Q <----x
The circuit i need to design takes an input x and either downcounts or loads, depending on the inputs.
NOW what I have to do is use 4 instances of the counter w/ load to design a circuit that can downcount from whatever you push on a hex keyboard since it has load capabilities. I can only use one other gate if necessary and those four instances. On the entity definition, there is inputs for clk, Reset, dn, ld, x and outputs of c and q, where c is the communication line, like used in the mod 8 downcounter.
So I don't really know at all how to do this, I got the design for the counter w/ load Using a T Flip Flop excitation table and drawing k maps... I'm pretty sure it's right because it works all by itself. If anyone can help me out that would be much appreciated! This is my first course in circuits and i'll try my best to clarify anything I can. Thank you!
Attachments
-
37.1 KB Views: 25
-
37.6 KB Views: 24