This topic discusses the low-level files generated when you select
HDL Netlist as the
Export Type and click Export in the Model Composer Hub block. The files
consist of HDL that implements the design. In addition, Model Composer organizes the HDL
files, and other hardware files into an AMD Vivado™
IDE
Project. The tool writes these files to the folder <target
directory>/ip/<design_name>/src. <target
directory> is the target directory specified on the Model Composer Hub block. If
you do not request a test bench, Model Composer produces the following key files:
| File Name or Type | Description |
|---|---|
sysgen/<design_name>.vhd/.v
|
This file contains a hierarchical structural netlist along with clock/clock enable controls. |
sysgen/<design_name_entity_declarations>.vhd/.v
|
This file contains the entity of module definitions of HDL blocks in the design. |
hdl_netlist/<design_name>.xpr
|
This file is the Vivado IDE project file that describes all of the attributes of the Vivado IDE design. |
If you request a test bench, then, in addition to the above, Model Composer produces files that allow you to compare simulation results. The comparisons are between Simulink® simulation results and corresponding results from Questa, or any other RTL simulator supported by AMD Vivado™ IDE such as Vivado simulator, or VCS. The additional files are as follows:
| File Name or Type | Description |
|---|---|
| Various .dat files | These contain the simulation results from Simulink. |
sysgen/<design_name>_tb.vhd/.v
|
This is a test bench that wraps the design. When simulated, this test bench compares simulation results from the digital simulator against those produced by Simulink. |