Main Content

Pixel Control Bus Creator

Create control signal bus for use with Vision HDL Toolbox blocks

  • Pixel Control Bus Creator block

Libraries:
Vision HDL Toolbox / Utilities

Description

The Pixel Control Bus Creator block creates a pixelcontrol bus. See Pixel Control Bus.

The block is an implementation of the Simulink® Bus Creator block. See Bus Creator (Simulink) for more information.

Troubleshooting

When you generate HDL code from a Simulink model that uses the pixelcontrol bus, you might encounter this error.

Cannot resolve variable 'pixelcontrol'
To avoid this issue, use the pixelcontrolbus function to create an instance of the bus type in the base workspace. Then try generating HDL code again.

The Vision HDL Toolbox™ model template includes this line in the InitFcn callback.

evalin('base','pixelcontrolbus')

Ports

Input

expand all

First pixel in a horizontal line of a frame, specified as a Boolean scalar.

Data Types: Boolean

Last pixel in a horizontal line of a frame, specified as a Boolean scalar.

Data Types: Boolean

First pixel in the first (top) line of a frame, specified as a Boolean scalar.

Data Types: Boolean

Last pixel in the last (bottom) line of a frame, specified as a Boolean scalar.

Data Types: Boolean

Valid pixel indicator, specified as a Boolean scalar.

Data Types: Boolean

Output

expand all

The pixelcontrol bus contains five signals. The signals describe the validity of the pixel and its location in the frame. For more information, see Pixel Control Bus.

Data Types: bus

Extended Capabilities

Version History

Introduced in R2015a