Data Definition Language (DDL) Reference Manual

SPI Tokens
Data Definition Language (DDL) Reference Manual529431-004
7-26
Standard SPI Definitions in Token-Map Definitions
In Example 7-26 on page 7-26, the field bits-2 cannot have a product version
number because the DDL compiler puts bits-2 in the same byte as bits-3, for
which NOVERSION is specified:
Example 7-26. Incorrect Use of Version Numbers for Bit Fields
DEF bit-ddl-ex-b.
02 bits-8 Type BIT 8.
02 bits-3 Type BIT 3 SPI-NULL 255.
02 bits-2 Type BIT 2.
02 bits-10 Type BIT 10.
02 bits-1 Type BIT 1 SPI-NULL 255.
END.
TOKEN-MAP bit-map-ex-b VALUE 1 DEF bit-ddl-ex-b.
VERSION "C00" FOR bits-8.
NOVERSION FOR bits-3.
VERSION "C10" FOR bits-2.
VERSION "C20" FOR bits-10 THRU bits-1.
END.
*** ERROR *** Inconsistent VERSION within byte - BITS-2