• 12/10/11 1:14 pm
- 1.3k views • 1 today
- save_alt 98 downloads
- Progress
- 100% complete
31
16Bit Program Counter | Unconditional Branching
This is my 16 bit program counter, with the ability to branch unconditionally. I'll confess I didn't really know what I was doing going into this project, so this probably isn't the most accurate/efficient build, but I'll probably use it in my CPU and it's a good learning tool.
It operates using a series of edge-trigged D Flip Flops. To advance the counter press the button on the side. To branch unconditionally power the yellow block that corresponds to the branch you wish to go to, then flick the lever on the controls. Integrating this into a CPU would mean you would need to add a small delay before power is applied to the control block, but a monostable circuit is built in; meaning a constant power source is fine, a pulse will be generated.
Feedback much appreciated, for the build especially.
This is my 16 bit program counter, with the ability to branch unconditionally. I'll confess I didn't really know what I was doing going into this project, so this probably isn't the most accurate/efficient build, but I'll probably use it in my CPU and it's a good learning tool.
It operates using a series of edge-trigged D Flip Flops. To advance the counter press the button on the side. To branch unconditionally power the yellow block that corresponds to the branch you wish to go to, then flick the lever on the controls. Integrating this into a CPU would mean you would need to add a small delay before power is applied to the control block, but a monostable circuit is built in; meaning a constant power source is fine, a pulse will be generated.
Feedback much appreciated, for the build especially.
More like this
399953
2



Have something to say?
I download this circuit and run around, look how it work, but I don't understand some part. I try to make one like yours but in smaller size but I can't do that. So, I try to build it in new style and smaller than your but the redstone torch bright a little to all from 1 torch > 2 torches and next. Wow, I found the new :D
P.S. Each bit unit size is 14x3 (more slim)
:D
http://www.planetminecraft.com/project/counter-machine-request/
Okey questions
There are no inputs for the branch?.. i guess it only resets (branches to 0). maybe an extra challenge for version 2 : )
I noticed you have combined piston and torch technology quite nicely; and you've got the nick of timing with repeaters down, i would suggest experimenting with zapping sticky pistons with 1-tick pulses; they act like single block t-flip-flops and could replace the larger edge-triggered D Flip Flops (although you did make them vertical which does alleviate there width alot already).
Again this is really cool and having seen your simple ALU i am sure you could build a computer, good luck panda.
I did see a few designs using one tick pistons, it's something I am definitely going to experiment with in the future.
Thanks for the feedback!