Barrel Switcher

Block: Barrel Switcher (barrel_switcher)
Block Author: Aaron Parsons
Document Author: Aaron Parsons

Contents

Summary

Maps a number of inputs to a number of outputs by rotating In(N) to Out(N+M) (where M is specified on the sel input), wrapping around to Out1 when necessary.

Mask Parameters

Parameter

Variable

Description

Number of inputs

n_inputs

The number of parallel inputs (and outputs).

Ports

Port

Dir

Data Type

Description

sync

in

Boolean

Indicates the next clock cycle contains valid data

In

in

Inherited

The stream(s) to be transposed.

sync_out

out

Boolean

Indicates that data out will be valid next clock cycle.

Out

out

Inherited

The transposed stream(s).

Description

Maps a number of inputs to a number of outputs by rotating In(N) to Out(N+M) (where M is specified on the sel input), wrapping around to Out1 when necessary.