Documentation Home Page RT-XSG Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

SimMux

Block

Block

Mask

Mask

Description

Distinguish input subsystems as simulation only and generation only. The input specified For Simulation will be used during Simulink simulation. The input specified For Generation will be used during code generation. This block will typically be used on the output of an HW Co-Simulation, Black Box, or ModelSim subsystem.

Parameters

This block has two parameters: sim_sel and hw_sel. The parameter sim_sel is the MUX selector and used during simulation, and the parameter hw_sel is the MUX selector used for the implementation (or bitstream generation), both selectors are mapped: upper input is '1', lower input is '2'. This block is using an internal Configurable Subsystem using the set_param(gcb, 'BlockChoice', MUX_sel) (MUX_sel taking values 'sim_sel' or 'hw_sel').

Inputs

This block has two inputs: upper input is the MUX selector position '1' and lower input is the MUX selector position '2'.

Outputs

This block has one output: the output corresponding to the MUX selector position, if MUX selector = '1', output takes input 1 (upper), if the MUX selector = '2', the output takes input 2 (lower).

Characteristics and Limitations

Direct FeedthroughN/A
Discrete sample timeN/A
XHP supportN/A
Work offlineYES

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323