![]() |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|
![]() |
![]() |
Answers Database
NC-VERILOG: How to compile the 2.1 Verilog Simprims, LogiBLOX, Unisims, and Coregen libraries?![]() Record #2554
Product Family: Software Edit $CDS_INST_DIR/share/local/xilinx/cds.lib to includeDEFINE simprims_ver <compile_dir>/simprims_ver DEFINE uni3000 <compile_dir>/uni3000 DEFINE unisims_ver <compile_dir>/unisims_ver DEFINE uni5200 <compile_dir>/uni5200 DEFINE uni9000 <compile_dir>/uni9000DEFINE xilinxcorelib_ver <compile_dir>/xilinxcorelib_ver 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 Edit $CDS_INST_DIR/share/local/xilinx/hdl.var SOFTINCLUDE $CDS_INST_DIR/tools/inca/files/hdl.varDEFINE LIB_MAP ( $LIB_MAP, \ <compile_dir>/simprims_ver => simprims_ver, \ <compile_dir>/uni3000 => uni3000, \ <compile_dir>/unisims_ver => unisims_ver, \ <compile_dir>/uni5200 => uni5200, \ <compile_dir>/uni9000 => uni9000, \ Depending on the family that you're simulating, you must edit the hdl.var file to correctly list the search order of the simulation libraries. Step 3> Parse and analyze the Xilinx simulation libraries using ncvlog. SIMPRIMS: ncvlog -messages -work simprims_ver $XILINX/verilog/src/simprims/*.v UNISIMS: ncvlog -messages -work uni3000 $XILINX/verilog/src/uni3000/*.v ncvlog -messages -work unisims_ver $XILINX/verilog/src/unisims/*.v ncvlog -messages -work uni5200 $XILINX/verilog/src/uni5200/*.v ncvlog -messages -work uni9000 $XILINX/verilog/src/uni9000/*.v COREGEN: Please see (Xilinx Solution 7859) for instructions on extracting this library. ncvlog -messages -work xilinxcorelib_ver ./XilinxCoreLib End of Record #2554 - Last Modified: 11/12/99 17:07 |
For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips! |