
MachXO2 Programming and Configuration Usage Guide
41
An example of a MachXO2 unencrypted JEDEC file is shown in
Link Field
L0000000
101011…100011
…………………..
111111…101100
110
101011…100011
…………………..
111111…101100
110
……..
……..
101011…100011
…………………..
111111…101100
110*
NOTE SED_CRC*
L3627704
111111….111111*
CC1B9
The keyword L identifies the first fuse address of the fuse pattern that fol-
lows after the white space. The number of digit shown following the L key-
word must be the same as that on the QF field. In this example,
QF3627736 has seven digits, thus L0000000 should have seven zeros.
The fuse address traditionally starts counting from 0.
The link field is the most critical portion of the JEDEC file where the pro-
gramming pattern is stored. The programming data is written into this field
in the manner mirroring exactly the fuse array layout of the silicon physi-
cally.
Row address is written from top to bottom in ascending order:
Top = Row 0, Bottom = Last Row.
The column address is written from left to right in ascending order:
Left most = bit 0, Right most = last bit.
Row 0 is selected first by the INIT_ADDRESS command. The first bit to
shift into the device is bit 0 for programming. The first to shift out from the
device is also bit 0 when verify.
The end of the Configuration Flash data is marked by “NOTE END CON-
FIG DATA*”. It is not necessary to program any page data containing all ‘0’
values.
UFM pages, if present in the JEDEC, are preceded by a “NOTE TAG
DATA*” line.
If the JEDEC file is encrypted, all the data in the link field are encrypted.
The column size will increase accordingly to include filler bits to make the
column size packet (128-bit, or 16 bytes, per packet) bounded.
Fuse Checksum
CC1B9
The checksum of all the fuses = Fuse count. The fuse state of all the fuses
can be found from the Link field. If it is not specified in the link field, then
use the Default Fuse State in their places.
U Field
UA Home
This is the place to store the 32-bit USERCODE. The 32-bit USERCODE
can be expressed in UA = ASCII, UH = ASCII Hex, U = Binary. Lattice
enhanced this field for storing the CRC value of encrypted JEDEC
2
.
E Field
EH 012..ABCDEF
JEDEC standard defines this field to hold the architecture fuses. Lattice
uses this field to store the Feature Row and FEABITS. The Feature Row
data is on the first line. The FEABITS values are on line 2.
End-of-text
^C
^C (CTLC) marks the ending of the JEDEC file.
Transmission Checksum
ABCD
This is the checksum of the whole file starting from ^B to ^C. All characters
and white space, including the ^B and ^C, are included in the checksum
calculation.
1. For encrypted JEDEC file, the first sixteen (16) bits of USERCODE is the CRC value calculated from of the row 0 only; the second sixteen
(16) bits is the CRC value calculated from row 0 to the last row.
Table 21. MachXO2 JEDEC File Format (Continued)
JEDEC Field
Syntax
Description