I have been designing program counter that has a features like "Read from bus Enable", "Write to bus Enable" and "Count Enable".
I have already designed binary counter https://drive.google.com/file/d/1rQNK-QEvoAokPv_G-IirJPc3wFvXz7qr/view?usp=sharing
And Read from bus Enable using almost the same parts. https://drive.google.com/file/d/119FGtOMyjhrwXnnqD5_h5f2vQc6XUwSy/view?usp=sharing
So I'm having a problem with connecting those two designs. To be more specific: In order to binary counter operate all J and K inputs of JK flip flops should be high (1 or true) and output (Q) of 1st JK flip flop should be connected to the clock of the 2nd JK flip flop.
However, in order to "Read from bus Enable" operate J and K inputs of JK flip flops should be opposite (when J = 1, K = 0 or when J = 0, K = 1) and clock input of JK flip flops should be connected to clock (not to output of previous clock)
These two design seems to me conflicting. So my question is:
P.S. I wanted to understand design of Synchronous 4-Bit Binary Counters (link to binary counter) but it was too hard for me. Please try to explain with in a simple way (with images if it is possible). Because I have limited knowledge in electronics and I'm more a visual learner.
November 10, 2018
Possibly a quick look at MC4018B might help. This has 'jam' inputs which can act as Read-from-Bus and has a synchronous counter function. Your Write-to-Bus requirement can be met by a tri-state buffer.
Sorry, this uses D-flops in a Johnson ring, rather than your preferred JK-flops but it does show how the requirement can be met.
November 11, 2018
No answers yet. Contribute your answer below!
Anyone can ask a question.
Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.
CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.
We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.
Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!
CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.
|New @ CircuitLab|