AR# 37596


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


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.


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.


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


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 05/26/2014
Status Archive
Type General Article
Tools More Less
People Also Viewed