Contenido principal

Model References

R2026b
Reuse models as blocks in other models

A model reference allows you to use a Model block to reference another model, creating a hierarchical structure. Each referenced model has a clearly defined interface that specifies the characteristics of its inputs and outputs. This interface ensures that the referenced model functions independently of its placement within the hierarchy. Model references are especially beneficial to partition a large design into a hierarchy of smaller designs for code reuse, modular development, and accelerated simulation.

Model Settings

Generate VHDL or SystemVerilog code for model references into a single libraryGenerate VHDL or SystemVerilog code in separate libraries
Generate parameterized HDL code from masked subsystemGenerate reusable HDL code for subsystems
Preserve Bus structure in the generated HDL codeGenerate code with VHDL record or SystemVerilog structure types (Since R2022b)
Code reuseSpecify whether to generate a reusable file for subsystems (Since R2022a)

Topics

Featured Examples