UPGRADE YOUR BROWSER

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, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 17644

6.1i/5.2i/5.1i COMPXLIB - When I compile for VCS, an error reports "[V2KS] Verilog 2000 IEEE 1364-2000 syntax used. Please compile with +v2k"

Description

Keywords: 6.1i, 5.2i, 5.1i, COMPXLIB, VCS, Synopsys, CORE Generator, COREGen, XilinxCoreLib, v2ks, +v2k

Urgency: Standard

General Description:
When I compile the Verilog CORE Generator models for VCS, the following errors occur:

"Error-[V2KS] Verilog 2000 IEEE 1364-2000 syntax used. Please compile with +v2k"
1 error is reported.
"Error-[V2KS] Verilog 2000 IEEE 1364-2000 syntax used. Please compile with +v2k"
"Error-[V2KS] Verilog 2000 IEEE 1364-2000 syntax used. Please compile with +v2k"
"Error-[V2KS] Verilog 2000 IEEE 1364-2000 syntax used. Please compile with +v2k"
3 errors are reported.

In the CORE Generator libraries, several components use the Verilog 2001 constructs. This requires the +v2k switch, but COMPXLIB does not include this switch by default.

Solution

1

This problem has been fixed in the latest 6.1i Service Pack, available at:
http://support.xilinx.com/xlnx/xil_sw_updates_home.jsp
The first service pack containing the fix is 6.1i Service Pack 2.

2

6.1i prior to 6.1i Service Pack 2

In the 6.1i version of COMPXLIB, you can add additional compile options by modifying the configuration file. The configuration file is located in the directory in which you ran COMPXLIB, and it will be named "compxlib.cfg". Open this file and add +v2k to the VCS line as illustrated below:

OPTION:vcs:verilog: -Mupdate +v2k

Once this modification is complete, re-run COMPXLIB from the directory containing the configuration file; COMPXLIB will use the new option.

3

5.2i/5.1i

In the 5.1i/5.2i software, COMPXLIB cannot be modified to add the +v2k switch. You must manually compile the files for CORE Generator.

Please see (Xilinx Answer 6330) for information on manually compiling the libraries.
AR# 17644
Date Created 07/21/2003
Last Updated 03/05/2006
Status Archive
Type General Article