Check for invalid top level subsystem
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.
Description
This check verifies whether the top-level subsystem is a valid design under test (DUT) for HDL code generation. If the Simulink® model includes an unsupported block as the DUT, such as a For Each Subsystem, BlackBox Subsystem , or Variant Subsystem block, the check displays an error message.
Available with Simulink, HDL Coder™, Fixed-Point Designer™, and MATLAB® Coder™.
Results and Recommended Actions
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
Runs on library models.
Analyzes content in all masked subsystems.
Allows exclusions of blocks and charts.
Analyzes only the functions that the Simulink model directly references.
Does not analyze the content of library linked blocks.
See Also