UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 32312

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

Description

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.

AR# 32312
Date Created 03/23/2009
Last Updated 05/23/2014
Status Archive
Type General Article