- #1
mathman44
- 207
- 0
Homework Statement
Fig (a) is a counter, fig (b) is a divide-by-N counter (0 < N < 16).
The 4-bit input ABCD is (I think) what the counter counts to before resetting.
Questions
#1: For circuit (b): Say you want a divide-by-9. Why is it that to do this, the 2's complement of 9 (0111) is loaded into inputs ABCD, rather than 9 in binary (1001)?
#2: Using this same circuit, how could I make a counter that counts in base 10 rather than 16?
The Attempt at a Solution
First question: I think this is because the counter counts to 16 minus the input in binary. So, since the 2's complement of 9 is 16-9, it will count to 16-(16-9) = 9. If this is correct, why does the counter count to 16 minus the input?
Second question: Not sure at all. Any hints?
Thanks for any help.