Bit Reverser

Block: Bit reverser (bit_reverse)
Block Author: Aaron Parsons
Document Author: Aaron Parsons

Contents

Summary

Reverses the bit order of the input. Input must be unsigned with binary point at position 0. Costs nothing in hardware.

Mask Parameters

Parameter

Variable

Description

No. of bits.

n_bits

Specifies the width of the input.

Ports

Port

Dir

Data Type

Description

in

in

UFix_x_0

The input signal.

out

out

UFix_x_0

The output.

Description

Reverses the bit order of the input. Input must be unsigned with binary point at position 0. Costs nothing in hardware.