Frequently Asked Questions
MentorGraphic Modelsim
1) How to add a missing library?
2) How to remove "recompile" error?
Project Navigator
1) How to select a wire segment instead of the whole net during schematic capture?
2) How to configure the path setting for modelsim in project navigator?
MentorGraphic ModelSim
1) How to add a missing library?
When a non-default library is used before it is added in your "Workspace", "Failed to access library ***" will be reported, as is shown in the following figure.

We can add the missing library into the Workspace by doing the following steps:
-- Right click your mouse inside "Workspace" and then choose "New" & "Library" from the menu.

-- Select "a map to an existing library" and click "Browse" to find the physical location of the missing library.

-- All verilog libraries for Xilinx FPGA (e.g. "XinlinxCoreLib_ver", "unisims_ver", "simprims_ver" & "cpld_ver") are located under "C:/Modeltech_6.1f/xilinx/verilog" directory. All VHDL libraries for Xilinx FPGA (e.g. "XinlinxCoreLib", "unisims", "simprims" & "cpld") are locacted under "C:/Modeltech_6.1f/xilinx/vhdl" directory. In this example, we choose the library -- "xilinxcorelib_ver".
6.1f 6.1f

-- Type in or copy-paste the "Library Name" which is exactly the same name as the library file name.

-- Then new added library will be displayed inside "Workspace".

--Close ModelSim and re-launch it.
2) How to remove "recompile" error?
-- When the "recompile" error occurs after you add some libraries, please "Reflesh" those new added libraries to remove the error.


Project Navigator
1) How to select a wire segment instead of the whole net during schematic capture?
-- First, choose "Select the line segment" in "Options". Then left click mouse to select the desired wire segment.


2) How to configure the path setting for modelsim in project navigator?
-- First, go to the Edit Menu then select Preference ...
-- Choose ISE general\Integrated Tools
after the Preference dialog shows up.
-- Type in the following path where the modelsim executalbe locates,
c:\Program Files\modeltech_6.4\win32\modelsim.exe
-- Then click OK button to make the path setting take effect.
Happy 4200ing!!!