Here is a great, compact, and fast solution to shift bits! This shift register is bi-directional, and can be easily modified to be able to handle rotation. The D-FlipFlop is a bazzel based one.
Don't know what a shift register is? A shift register is a type of memory that takes in a binary number, and can shift that number right one, or left one(In affect, multiplying, or dividing by 2).
Specs of shift register:
- Bi-Directional
- Tilable to any amount of bits(Not tested above 8).
- Rotation Compatible(Just drag the last bit's shift out into the first one).
- Shifts in 6 ticks.
- Compact. How compact? This compact per bit:
- 8 tall
- 2 wide
- 5 long
- Doesn't affect speed if signal is bypassing shift register.
- Reset to 0 function.
- If you find any errors in the specs please notify me as I have barely tested them!
Exceptions:
- If you exceed 8 bits with this, you will need to add a repeater to the left, and right shift. I haven't tested if this will affect the way this work you might just need to add an extra tick to the shift register.
- There is a little pulse(barely noticeable), when you shift.
Does anyone know of a faster, or more compact bi-directional shift register? If so, then please notify me! I do think this is really compact and pushing Minecraft to it's limits!
Grizdale made one that shifts in 4 ticks. Each module is also smaller, 2*5*7, with the exception of the leftmost wich is 3*5*7. http://www.minecraft...shift-register/
I guess it beats this design...
Actually, this on is faster. I think 6 ticks isn't really accurate due how I included the monostable(Slow).
Don't know what a shift register is? A shift register is a type of memory that takes in a binary number, and can shift that number right one, or left one(In affect, multiplying, or dividing by 2).
Specs of shift register:
- Bi-Directional
- Tilable to any amount of bits(Not tested above 8).
- Rotation Compatible(Just drag the last bit's shift out into the first one).
- Shifts in 6 ticks.
- Compact. How compact? This compact per bit:
- 8 tall
- 2 wide
- 5 long
- Doesn't affect speed if signal is bypassing shift register.
- Reset to 0 function.
- If you find any errors in the specs please notify me as I have barely tested them!
Exceptions:
- If you exceed 8 bits with this, you will need to add a repeater to the left, and right shift. I haven't tested if this will affect the way this work you might just need to add an extra tick to the shift register.
- There is a little pulse(barely noticeable), when you shift.
Pictures:
Top View:
Front View(Input):
Control Panel View:
Back View(Output):
And finally, the 8-bit schematic:
Download(Media Fire): http://www.mediafire...jolbao05vkh64dz
Thanks to rantaoca for pointing out this has been invented before.
http://www.minecraftforum.net/topic/676498-grizdales-bi-directional-shift-register/
I guess it beats this design...
Actually, this on is faster. I think 6 ticks isn't really accurate due how I included the monostable(Slow).