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!

Page Bookmarked

AR# 9110

3.1i Foundation ISE: Error in Modelsim: Could not find work.testbench


Keywords: MTI, error, testbench

Urgency: Standard

General Description:
When starting a simulation from a test bench, Project Navigator starts
the simulation using the following command line:

vsim -L <library_name> work.testbench

where testbench is the top level entity name. If your entity name is not
testbench, MTI issues the error:

Error: Could not find work.testbench
Error loading design


The name of the top most entity can be changed in Project Navigator by
selecting the test bench source file, then right clicking on the simulation
process. This opens the Process Properties dialog where you can change
the "Design Unit Name" to match your top most entity name.
AR# 9110
Date 01/16/2003
Status Archive
Type General Article