Bitstream re-formatting, Cpld code versions, Fpga – Sundance SMT398 User Manual
Page 20: Figure 5: v ii configuration bitstream word format, Considered the msbit as shown, Figure 5: v ii, Configuration bitstream word format

Version 1.2.0
Page 20 of 52
SMT398 User Manual
Byte0 Byte1 Byte2 Byte3
31 24 23 16 15 8 7 0
D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 D27 D28 D29 D30 D31
Figure 5: V II Configuration Bitstream Word Format
As a result, to be able to download the bitstream to the FPGA using Comport3 +
CPLD, the Virtex II configuration bitstream must be re-formatted to match the
Comport word standard.
Bitstream Re-formatting
The re-formatting consists in inverting the bits in a byte and the bytes in a 32-bit
word.
Further, the .bit files contain a header section before the pad word and
synchronization word. The download function FPGAFullConfiguration() from the
searches for the synchronization sequence and skips the header.
CPLD code versions
• V1.0: Initial release that only receives the bitstream and configures the FPGA.
FPGAResetn is
NOT implemented and Comport 3 is NOT released once the
FPGA is configured.
• V2.0 Indicated on a sticker on the CPLD. The CPLD implements the functions
• V2.1 Indicated on a sticker on the CPLD. V2.0 + the CPLD implements the
reconfiguration feature described in
FPGA
The module can be fitted with a XC2V1000, XC2V1500, XC2V2000, XC2V3000,
XC2V4000, XC2V6000 or XC2V8000.
The FPGA comes in two pinout/footprint compatible packages: flip-chip FF896 and
FF1152.
The choice of FPGA will be price/performance driven. The following table shows the
main FPGA characteristics.
The choice of the FPGA also determines which board architecture you will get
(amount of logic available, speed, number and type of I/Os, on-board Memory size
and type). For a complete list of the different board architectures, please consult: 0
Ordering information: