Contenu principal

Cosimulation

R2026b
Run generated HDL code in HDL simulator

When you generate HDL code, you can optionally generate a Simulink® model that includes an HDL Cosimulation block that runs your generated HDL code in an HDL simulator. The model also includes your original Simulink stimulus generation, behavioral model, and blocks that display or analyze output. The model compares the output of the HDL Cosimulation block against the output of the source subsystem.

Functions

makehdltbGenerate HDL test bench from model or subsystem

Model Settings

expand all

Simulation toolSimulator to use to run generated test benches
HDL code coverageEnable HDL code coverage flags in generated simulator scripts
Cosimulation modelGenerate cosimulation model

Topics

Featured Examples