AR# 12934


4.1i HDL Bencher - Selecting "Generate Expected Simulation Result" causes "Exit code 0005"


Keywords: HDL Bencher, Project Navigator, ModelSim, Vsim, user mode

Urgency: Standard

General Description:
An error occurs immediately after I double-click on "Generate Expected Simulation result" in HDL Bencher -- the message "Exit code 0005" appears in the console window.

ModelSim can be loaded from Project Navigator without difficulty, but VSim (the underlying program for "Generate Expected Simulation result") cannot be run.


This error is reported because the default location for VSim does not match the ModelSim default path. If you only have user-level access, Project Navigator cannot write the appropriate path into the registry:


To correct this problem, set the Edit -> Preferences -> Partner Tools location when logged on the machine as an administrator. Once this has been done, the machine can be operated with user privileges, and the vsim.exe will be located correctly.

In the latest 4.1i Service Pack, Project Navigator has been fixed so that it searches for vsim.exe in the same default directory as modelsim.exe.

This service pack is available at:
The first service pack containing the fix is 4.1i Service Pack 3.
AR# 12934
Date 08/11/2003
Status Archive
Type General Article
People Also Viewed