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

Design Assistant for XST – Help resolving a "HDLCompiler:114 - "%s" Line #: /* in comment" warning

Description

Refer to this Answer Record for help resolving a "HDLCompiler:114 - "%s" Line #: /* in comment " warning

Note: This Answer Record is a part of the Xilinx Solution Center for XST (Xilinx Answer 38927). The Xilinx Solution Center for XST is available to address all questions related to XST. Whether you are starting a new design or troubleshooting a problem, use the Solution Center for XST to guide you to the right information.

Solution

This message appears when there is an attempt to nest a block comment (which starts with /*) within another block comment in Verilog. This is in violation of Section 2.2 of the Verilog LRM.

WHAT NEXT:

Remove the nested block comment from the surrounding block comment, and re-run XST

EXAMPLE:

Consider the following RTL

 /* Copyright 1971 ReallyOldCompany 
 /* Author: Foo Bar
  * This RTL contains the top level module
  * It instantiates all other submodules */
 ... 

Clearly, line 2 of the above RTL is an attempt to nest a block comment within the larger block comment. Removing the line containing the start of the nested block comment, or changing the /* to * will solve the problem

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
40379 Design Assistant for XST Help understanding the XST report to resolve errors\warnings N/A N/A
AR# 37596
Date Created 08/23/2010
Last Updated 05/26/2014
Status Archive
Type General Article
Tools
  • ISE Design Suite - 11.1
  • ISE Design Suite - 11.2
  • ISE Design Suite - 11.3
  • More
  • ISE Design Suite - 11.4
  • ISE Design Suite - 11.5
  • ISE Design Suite - 12.1
  • ISE Design Suite - 12.2
  • ISE Design Suite - 12.3
  • Less