Electronics > Projects, Designs, and Technical Stuff
TTL Counter with tri-state
<< < (5/5)
obiwanjacobi:
Thanks!  :-+

I can see the pattern and the logic now. Seems to me that the example on stackoverflow was wrong.
It uses OR (#) instead of AND (&) for the last case where the bit is check for 'all lower bits set and own bit clear'...

Basically each bit output has conditions that will set the bit when true just before the next clock pulse. So you're testing the 'previous' condition, just before that bit is to become (or stay!) active.

Learned something new!   8)
obiwanjacobi:

--- Quote from: obiwanjacobi on February 14, 2020, 11:17:55 am ---I can see the pattern and the logic now. Seems to me that the example on stackoverflow was wrong.
It uses OR (#) instead of AND (&) for the last case where the bit is check for 'all lower bits set and own bit clear'...

--- End quote ---

It is not wrong - it's just inverted.  :palm:
Navigation
Message Index
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod