Data Definition Language (DDL) Reference Manual
SPI Tokens
Data Definition Language (DDL) Reference Manual—529431-004
7-22
Standard SPI Definitions in Token-Map Definitions
Example 7-22. Specifying Product Version Numbers for Bit Fields
DEF bits-layout-x.
02 x-1 Type BIT 5.
02 x-filler Type BIT 3.
02 x-2 Type BIT 7.
END
TOKEN-MAP map-bits-x VALUE is 1 DEF is bits-layout-x.
VERSION "D40" FOR x-1 THRU x-2.
END
DEF bits-layout-y.
02 y-1 Type BIT 4.
02 y-2 Type BIT 8.
02 y-3 Type BIT 6.
END
TOKEN-MAP map-bits-y VALUE is 32740 DEF is bits-layout-y.
VERSION 10000 FOR y-1 THRU y-2.
VERSION 15000 FOR y-3.
END.
DEF bit-ddl-ex-a.
02 bits-8 Type BIT 8.
02 bits-3 Type BIT 3.
02 bits-2 Type BIT 2.
02 bits-10 Type BIT 10.
02 bits-1 Type BIT 1.
END.
TOKEN-MAP bit-map-ex-a VALUE 1 DEF bit-ddl-ex-a.
VERSION "D20" FOR bits-8.
VERSION "D30" FOR bits-3 THRU bits-2.
VERSION "D40" FOR bits-10 THRU bits-1.
END.
DEF bit-ddl-ex-c.
02 char-3 Type CHARACTER 3 SPI-NULL 255.
02 bits-8 Type BIT 8.
02 bits-3 Type BIT 3.
02 FILLER Type BIT 10.
02 bits-2 Type BIT 2.
02 bits-5 Type BIT 5.
02 FILLER Type BIT 4.
02 bits-4 Type BIT 4.
02 bits-7 Type BIT 7.
END.
TOKEN-MAP bit-map-ex-c VALUE 111 DEF bit-ddl-ex-c.
VERSION "C00" FOR char-3 THRU bits-3.
VERSION "C10" FOR bits-2.
VERSION "C20" FOR bits-5 THRU bits-4.
NOVERSION FOR bits-7.
END.