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,
Internet Explorer 11,
Safari. Thank you!
AR# 4873: NC-VERILOG: How to compile the 1.5 Verilog Simprims, LogiBLOX, Unisims, and Coregen libraries?
NC-VERILOG: How to compile the 1.5 Verilog Simprims, LogiBLOX, Unisims, and Coregen libraries?
Keywords: simprims, unisims, Verilog
General Description: The Xilinx Alliance software contains 2 types of Verilog simulation libraries and Coregen conatins one:
SIMPRIMS - Library of generic simulation primitives Used for simulating LogiBLOX and post-Ngdbuild netlists UNISIMS - Library of Unified component simulation models (A1.4+) Used for RTL and post-synthesis simulation containing Xilinx primities
To perform timing or post-synthesis functional HDL simulation in the Alliance software, the Verilog Simprim models must be compiled for use in the NC Verilog simulator. If instantiated LogiBLOX and/or Unified library components are to be behaviorally simulated, the LogiBLOX and/or UNISIM libraries must be compiled, as well.
Step 1 ------ Create a library definitions file named cds.lib. The cds.lib file defines which libraries are accessible and where they are located. The file contains statements that map logical library names to their physical directory paths.
Cadence provides an utility, called 'nclaunch' to setup the necessary initialization files, and to compile the Verilog source libraries. Nclaunch is available as part of the 2.1 and later releases. Otherwise, this is a manual process. The cds.lib can be created with any texteditor. The physical locations to the logical names must also be created before preceding to the next step. Use the UNIX command mkdir. For example,
mkdir -p $XILINX/verilog/data/nc_verilog/simprims
If you want the logical library names to be available for all designs, use INCLUDE or SOFTINCLUDE to the location of your master cds.lib file.
EX: INCLUDE $CDS_INST_DIR/share/local/xilinx/cds.lib
Edit $CDS_INST_DIR/share/local/xilinx/cds.lib to include
Step 2 ------ Create a configuration variables file called hdl.var. The hdl.var file defines variables that determine how the user environment is configured. The variable (LIB_MAP, VIEW_MAP, WORK) are used to specify the search order of the libraries and views when the elaborator resolves instances.
If you want the variable settings to be available for all designs, use INCLUDE or SOFTINCLUDE to the location of your master hdl.var file.
EX: INCLUDE $CDS_INST_DIR/share/local/xilinx/hdl.var