Ok so i have an assignment due soon over D flip flops and making a 2 bit up down counter using them. I have made a counter that counts up using only two bits but i don't know if/how to make it change to a down counter. Or even if i am doing it right, i've just been winging it to be honest. I am using logisim btw
Here is the assignment:
Create a subcircuit that is a 2-Bit Up/Down Counter. Use only individual logic gates (AND,
OR, XOR, etc.) and D flip flops. The circuit has 2 inputs (clock, dir where dir=1 means count up") and one output (a 2-bit wire bundle that is the current count)
Here is the assignment:
Create a subcircuit that is a 2-Bit Up/Down Counter. Use only individual logic gates (AND,
OR, XOR, etc.) and D flip flops. The circuit has 2 inputs (clock, dir where dir=1 means count up") and one output (a 2-bit wire bundle that is the current count)
Attachments
-
9.4 KB Views: 260