Answers Database
NGD2VER: The PC path is not being interpreted correctly in the 'uselib and 'include statements
Record #1252
Product Family: Software
Product Line: FPGA Implementation
Product Part: ngd2ver
Product Version: 2.1i
Problem Title:
NGD2VER: The PC path is not being interpreted correctly in the 'uselib and 'include
statements
Problem Description:
Urgency: Standard
General Description:
The PC path is not being interpreted correctly in 'uselib and
'include statements written by Ngd2ver.
Solution 1:
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, so
"H:\\xilinx_insall_path\\verilog\\src\\glbl.v" will work correctly.
End of Record #1252 - Last Modified: 06/28/99 11:36 |