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

Design Assistant for XST Help resolving "HDLCompiler:508: illegal recursive module instantiation of %s" errors

Description

Refer to this Answer Record for help resolving "HDLCompiler:508: illegal recursive module instantiation of %s" errors.

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 error occurs if a module attempts to create an instance of itself within the definition (module/endmodule keyword pair of the module).

WHAT NEXT:

This points to a serious design error. Either rename the parent module, or the instanced module.

EXAMPLE:

Consider the following RTL:

1: module top();
2:
3: top inst_of_top;
4:
5:endmodule

There is an instance of module top within the definition of module top. This can be fixed by changing the module name "top" in either lines 1 or 3.

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
38927 面向 XST 的 Xilinx 解决方案中心 N/A N/A

相关答复记录

Answer Number 问答标题 问题版本 已解决问题的版本
40379 Design Assistant for XST Help understanding the XST report to resolve errors\warnings N/A N/A
AR# 38233
创建日期 09/24/2010
Last Updated 12/15/2012
状态 Active
Type 综合文章