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

4.2 ECS - "Error: Invalid BlockDef statement: version"/" Error: Invalid Block statement: version"

Description

Keywords: ECS, Open Error, Syntax Error, version, BlockDef, Block

Urgency: Standard

General Description:
I cannot open a schematic that includes a component named "version" in ECS. If I select the "MORE>>" button, messages similar to the following are displayed:

"u43.sch, Line 635: Error: Syntax error: syntax error"
"u43.sch, Line 634: Error: Invalid BlockDef statement: version"
"u43.sch, Line 999: Error: Syntax error: syntax error"
"u43.sch, Line 998: Error: Invalid Block statement: version"

Solution

ECS schematics are saved in a text format. In this format, "version" is a keyword and cannot be used as an identifier. You may fix the schematic by opening it in a text editor and deleting the lines listed in the error, up to and including their respective "END" statements.

Here is an example excerpt from a schematic that exhibits this error. (The line numbers have been prepended to illustrate the relationship between the error message and the contents of the file.) These lines must be deleted:

634 BEGIN BLOCKDEF version
635 TIMESTAMP 2002 5 8 16 37 18
636 RECTANGLE N 64 -64 320 0
637 LINE N 320 -32 384 -32
638 RECTANGLE N 320 -44 384 -20
639 END BLOCKDEF

998 BEGIN BLOCK XLXI_95 version
999 PIN C(7:0) VERSION(7:0)
1000 END BLOCK

After you open the schematic, recreate the component symbol with a new name and add this back to the schematic.
AR# 14786
Date Created 05/30/2002
Last Updated 08/12/2003
Status Archive
Type General Article