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

5.1i XST - "FATAL_ERROR:HDLParsers:vhpnames.c:622:$Id: vhpnames.c,v 1.27 2002/04/04 18:27:59 weilin Exp $:200..."

描述

Keywords: FATAL, ERROR, HDLParsers, VHDL, vhpnames, 610

When I synthesize with XST, the following error occurs:

"FATAL_ERROR:HDLParsers:vhpnames.c:622:$Id: vhpnames.c,v 1.27 2002/04/04 18:27:59 weilin Exp $:200 - INTERNAL ERROR... while parsing C:/top.vhd line ##. Contact your hot line. Process will terminate. To resolve this error, please consult the Answers Database and other online resources at http://support.xilinx.com."

The problem occurs when an alias construct is used to make an array of a slice of a declared signal via generics.

Example

signal temp_reg : bit_vector(size downto 0);
alias temp_inarray : bit_vector(size-1 downto 0) is temp_reg(size-5 downto 0);

解决方案

To work around this issue, replace the generic "size" with an actual number as shown in the following example:

signal temp_reg : bit_vector(size downto 0);
-- alias temp_inarray : bit_vector(size-1 downto 0) is temp_reg(size-5 downto 0);
alias temp_inarray : bit_vector(size-1 downto 0) is temp_reg(11 downto 0);
AR# 15439
日期 12/16/2008
状态 Archive
Type 综合文章
的页面