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

5.1i HDL Bencher - "Error[0051]..." is reported when I create a test bench for a VHDL source

Description

Keywords: HDL Bencher, 5.1i, ISE, generic, test bench, VHDL, simulate

Urgency: Standard

General Description:
When I open HDL Bencher to create a test bench for VHDL source code, the following error is reported:

"Error[0051] Expected a value after equal "=" in generic specification. Instead found type specifier:1"

Solution

This error occurs when the VHDL source code contains a generic with a value of "1". As the error message indicates, HDL Bencher considers the 1 to be a type specifier. If this value is changed to 0, 2, or another integer value, HDL Bencher will work successfully.

To work around this problem, specify the generic with a value of "01".
AR# 16257
Date Created 11/27/2002
Last Updated 02/07/2006
Status Archive
Type General Article