Main Content

Sample Control Bus Selector

Select signals from the control signal bus used with Wireless HDL Toolbox blocks

  • Library:
  • Wireless HDL Toolbox / Utilities

  • Sample Control Bus Selector block

Description

The Sample Control Bus Selector block selects signals from the samplecontrol bus. This bus is used for modeling streaming control signals in communication systems for hardware. See Sample Control Bus.

The block is an implementation of the Simulink® Bus Selector block. See Bus Selector for more information.

Ports

Input

expand all

Control signals accompanying the sample stream, specified as a samplecontrol bus. The bus includes the start, end, and valid control signals, which indicate the boundaries of the frame and the validity of the samples.

  • start — Indicates the start of the input frame

  • end — Indicates the end of the input frame

  • valid — Indicates that the data on the input data port is valid

For more detail, see Sample Control Bus.

Data Types: bus

Output

expand all

Start of frame, returned as a Boolean scalar. This signal is 1 (true) for one time step, corresponding to the first valid sample of the frame.

Data Types: Boolean

End of frame, returned as a Boolean scalar. This signal is 1 (true) for one time step, corresponding to the last valid sample of the frame.

Data Types: Boolean

Validity of samples, returned as a Boolean scalar. This signal is 1 (true) on time steps that correspond to valid samples.

Data Types: Boolean

Extended Capabilities

Introduced in R2017b