If I run simulation in the PlanAhead tool (Behavioral Simulation or Timing Simulation), the following error occurs in the Tcl console:
"ERROR:Simulator:702 - Can not find design unit work.top_tb in library work located at isim/work
ERROR: [Runs-7] Fuse application returned error(s). Please see '<project directory>\top_design.sim\sim_1\fuse.log' file for more details."
What is the problem?
This error occurs because the testbench source is not set up properly in the PlanAhead toolproject. The testbench source is added to the project as "Design Sources" instead of "Simulation Sources". The testbenchtop_tb.vhd is listed under "Design Sources"as shown in the followingscreenshot:
To resolve this problem, select the testbench source file; right-click and choose "Move To Simulation Sources".
For more information about project sources management in the PlanAhead tool, refer to the PlanAhead User Guide.