Main

11.1 System Generator for DSP - Auto-generated testbench is unable to find the ".dat" files for ModelSim-based simulation

AR# 32312

Search For Another Answer

Topic SW-SysGen
Last Updated 06/10/2009
Status Active
Description

Keywords: SysGen, mti, .do

When I attempt to run the automatically generated testbench in ModelSim, errors are reported regarding the ".dat" files used during simulation.

Why does this occur?

Solution

This can occur if the model you generated the HDL testbench from was in a different directory than your "current directory" in MATLAB when the HDL Netlist and testbench were generated, and a relative path was used (i.e., ./netlist).

To resolve the problem, open MATLAB to the directory containing the model and regenerate the model without changing to another directory first. Or, change the output directory to a hardcoded path (i.e., C:/my_netlist).

This issue is resolved in System Generator for DSP 11.2.
 
 
/csi/footer.htm