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# 1252

NGD2VER 2.1i - The PC path is not being interpreted correctly in the 'uselib and 'include statements.

Description

Keywords: NGD2VER, Verilog, escaped

Urgency: Standard

General Description:
The PC path is not being interpreted correctly in the 'uselib and 'include statements
written by NGD2VER.

Solution

The path being used by the `include and 'uselib directives is a string literal. In the
Verilog LRM, string literals can contain special characters that are escaped with
the "\" (see section 2.6.3 of the LRM).

To use a "\" in a string like this, you need to escape it;
"H:\\xilinx_insall_path\\verilog\\src\\glbl.v" will work correctly.
AR# 1252
Date Created 08/31/2007
Last Updated 07/31/2001
Status Archive
Type ??????