Main Content

pixelcontrolbus

Create pixel-streaming control bus instance

Description

pixelcontrolbus declares a bus instance in the workspace. This instance is required for HDL code generation. Call this function before you generate HDL code from Vision HDL Toolbox™ blocks.

Examples

collapse all

  • In the InitFcn callback function of your Simulink® model, include this line to declare a bus instance in the base workspace. If you create your model with the Vision HDL Toolbox model template, this is done for you.

    evalin('base','pixelcontrolbus')

    If you do not declare an instance of pixelcontrolbus in the base workspace, you might encounter this error when you generate HDL code in Simulink.

    Cannot resolve variable 'pixelcontrol'

Version History

Introduced in R2015a