AR# 9712

3.x FPGA Express - ERROR: "Prefix of name can not be interpreted as a subprogram or array. (VSS-568)"

描述

Keywords: FPGA Express, prefix, subprogram, array

Urgency: Standard

General Description:
When I perform a syntax check or synthesize my code, the following error is reported in FPGA Express:

"Prefix of name can not be interpreted as a subprogram or array. (VSS-568)
Error: <path>\<file_name> line <line_number>"

What does this error mean?

解决方案

This error usually indicates that you are attempting to index a single bit or non-indexable variable. Ensure that the variable you are indexing is an std_logic_vector instead of an std_logic.

For example:

signal bus: std_logic;

out <= bus(0);
AR# 9712
日期 08/11/2003
状态 Archive
Type 综合文章