Download Xilinx UG332 Spartan-3 Generation Configuration User Guide

Transcript
R
Spartan-3A/3AN/3A DSP MultiBoot
Each 16-bit command is written as two bytes to the ICAP interface, with the high byte
presented first, followed by the low byte. Note that D0 is the most-significant bit (msb) for
the ICAP interface, which is the opposite direction from most processors.
The sequence in Table 14-3 uses 20 steps, and consequently 20 CLK cycles and 20 memory
locations. The sequence can be shortened to 12 CLK cycles by making the following simple
changes.
Table 14-3:
CLK
Cycle
•
Align the next MultiBoot address to a 16-bit (64K) boundary and pre-assign the
contents of the GENERAL1 register to 0x0000 by setting the
next_config_addr:00000000 bitstream generator option. The next MultiBoot address
is then selectable solely by writing to the GENERAL2 register. This eliminates the four
steps between CLK cycles 3 and 6.
•
Keep the next MultiBoot address within the same PROM. For example, if the FPGA
booted from SPI serial Flash, then jump to the next MultiBoot within the same SPI
Flash. This eliminates the four steps between CLK cycles 11 and 14.
Command Sequence to Initiate MultiBoot to a Specified Address
High or
Low Byte
D0
D1
D2
D3
D4
D5
D6
D7
Hex
High
1
0
1
0
1
0
1
0
0xAA
Low
1
0
0
1
1
0
0
1
0x99
Type 1 Write GENERAL1
(1 Word)
High
0
0
1
1
0
0
1
0
0x32
Low
0
1
1
0
0
0
0
1
0x61
Lower 16 bits of MultiBoot
Address
High
A15
A14
A13
A12
A11
A10
A9
A8
Low
A7
A6
A5
A4
A3
A2
A1
A0
Type 1 Write GENERAL2
(1 Word)
High
0
0
1
1
0
0
1
0
0x32
Low
1
0
0
0
0
0
0
1
0x81
Upper bits of MultiBoot Address
(SPI mode example)
High
C7
C6
C5
C4
C3
C2
C1
C0
Low
A23
A22
A21
A20
A19
A18
A17
A16
High
0
0
1
1
0
0
1
0
0x32
12
Type 1 Write MODE_REG
(1 Word)
Low
1
0
1
0
0
0
0
1
0xA1
13
Reserved
High
0
0
0
0
0
0
0
0
0x00
14
MODE_REG Register
Low
0
NEW_
MODE
15
Type 1 Write CMD
(1 Word)
High
0
0
1
1
0
0
0
0
0x30
Low
1
0
1
0
0
0
0
1
0xA1
High
0
0
0
0
0
0
0
0
0x00
Low
0
0
0
0
1
1
1
0
0x0E
High
0
0
1
0
0
0
0
0
0x20
Low
0
0
0
0
0
0
0
0
0x00
1
2
3
4
5
6
7
8
9
10
11
16
17
18
19
20
Command
SYNC WORD
REBOOT Command
No Op
Spartan-3 Generation Configuration User Guide
UG332 (v1.2) May 23, 2007
www.xilinx.com
BOOTMODE
BOOTVSEL
261