QP RO Fa mily of XC1700D QML Co nfiguration PROMs
DS070 (v2.1) June 1, 2000 www.xilinx.com 3
Product Specification 1-800-255-7778
R
Controlling PROMs
Connecting the FPGA device with the PROM.
•The DATA output(s) of the PROM(s) drives the DIN
input of the l ead FPGA device.
•The Master FPGA CCLK output drives the CLK input(s)
of the PROM(s).
•The CEO output of a PROM dri ves the 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
connection assures that the PROM address counter is
reset before the start of any (re)configuration, even
when a reconfiguration is initiated by a VCC glitch.
Other m ethods —such as driving RESET/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 ei ther 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 m anently tied Low, but this ke eps the DATA
output active and causes an unnecessary supply
current of 10 mA maximum.
FPGA Mast er Serial Mod e Summa ry
The I/O and l ogic f unc tions of the Configurable Logic B lock
(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 th e three FP GA m ode pin s. In Master Ser ial
mode, the FPGA automat ically loads the configuration 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. S yn-
chronization is provided by t he 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 sequenti ally, accessed via the internal address and bit
coun ters which a re incremented on ever y va lid risin g edge
of CCLK.
If the user-programmable, dual-function DIN pin on the
FPGA is used only for configuration, it m ust still be held at a
defined level during normal operation. Xilinx FPGAs take
care of this automatically with an on-chip default pull-up
resistor.
Programming the FPGA With Counters
Unchanged Upon Co mpletion
When multiple FPGA-configurations for a single FPGA are
stored in a PROM, the OE pin should be tied Low. Upon
power-up, t he i nternal ad dress count ers are reset and con-
figuration begins with the first program stored in memory.
Since the OE pi n is h eld Low, the address count ers are l eft
unchanged after configuration is complete. Therefore, to
reprogram the FPGA with another program, the DO NE line
is pulled Low and configuration begins at the last value of
the address counters.
This method f a ils if a user applies RESET duri ng the FPGA
configuration process. The FPGA aborts the configuration
and th en restar ts a new configuration, as i ntended, 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 remaining dat a in the P ROM 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-
cade d PROM s provide additiona l memory. 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 configuration is complete, the address counters of all
cascaded PROMs are reset if the FPGA RESET pin goes
Low, assuming the PROM reset polarity option has been
inverted.
To reprogram the FPGA with another program, the DONE
line g oes Low and c onfiguration begins where the address
counters had stopped. In this case, avoid contention
between DATA and the configured I/O use of DIN.