please dont rip this site

Digital Logic Tutorial

Counting Sequencer

This circuit is here to demonstrate the idea of sequencing data through a circuit over time. It combines several of the circuits and ideas we have seen already: The Register, the T-Flip Flop, and of course, the NAND, from which all of those are made.

As soon as the simulation starts, the clock will supply a pulse to the T-Flip Flop. The output is inverted (yes we could have used the inverted output) so there are two "phases" to the signal: Phase A goes to the left register, and Phase B goes to the right register. The output of the left register is added to the number input (use the left digit) and that is saved in the output register on the right during Phase B. After the end of Phase B, the output of the right register (the current count) is fed back to the left register during Phase A. This instantly changes the output of the adder, but has no effect on the circuits output becuase the right register is not saving during the A phase.

At first, nothing happens, because the registers are at zero, and the input is at zero. Change the left input digit to "1" by pressing the up arrow in the far upper left corner. Watch the circuit count up. Because it is a 4 bit system, it will count to 9, then A, B, C, D, E, F; it is counting in hexadecimal. After F, it will cycle back to 0 when the adder overflows. Change it to "2" and watch it count by twos.


A simple ALU


Can you make this circuit count down one at a time? Hint: You don't have to change the circuit at all; just the input!

See also:

file: /Techref/logic/countby.htm, 2KB, , updated: 2013/11/12 19:33, local time: 2024/4/17 12:45,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> Digital Logic Tutorial - Counting Sequencer</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!