XC1700E and XC1700L Series Configuration PROMs
4www.xilinx.com DS027 (v3.1) July 5, 2000
1-800-255-7778 Product Specification
R
Controlling PROMs
Connecting the FPGA device with the PROM.
•The DATA output(s) of the of the PROM(s) drives the
DIN input of the lead FPGA device.
•The Master FPGA CCLK output drives the CLK input(s)
of the PROM(s).
•The CEO output of a PROM dr ives th e CE input of the
next PROM in a daisy chain (if any).
•The RESET/OE input of all PROMs is best driven by
the INIT output of the lead FPGA device. This
conne ction assur es that th e PROM address counter is
reset before the start of any (re)configuration, even
when a reconfiguration is initiated by a VCC glitch.
Other me thods—su ch as d r ivin g RES ET /OE from LDC
or system reset—assume the PROM internal
power-on-reset is always in step with the FPGA’s
internal power-on-reset. This may not be a safe
assumption.
•The PROM CE input can be driven from either the LDC
or DONE pins. Using LDC avoids potential contention
on the DIN pin.
•The CE input of the lead (or only) PROM is driven by
the DONE output of the lead FPGA device, provided
that DONE is not permanently grounded. Otherwise,
LDC can be used to drive CE, but must then be
unconditionally High during user operation. CE can
also be per manently tied Low, but this keeps the DATA
output active and causes an unnecessary supply
current of 10 mA maximum.
FPGA Master Serial Mode Summary
The I/O and lo gic fun ctions of the Con figurable Logi c Block
(CLB) and their associated interconnections are established
by a configuration program. The program is loaded either
automatically upon power up, or on command, depending
on the state of the thr ee FP G A mo de p ins. In M aster Se rial
mode, the FP GA auto matic ally lo ads th e con figuration pro-
gram from an external memory. The Xilinx PROMs have
been designed for compatibility with the Master Serial
mode.
Upon power-up or reconfiguration, an FPGA enters the
Master Serial mode whenever all three of the FPGA
mode-select pins are Low (M0=0, M1=0, M2=0). Data is
read from the PROM sequentially on a single data line. Syn-
chronization is provided by the rising edge of the temporary
signal CCLK, which is generated during configuration.
Master Serial Mode provides a simple configuration inter-
face. Only a serial data line and two control lines are
required to configure an FPGA. Data from the PROM is
read sequentially, accessed via the internal address and bit
counter s which are incre mented on eve ry valid r ising edge
of CCLK.
If the user-programmable, dual-function DIN pin on the
FPGA is used only for configuration, it must still be held at a
defined level during normal operation. The Xilinx FPGA
families take care of this automatically with an on-chip
default pull-up resi st or.
Programming the FPGA With Counters
Unchanged Upon Completion
When multiple FPGA-configurations for a single FPGA are
stored in a PROM, the OE pin should be tied Low. Upon
power-up, the inter n al addr ess co unters ar e rese t and con-
figuration begins with the first program stored in memory.
Since the OE pi n i s he ld Low, th e address c oun ters ar e le ft
unchanged after configuration is complete. Therefore, to
reprogram the FPGA with anothe r program, the DONE line
is pulled Low and configuration begins at the last value of
the address counters.
This method fails if a user applies RESET during the FPGA
configuration process. The FPGA aborts the configuration
and then r estar ts a new configuration, as inten ded, but the
PROM does not reset its address counter, since it never
saw a High level on its OE input. The new configuration,
therefore, reads the remaini ng da ta in the PROM and inter-
prets it as preamble, length count etc. Since the FPGA is
the master , it issues the necessary number of CCLK pulses,
up to 16 million (224) and DONE goes High. However, the
FPGA configuration will be completely wrong, with potential
contentions inside the FPGA and on its output pins. This
method must, therefore, never be used when there is any
chance of external reset during configuration.
Cascading Configuration PROMs
For multiple FPGAs configured as a daisy-chain, or for
future FPGAs requiring larger configuration memories, cas-
caded P ROMs provide a dditional memo r y. After the last bit
from the first PROM is read, the next clock signal to the
PROM asserts its CEO output Low and disables its DATA
line. The second PROM recognizes the Low level on its CE
input and enables its DATA output. See Figure 2.
After c onfiguration is complete, the a ddress coun ters of all
cascaded PROMs are reset if the FPGA RESET pin goes
Low, assuming the PROM reset polarity option has been
inv erted.
To reprogram the FPGA with another program, the DONE
line goes Low and co nfiguration begins where the address
counters had stopped. In this case, avoid contention
between DATA and the configured I/O use of DIN.