Check for invalid top level subsystem - MATLAB & Simulink (original) (raw)

Main Content

Check ID:com.mathworks.HDL.ModelChecker.runInvalidDUTChecks

Check ID:com.mathworks.HDL.ModelAdvisor.runInvalidDUTChecks

Check for subsystems that cannot be at the top level for HDL code generation.

Available with SimulinkĀ® and HDL Coderā„¢.

Description

This check verifies whether your subsystem is a valid design under test (DUT) for generating HDL code. If you use an invalid block for your DUT, such as anEnabled Subsystem, For Each Subsystem,BlackBox Subsystem, Resettable Subsystem,Triggered Subsystem, or Variant Subsystem block, this check displays an error message.

To fix this check, place the subsystem inside a valid subsystem block and use that block as the DUT. Then rerun the check.

Capabilities and Limitations

See Also