Description
3 ticks, excluding input/output bus
left shift, right shift, arithmetic right shift, rotate.
blue: data input, inverted, 15ss required
purple: shift amount input, normal, 15ss required.
keep in mind that doing a right shift by X is the same as doing a left shift by -X. please input the 2s complement if you want right shifts.
yellow: output, normal, low output
red:
- disable left shift, use when only doing right shift
- disable right shift, use when only doing left shift
- disable barrelshifter
- disable sign extend, for use with arithmetic right shift
Related Schematics
Singular RCA Adder
A singular RCA adder of one of many designs. Includes inputs A and B, CIN, and COUT. CIN is the side input, COUT is the two-colored 4-long wire, and A and B are the levers at the back. RCA adder designs are great for redstone beginners - they are simple to explain, build, and use. However, there is a drawback: RCA has a delay for each adder you add. Each adder has to wait for the last to finish. That is where 'Ripple Carry Adder' gets it's name. It ripples. This means that not every calculation will take the same amount of time, and thus RCA is not recommended for applications with sensitive timings. If you do plan to use it in something with a clock, like a CPU, probably ensure that the clock is slow, as to give the RCA time. And for pipelined CPUs? Forget it.