🡄 Previous

Next 🡆

Contents > Functions

Logical Right Shift

Logical right shift is an 8-bit function that moves every input bit one position right. The leftmost bit is assigned 0 and the right most bit is lost:

Logical Right Shift

The circuit can be stacked to shift by an arbitrary number of bit positions. Shifting an unsigned value right by n bits is equivalent to dividing by 2n, rounding toward 0:

f(x) = x / 2n

🡄 Previous

Next 🡆