EPM240 Datasheet
EPM240 Datasheet
EPM240 Datasheet
www.Jameco.com ✦ 1-800-831-4242
The content and copyrights of the attached
material are the property of its owner.
This section provides designers with the data sheet specifications for
MAX® II devices. The chapters contain feature definitions of the internal
architecture, Joint Test Action Group (JTAG) and in-system
programmability (ISP) information, DC operating conditions, AC timing
parameters, and ordering information for MAX II devices.
■ Chapter 1. Introduction
Revision History Refer to each chapter for its own specific revision history. For information
on when each chapter was updated, refer to the Chapter Revision Dates
section, which appears in the complete handbook.
MII51001-1.6
The following shows the main sections of the MAX II CPLD Family Data
Sheet:
Section Page
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
MAX II devices are available in three speed grades: -3, -4, -5 with -3 being
the fastest. These speed grades represent overall relative performance,
not any specific timing parameter. For propagation delay timing numbers
within each speed grade and density, see the chapter on DC & Switching
Characteristics. Table 1–2 shows MAX II device speed-grade offerings.
Speed Grade
Device
-3 -4 -5
EPM240 v v v
EPM570 v v v
EPM1270 v v v
EPM2210 v v v
100-Pin 256-Pin
100-Pin 256-Pin 324-Pin
Micro 100-Pin 144-Pin Micro
Device FineLine FineLine FineLine
FineLine TQFP TQFP FineLine
BGA (1) BGA BGA
BGA (1) BGA (1)
EPM240 80 80 80
EPM570 76 76 76 116 160 160
EPM1270 116 212 212
EPM2210 204 272
Table 1–4. MAX II TQFP, FineLine BGA, & Micro FineLine BGA Package Sizes
100-Pin 256-Pin
100-Pin 256-Pin 324-Pin
Micro 100-Pin 144-Pin Micro
Package FineLine FineLine FineLine
FineLine TQFP TQFP FineLine
BGA BGA BGA
BGA BGA
Pitch (mm) 0.5 1 0.5 0.5 0.5 1 1
Area (mm2) 36 121 256 484 121 289 361
Length x width 6X6 11 X 11 16 × 16 22 × 22 11 X 11 17 × 17 19 × 19
(mm x mm)
EPM240G
EPM240
EPM570G
EPM570
Devices EPM1270G
EPM1270
EPM2210G
EPM2210
(1)
MultiVolt core external 3.3 V, 2.5 V 1.8 V
supply voltage (VCCINT)
(2)
MultiVolt I/O interface 1.5 V, 1.8 V, 2.5 V, 3.3 V 1.5 V, 1.8 V, 2.5 V, 3.3 V
voltage levels (VCCIO)
Document Table 1–6 shows the revision history for this document.
Revision History
Date &
Document Changes Made Summary of Changes
Version
December 2006 Added document revision history.
v1.6
August 2006 Minor update to features list.
v1.5
July 2006 v1.4 Minor updates to tables.
June 2005 v1.3 Updated timing numbers in Table 1-1.
December 2004 Updated timing numbers in Table 1-1.
v1.2
June 2004 v1.1 Updated timing numbers in Table 1-1.
MII51002-1.7
The logic array consists of LABs, with 10 logic elements (LEs) in each
LAB. An LE is a small unit of logic providing efficient implementation of
user logic functions. LABs are grouped into rows and columns across the
device. The MultiTrack™ interconnect provides fast granular timing
delays between LABs. The fast routing between LEs provides minimum
timing delay for added levels of logic versus globally routed interconnect
structures.
The MAX II device I/O pins are fed by an I/O element (IOE) located at
the ends of LAB rows and columns around the periphery of the device.
Each IOE contains a bidirectional I/O buffer with several advanced
features. I/O pins support Schmitt trigger inputs and various
single-ended standards, such as 66-MHz, 32-bit PCI and LVTTL.
MAX II devices provide a global clock network. The global clock network
consists of four global clock lines that drive throughout the entire device,
providing clocks for all resources within the device. The global clock lines
can also be used for control signals such as clear, preset, or output enable.
MultiTrack
Interconnect
Logic Logic Logic
IOE
Element Element Element
MultiTrack
Interconnect
Each MAX II device contains a flash memory block within its floorplan.
On the EPM240 device, this block is located on the left side of the device.
For the EPM570, EPM1270, and EPM2210 devices, the flash memory
block is located on the bottom-left area of the device. The majority of this
flash memory storage is partitioned as the dedicated configuration flash
memory (CFM) block. The CFM block provides the non-volatile storage
for all of the SRAM configuration information. The CFM automatically
downloads and configures the logic and I/O at power-up providing
instant-on operation.
f See Hot Socketing & Power-On Reset in MAX II Devices for more
information on configuration upon power-up.
Table 2–1 shows the number of LAB rows and columns in each device as
well as the number of LAB rows and columns adjacent to the flash
memory area in the EPM570, EPM1270, and EPM2210 devices. The long
LAB rows are full LAB rows that extend from one side of row I/O blocks
to the other. The short LAB rows are adjacent to the UFM block; their
length is shown as width in LAB columns.
LAB Rows
Devices UFM Blocks LAB Columns Short LAB Rows Total LABs
Long LAB Rows
(Width) (1)
EPM240 1 6 4 - 24
EPM570 1 12 4 3 (3) 57
EPM1270 1 16 7 3 (5) 127
EPM2210 1 20 10 3 (7) 221
I/O Blocks
2 GCLK 2 GCLK
Inputs Inputs
I/O Blocks
UFM Block
CFM Block
Note to Figure 2–2:
(1) The device shown is an EPM570 device. EPM1270 and EPM2210 devices have a similar floorplan with more LABs.
For the EPM240 devices, the CFM and UFM block is rotated left 90 degrees covering the left side of the device.
Logic Array Each LAB consists of 10 LEs, LE carry chains, LAB control signals, a local
interconnect, a look-up table (LUT) chain, and register chain connection
Blocks lines. There are 26 possible unique inputs into an LAB, with an additional
10 local feedback input lines fed by LE outputs in the same LAB. The local
interconnect transfers signals between LEs in the same LAB. LUT chain
connections transfer the output of one LE’s LUT to the adjacent LE for fast
sequential LUT connections within the same LAB. Register chain
connections transfer the output of one LE’s register to the adjacent LE’s
register within an LAB. The Quartus® II software places associated logic
within an LAB or adjacent LABs, allowing the use of local, LUT chain,
and register chain connections for performance and area efficiency.
Figure 2–3 shows the MAX II LAB.
Row Interconnect
Column Interconnect
LE0
Fast I/O Connection Fast I/O connection
to IOE (1) LE1 to IOE (1)
LE2 DirectLink
DirectLink interconnect from
interconnect from LE3 adjacent LAB
adjacent LAB or IOE
or IOE LE4
LE5
LE6
DirectLink DirectLink
interconnect to LE7 interconnect to
adjacent LAB adjacent LAB
or IOE LE8 or IOE
LE9
Logic Element
LAB Local Interconnect
LAB Interconnects
The LAB local interconnect can drive LEs within the same LAB. The LAB
local interconnect is driven by column and row interconnects and LE
outputs within the same LAB. Neighboring LABs, from the left and right
can also drive an LAB’s local interconnect through the DirectLink
connection. The DirectLink connection feature minimizes the use of row
and column interconnects, providing higher performance and flexibility.
Each LE can drive 30 other LEs through fast local and DirectLink
interconnects. Figure 2–4 shows the DirectLink connection.
LE0
LE1
LE2
LE3
LE4
LE5
DirectLink DirectLink
interconnect LE6 interconnect
to left to right
LE7
Local
Interconnect
LE8
LE9
Logic Element
LAB
Each LAB can use two clocks and two clock enable signals. Each LAB’s
clock and clock enable signals are linked. For example, any LE in a
particular LAB using the labclk1 signal also uses labclkena1. If the
LAB uses both the rising and falling edges of a clock, it also uses both
LAB-wide clock signals. De-asserting the clock enable signal turns off the
LAB-wide clock.
Each LAB can use two asynchronous clear signals and an asynchronous
load /preset signal. By default, the Quartus II software uses a NOT gate
push-back technique to achieve preset. If you disable the NOT gate
push-back option or assign a given register to power-up high using the
Quartus II software, the preset is then achieved using the asynchronous
load signal with asynchronous load data input tied high.
The LAB column clocks [3..0], driven by the global clock network, and
LAB local interconnect generate the LAB-wide control signals. The
MultiTrackTM interconnect structure drives the LAB local interconnect for
non-global control signal generation. The MultiTrack interconnect’s
inherent low skew allows clock and control signal distribution in
addition to data. Figure 2–5 shows the LAB control signal generation
circuit.
Local
Interconnect
Local
Interconnect
Local
Interconnect
Local
Interconnect
Local
Interconnect labclkena1 labclkena2 syncload labclr2 addnsub
Local
labclk1 labclk2 asyncload labclr1 synclr
Interconnect
or labpre
Logic Elements The smallest unit of logic in the MAX II architecture, the LE, is compact
and provides advanced features with efficient logic utilization. Each LE
contains a four-input LUT, which is a function generator that can
implement any function of four variables. In addition, each LE contains a
programmable register and carry chain with carry select capability. A
single LE also supports dynamic single bit addition or subtraction mode
selectable by an LAB-wide control signal. Each LE drives all types of
interconnects: local, row, column, LUT chain, register chain, and
DirectLink interconnects. See Figure 2–6.
labclkena1
labclkena2
Carry-Out0
Carry-Out1
LAB Carry-Out
asynchronous load data input comes from the data3 input of the LE. For
combinational functions, the LUT output bypasses the register and drives
directly to the LE outputs.
Each LE has three outputs that drive the local, row, and column routing
resources. The LUT or register output can drive these three outputs
independently. Two LE outputs drive column or row and DirectLink
routing connections and one drives local interconnect resources. This
allows the LUT to drive one output while the register drives another
output. This register packing feature improves device utilization because
the device can use the register and the LUT for unrelated functions.
Another special packing mode allows the register output to feed back into
the LUT of the same LE so that the register is packed with its own fan-out
LUT. This provides another mechanism for improved fitting. The LE can
also drive out registered and unregistered versions of the LUT output.
addnsub Signal
The LE’s dynamic adder/subtractor feature saves logic resources by
using one set of LEs to implement both an adder and a subtractor. This
feature is controlled by the LAB-wide control signal addnsub. The
addnsub signal sets the LAB to perform either A + B or A – B. The LUT
computes addition; subtraction is computed by adding the two’s
complement of the intended subtractor. The LAB-wide signal converts to
two’s complement by inverting the B bits within the LAB and setting
carry-in to 1, which adds one to the least significant bit (LSB). The LSB of
an adder/subtractor must be placed in the first LE of the LAB, where the
LAB-wide addnsub signal automatically sets the carry-in to 1. The
Quartus II Compiler automatically places and uses the adder/subtractor
feature when using adder/subtractor parameterized functions.
LE Operating Modes
The MAX II LE can operate in one of the following modes:
■ Normal mode
■ Dynamic arithmetic mode
Normal Mode
The normal mode is suitable for general logic applications and
combinational functions. In normal mode, four data inputs from the LAB
local interconnect are inputs to a four-input LUT (see Figure 2–7). The
Quartus II Compiler automatically selects the carry-in or the data3
signal as one of the inputs to the LUT. Each LE can use LUT chain
connections to drive its combinational output directly to the next LE in
the LAB. Asynchronous load data for the register comes from the data3
input of the LE. LEs in normal mode support packed registers.
Register chain
connection
Register
Register Feedback
chain output
or
The other two LUTs use the data1 and data2 signals to generate two
possible carry-out signals: one for a carry of 1 and the other for a carry of
0. The carry-in0 signal acts as the carry select for the carry-out0
output and carry-in1 acts as the carry select for the carry-out1
output. LEs in arithmetic mode can drive out registered and unregistered
versions of the LUT output.
The dynamic arithmetic mode also offers clock enable, counter enable,
synchronous up/down control, synchronous clear, synchronous load,
and dynamic adder/subtractor options. The LAB local interconnect data
inputs generate the counter enable and synchronous up/down control
signals. The synchronous clear and synchronous load options are
LAB-wide signals that affect all registers in the LAB. The Quartus II
software automatically places any registers that are not used by the
counter into other LABs. The addnsub LAB-wide signal controls
whether the LE acts as an adder or subtractor.
data1 ALD/PRE
LUT
data2 ADATA Q Row, column, and
data3 D direct link routing
Register Feedback
Carry-Out0 Carry-Out1
Carry-Select Chain
The carry-select chain provides a very fast carry-select function between
LEs in dynamic arithmetic mode. The carry-select chain uses the
redundant carry calculation to increase the speed of carry functions. The
LE is configured to calculate outputs for a possible carry-in of 0 and
carry-in of 1 in parallel. The carry-in0 and carry-in1 signals from a
lower-order bit feed forward into the higher-order bit via the parallel
carry chain and feed into both the LUT and the next portion of the carry
chain. Carry-select chains can begin in any LE within an LAB.
Figure 2–9 shows the carry-select circuitry in an LAB for a 10-bit full
adder. One portion of the LUT generates the sum of two bits using the
input signals and the appropriate carry-in bit; the sum is routed to the
output of the LE. The register can be bypassed for simple adders or used
for accumulator functions. Another portion of the LUT generates
carry-out bits. An LAB-wide carry-in bit selects which chain is used for
the addition of given inputs. The carry-in signal for each chain,
carry-in0 or carry-in1, selects the carry-out to carry forward to the
carry-in signal of the next-higher-order bit. The final carry-out signal is
routed to an LE, where it is fed to local, row, or column interconnects.
LAB Carry-In
0 1
LAB Carry-In
A1 Sum1
LE0
B1 Carry-In0
Carry-In1
A2 Sum2
LE1 LUT
B2
data1 Sum
Sum3 data2
A3 LE2 LUT
B3
A4 Sum4 LUT
LE3
B4
A5 Sum5 LUT
LE4
B5
0 1
A7 Sum7
LE6
B7
A8 Sum8
LE7
B8
A9 Sum9
LE8
B9
A10 Sum10
LE9
B10
MultiTrack In the MAX II architecture, connections between LEs, the UFM, and
device I/O pins are provided by the MultiTrack interconnect structure.
Interconnect The MultiTrack interconnect consists of continuous, performance-
optimized routing lines used for inter- and intra-design block
connectivity. The Quartus II Compiler automatically places critical
design paths on faster interconnects to improve design performance.
The R4 interconnects span four LABs and are used for fast row
connections in a four-LAB region. Every LAB has its own set of R4
interconnects to drive either left or right. Figure 2–10 shows R4
interconnect connections from an LAB. R4 interconnects can drive and be
driven by row IOEs. For LAB interfacing, a primary LAB or horizontal
LAB neighbor can drive a given R4 interconnect. For R4 interconnects
that drive to the right, the primary LAB and right neighbor can drive on
to the interconnect. For R4 interconnects that drive to the left, the primary
LAB and its left neighbor can drive on to the interconnect. R4
interconnects can drive other R4 interconnects to extend the range of
LABs they can drive. R4 interconnects can also drive C4 interconnects for
connections from one row to another.
R4 Interconnect
Driving Left
Local LE2
Interconnect
LE3
LE4
LE5
LE6
LE7
LE8
LE9
C4 Interconnect
Drives Local and R4
Interconnects
Up to Four Rows
C4 Interconnect
Driving Up
LAB
Row
Interconnect
Local
Interconnect
C4 Interconnect
Driving Down
The UFM block communicates with the logic array similar to LAB-to-LAB
interfaces. The UFM block connects to row and column interconnects and
has local interconnect regions driven by row and column interconnects.
This block also has DirectLink interconnects for fast connections to and
from a neighboring LAB. For more information on the UFM interface to
the logic array, see “User Flash Memory Block” on page 2–23.
Source Destination
Global Signals Each MAX II device has four dual-purpose dedicated clock pins
(GCLK[3..0], two pins on the left side and two pins on the right side)
that drive the global clock network for clocking, as shown in Figure 2–13.
These four pins can also be used as general-purpose I/O if they are not
used to drive the global clock network.
The four global clock lines in the global clock network drive throughout
the entire device. The global clock network can provide clocks for all
resources within the device including LEs, LAB local interconnect, IOEs,
and the UFM block. The global clock lines can also be used for global
The global clock network drives to individual LAB column signals, LAB
column clocks [3..0], that span an entire LAB column from the top to
bottom of the device. Unused global clocks or control signals in a LAB
column are turned off at the LAB column clock buffers shown in
Figure 2–14. The LAB column clocks [3..0] are multiplexed down to two
LAB clock signals and one LAB clear signal. Other control signal types
route from the global clock network into the LAB local interconnect. See
“LAB Control Signals” on page 2–6 for more information.
LAB Column
I/O Block Region
clock[3..0]
4 4 4 4 4 4 4 4
LAB Column
clock[3..0]
User Flash MAX II devices feature a single UFM block, which can be used like a
serial EEPROM for storing non-volatile information up to 8,192 bits. The
Memory Block UFM block connects to the logic array through the MultiTrack
interconnect, allowing any LE to interface to the UFM block. Figure 2–15
shows the UFM block and interface signals. The logic array is used to
create customer interface or protocol logic to interface the UFM block
data outside of the device. The UFM block offers the following features:
UFM Block
OSC _: 4
OSC_ENA OSC
9 UFM Sector 1
ARCLK
UFM Sector 0
Address
Register
16 16
ARSHFT
ARDin
DRCLK
DRSHFT
UFM Storage
Each device stores up to 8,192 bits of data in the UFM block. Table 2–3
shows the data size, sector, and address sizes for the UFM block.
There are 512 locations with 9-bit addressing ranging from 000h to 1FFh.
Sector 0 address space is 000h to 0FFh and Sector 1 address space is from
100h to 1FFh. The data width is up to 16 bits of data. The Quartus II
software automatically creates logic to accommodate smaller read or
program data widths. Erasure of the UFM involves individual sector
erasing (i.e., one erase of sector 0 and one erase of sector 1 is required to
erase the entire UFM block). Since sector erase is required before a
program or write, having two sectors enables a sector size of data to be
left untouched while the other sector is erased and programmed with
new data.
Internal Oscillator
As shown in Figure 2–15, the dedicated circuitry within the UFM block
contains an oscillator. The dedicated circuitry uses this internally for its
read and program operations. This oscillator's divide by 4 output can
drive out of the UFM block as a logic interface clock source or for
general-purpose logic clocking. The typical OSC output signal frequency
ranges from 3.3 to 5.5 MHz, and its exact frequency of operation is not
programmable.
f For more information on programming and erasing the UFM block, see
the chapter on Using User Flash Memory in MAX II Devices.
Auto-Increment Addressing
The UFM block supports standard read or stream read operations. The
stream read is supported with a auto-increment address feature.
De-asserting the ARSHIFT signal while clocking the ARCLK signal
increments the address register value to read consecutive locations from
the UFM array.
Serial Interface
The UFM block supports a serial interface with serial address and data
signals. The internal shift registers within the UFM block for address and
data are 9 bits and 16 bits wide, respectively. The Quartus II software
automatically generates interface logic in LEs for a parallel address and
data interface to the UFM block. Other standard protocol interfaces such
as SPI are also automatically generated in LE logic by the Quartus II
software.
f For more information on the UFM interface signals and the Quartus II
LE-based alternate interfaces, see Using User Flash Memory in MAX II
Devices.
Figure 2–16. EPM240 UFM Block LAB Row Interface Note (1)
CFM Block
UFM Block
LAB
PROGRAM
ERASE
OSC_ENA LAB
RTP_BUSY
DRDin
DRCLK
DRSHFT
ARin
ARCLK LAB
ARSHFT
DRDout
OSC
BUSY
Figure 2–17. EPM570, EPM1270 & EPM2210 UFM Block LAB Row Interface
CFM Block
RTP_BUSY
BUSY
OSC
DRDout
LAB
DRDin
DRDCLK
DRDSHFT
ARDin
PROGRAM
ERASE
OSC_ENA
ARCLK LAB
ARSHFT
UFM Block
LAB
MultiVolt Core The MAX II architecture supports the MultiVoltTM core feature, which
allows MAX II devices to support multiple VCC levels on the VCCINT
supply. An internal linear voltage regulator provides the necessary 1.8-V
internal voltage supply to the device. The voltage regulator supports
3.3-V or 2.5-V supplies on its inputs to supply the 1.8-V internal voltage
to the device, as shown in Figure 2–18. The voltage regulator is not
guaranteed for voltages that are between the maximum recommended
2.5-V operating voltage and the minimum recommended 3.3-V operating
voltage.
For external 1.8-V supplies, MAX IIG devices are required. The voltage
regulator on these devices is bypassed to support the 1.8-V VCC external
supply path to the 1.8-V internal supply.
1.8-V Core
Voltage
MAX II device IOEs contain a bidirectional I/O buffer. Figure 2–19 shows
the MAX II IOE structure. Registers from adjacent LABs can drive to or be
driven from the IOE’s bidirectional I/O buffers. The Quartus II software
automatically attempts to place registers in the adjacent LAB with fast
I/O connection to achieve the fastest possible clock-to-output and
registered output enable timing. For input registers, the Quartus II
software automatically routes the register to guarantee zero hold time.
You can set timing assignments in the Quartus II software to achieve
desired I/O timing.
Data_out OE
DEV_OE
Optional
PCI Clamp (1)
Programmable
VCCIO VCCIO
Pull-Up
I/O Pin
Optional Schmitt
Programmable
Trigger Input
Input Delay
I/O Blocks
The IOEs are located in I/O blocks around the periphery of the MAX II
device. There are up to seven IOEs per row I/O block (5 maximum in the
EPM240 device) and up to four IOEs per column I/O block. Each column
or row I/O block interfaces with its adjacent LAB and MultiTrack
interconnect to distribute signals throughout the device. The row I/O
blocks drive row, column, or DirectLink interconnects. The column I/O
blocks drive column interconnects.
Figure 2–20 shows how a row I/O block connects to the logic array.
Figure 2–20. Row I/O Block Connection to the Interconnect Note (1)
R4 Interconnects C4 Interconnects
I/O Block Local
Interconnect
data_out
[6..0]
7
OE
[6..0]
7
LAB Row
fast_out I/O Block
[6..0]
7
data_in[6..0] 7
Direct Link
Interconnect
Direct Link from Adjacent LAB
Interconnect
to Adjacent LAB Row I/O Block
Contains up to
LAB Column Seven IOEs
LAB Local
clock [3..0]
Interconnect
Figure 2–21 shows how a column I/O block connects to the logic array.
Figure 2–21. Column I/O Block Connection to the Interconnect Note (1)
Column I/O
Column I/O Block Block Contains
Up To 4 IOEs
data_in
data_out OE fast_out
[3..0]
[3..0] [3..0] [3..0]
4 4 4 4
I/O Block
Local Interconnect
Fast I/O
Interconnect LAB Column
Path Clock [3..0]
R4 Interconnects
■ 3.3-V LVTTL/LVCMOS
■ 2.5-V LVTTL/LVCMOS
■ 1.8-V LVTTL/LVCMOS
■ 1.5-V LVCMOS
■ 3.3-V PCI
The EPM240 and EPM570 devices support two I/O banks, as shown in
Figure 2–22. Each of these banks support all the LVTTL and LVCMOS
standards shown in Table 2–4. PCI I/O is not supported in these devices
and banks.
Figure 2–22. MAX II I/O Banks for EPM240 & EPM570 Notes (1), (2)
The EPM1270 and EPM2210 devices support four I/O banks, as shown in
Figure 2–23. Each of these banks support all of the LVTTL and LVCMOS
standards shown in Table 2–4. PCI I/O is supported in Bank 3. Bank 3
supports the PCI clamping diode on inputs and PCI drive compliance on
outputs. You must use Bank 3 for designs requiring PCI compliant I/O
pins. The Quartus II software automatically places I/O pins in this bank
if assigned with the PCI I/O standard.
Figure 2–23. MAX II I/O Banks for EPM1270 & EPM2210 Notes (1), (2)
I/O Bank 2
Also Supports
All I/O Banks Support the 3.3-V PCI
■ 3.3-V LVTTL/LVCMOS I/O Standard
■ 2.5-V LVTTL/LVCMOS
■ 1.8-V LVTTL/LVCMOS
■ 1.5-V LVCMOS
I/O Bank 1 I/O Bank 3
I/O Bank 4
Each I/O bank has dedicated VCCIO pins which determine the voltage
standard support in that bank. A single device can support 1.5-V, 1.8-V,
2.5-V, and 3.3-V interfaces; each individual bank can support a different
standard. Each I/O bank can support multiple standards with the same
VCCIO for input and output pins. For example, when VCCIO is 3.3 V, Bank 3
can support LVTTL, LVCMOS, and 3.3-V PCI. VCCIO powers both the
input and output buffers in MAX II devices.
The JTAG pins for MAX II devices are dedicated pins that cannot be used
as regular I/O pins. The pins TMS, TDI, TDO, and TCK support all the I/O
standards shown in Table 2–4 on page 2–33 except for PCI. These pins
reside in Bank 1 for all MAX II devices and their I/O standard support is
controlled by the VCCIO setting for Bank 1.
PCI Compliance
MAX II EPM1270 and EPM2210 devices are compliant with PCI
applications as well as all 3.3-V electrical specifications in the PCI Local
Bus Specification Revision 2.2. These devices are also large enough to
support PCI intellectual property (IP) cores. Table 2–5 shows the MAX II
device speed grades that meet the PCI timing specifications.
Table 2–5. MAX II Devices & Speed Grades that Support 3.3-V PCI Electrical Specifications
& Meet PCI Timing
Schmitt Trigger
The input buffer for each MAX II device I/O pin has an optional Schmitt
trigger setting for the 3.3-V and 2.5-V standards. The Schmitt trigger
allows input buffers to respond to slow input edge rates with a fast
output edge rate. Most importantly, Schmitt triggers provide hysteresis
on the input buffer, preventing slow rising noisy input signals from
ringing or oscillating on the input signal driven into the logic array. This
provides system noise tolerance on MAX II inputs, but adds a small,
nominal input delay.
The JTAG input pins (TMS, TCK, and TDI) have Schmitt trigger buffers
which are always enabled.
Slew-Rate Control
The output buffer for each MAX II device I/O pin has a programmable
output slew-rate control that can be configured for low noise or
high-speed performance. A faster slew rate provides high-speed
transitions for high-performance systems. However, these fast transitions
may introduce noise transients into the system. A slow slew rate reduces
system noise, but adds a nominal output delay to rising and falling edges.
The lower the voltage standard (e.g., 1.8-V LVTTL) the larger the output
delay when slow slew is enabled. Each I/O pin has an individual
slew-rate control, allowing the designer to specify the slew rate on a
pin-by-pin basis. The slew-rate control affects both the rising and falling
edges.
Open-Drain Output
MAX II devices provide an optional open-drain (equivalent to
open-collector) output for each I/O pin. This open-drain output enables
the device to provide system-level control signals (e.g., interrupt and
write enable signals) that can be asserted by any of several devices. This
output can also provide an additional wired-OR plane.
Bus Hold
Each MAX II device I/O pin provides an optional bus-hold feature. The
bus-hold circuitry can hold the signal on an I/O pin at its last-driven
state. Since the bus-hold feature holds the last-driven state of the pin until
the next input signal is present, an external pull-up or pull-down resistor
is not necessary to hold a signal level when the bus is tri-stated.
The bus-hold circuitry also pulls undriven pins away from the input
threshold voltage where noise can cause unintended high-frequency
switching. The designer can select this feature individually for each I/O
pin. The bus-hold output will drive no higher than VCCIO to prevent
overdriving signals. If the bus-hold feature is enabled, the device cannot
use the programmable pull-up option.
The bus-hold circuitry uses a resistor to pull the signal level to the last
driven state. The chapter on DC & Switching Characteristics gives the
specific sustaining current for each VCCIO voltage level driven through
this resistor and overdrive current used to identify the next-driven input
level.
The bus-hold circuitry is only active after the device has fully initialized.
The bus-hold circuit captures the value on the pin present at the moment
user mode is entered.
Connect VCCIO pins to either a 1.5-V, 1.8 V, 2.5-V, or 3.3-V power supply,
depending on the output requirements. The output levels are compatible
with systems of the same voltage as the power supply (i.e., when VCCIO
pins are connected to a 1.5-V power supply, the output levels are
compatible with 1.5-V systems). When VCCIO pins are connected to a
3.3-V power supply, the output high is 3.3 V and is compatible with 3.3-
V or 5.0-V systems. Table 2–7 summarizes MAX II MultiVolt I/O support.
1.5 V 1.8 V 2.5 V 3.3 V 5.0 V 1.5 V 1.8 V 2.5 V 3.3 V 5.0 V
1.5 v v v v v
1.8 v v v v (2) v
Document Table 2–8 shows the revision history for this document.
Revision History
Date &
Document Changes Made Summary of Changes
Version
December 2006 Minor update in “Internal Oscillator” section.
v1.7
August 2006 Updated functional description and I/O structure sections.
v1.6
July 2006 v1.5 Minor content and table updates.
February 2006 ● Updated “LAB Control Signals” section.
v1.4 ● Updated “Clear & Preset Logic Control” section.
● Updated “Internal Oscillator” section.
● Updated Table 2–5.
August 2005 Removed Note 2 from Table 2-7.
v1.3
December 2004 Added a paragraph to page 2-15.
v1.2
June 2004 v1.1 Added CFM acronym. Corrected Figure 2-19.
MII51003-1.4
IEEE Std. 1149.1 All MAX® II devices provide Joint Test Action Group (JTAG) boundary-
scan test (BST) circuitry that complies with the IEEE Std. 1149.1-2001
(JTAG) Boundary specification. JTAG boundary-scan testing can only be performed at any
Scan Support time after VCCINT and all VCCIO banks have been fully powered and a
tCONFIG amount of time has passed. MAX II devices can also use the JTAG
port for in-system programming together with either the Quartus® II
software or hardware using Programming Object Files (.pof), JamTM
Standard Test and Programming Language (STAPL) Files (.jam) or Jam
Byte-Code Files (.jbc).
The JTAG pins support 1.5-V, 1.8-V, 2.5-V, or 3.3-V I/O standards. The
supported voltage level and standard is determined by the VCCIO of the
bank where it resides. The dedicated JTAG pins reside in Bank 1 of all
MAX II devices.
The MAX II device instruction register length is 10 bits and the USERCODE
register length is 32 bits. Tables 3–2 and 3–3 show the boundary-scan
register length and device IDCODE information for MAX II devices.
JTAG Block
The MAX II JTAG block feature allows you to access the JTAG TAP and
state signals when either the USER0 or USER1 instruction is issued to the
JTAG TAP. The USER0 and USER1 instructions bring the JTAG boundary
scan chain (TDI) through the user logic instead of the MAX II device’s
boundary scan cells. Each USER instruction allows for one unique user-
defined JTAG chain into the logic array.
Flash
Memory Device Altera FPGA
In System MAX II devices can be programmed in-system via the industry standard
4-pin IEEE Std. 1149.1 (JTAG) interface. In system programmability (ISP)
Programmability offers quick, efficient iterations during design development and
The MAX II JTAG and ISP controller internally generate the high
programming voltages required to program the CFM cells, allowing in-
system programming with any of the recommended operating external
voltage supplies (i.e., 3.3 V/2.5 V or 1.8 V for the MAX IIG devices). ISP
can be performed anytime after VCCINT and all VCCIO banks have been
fully powered and the device has completed the configuration power-up
time. By default, during in-system programming, the I/O pins are tri-
stated and weakly pulled-up to VCCIO to eliminate board conflicts. The in-
system programming clamp and real-time ISP feature allows user control
of I/O state or behavior during ISP.
These devices also offer an ISP_DONE bit that provides safe operation
when in-system programming is interrupted. This ISP_DONE bit, which
is the last bit programmed, prevents all I/O pins from driving until the
bit is programmed.
The MAX II 1532 BSDL files will be released on the Altera web site when
available.
f For more information, see the chapter on Using Jam STAPL for ISP via an
Embedded Processor.
Programming Sequence
During in-system programming, 1532 instructions, addresses, and data
are shifted into the MAX II device through the TDI input pin. Data is
shifted out through the TDO output pin and compared against the
expected data. Programming a pattern into the device requires the
following six ISP steps. A stand-alone verification of a programmed
pattern involves only stages 1, 2, 5, and 6. These steps are automatically
executed by third-party programmers, the Quartus® II software, or the
Jam STAPL and Jam Byte-Code Players.
1. Enter ISP – The enter ISP stage ensures that the I/O pins transition
smoothly from user mode to ISP mode.
6. Exit ISP – An exit ISP stage ensures that the I/O pins transition
smoothly from ISP mode to user mode.
Table 3–4 shows the programming times for MAX II devices using in-
circuit testers to execute the algorithm vectors in hardware. Software-
based programming tools used with download cables are slightly slower
because of data processing and transfer limitations.
UFM Programming
The Quartus II software, with the use of POF, Jam, or JBC files, supports
programming of the user flash memory (UFM) block independent from
the logic array design pattern stored in the CFM block. This allows
updating or reading UFM contents through ISP without altering the
current logic array design, or vice versa. By default, these programming
files and methods will program both the entire flash memory contents,
which includes the CFM block and UFM contents. The stand-alone
embedded Jam STAPL player and Jam Byte-Code Player provides action
commands for programming or reading the entire flash memory (UFM
and CFM together) or each independently.
f For more information, see the chapter on Using Jam STAPL for ISP via an
Embedded Processor.
f For more information, see the chapter on Real-Time ISP & ISP Clamp for
MAX II Devices.
Real-Time ISP
For systems that require more than DC logic level control of I/O pins, the
real-time ISP feature allows you to update the CFM block with a new
design image while the current design continues to operate in the SRAM
logic array and I/O pins. A new programming file is updated into the
MAX II device without halting the original design’s operation, saving
down-time costs for remote or field upgrades. The updated CFM block
configures the new design into the SRAM upon the next power cycle. It is
also possible to execute an immediate configuration of the SRAM without
a power cycle by using a specific sequence of ISP commands. The
configuration of SRAM without a power cycle takes a specific amount of
time (tCONFIG). During this time, the I/O pins are tri-stated and weakly
pulled-up to VCCIO.
Design Security
All MAX II devices contain a programmable security bit that controls
access to the data programmed into the CFM block. When this bit is
programmed, design programming information, stored in the CFM
block, cannot be copied or retrieved. This feature provides a high level of
design security because programmed data within flash memory cells is
invisible. The security bit that controls this function, as well as all other
programmed data, is reset only when the device is erased. The SRAM is
also invisible and cannot be accessed regardless of the security bit setting.
The UFM block data is not protected by the security bit and is accessible
through JTAG or logic array connections.
Document Table 3–5 shows the revision history for this document.
Revision History
Date &
Document Changes Made Summary of Changes
Version
December 2006 Added document revision history.
v1.4
June 2005 v1.3 Added text and Table 3-4.
June 2005 v1.3 Updated text on pages 3-5 to 3-8.
June 2004 v1.1 Corrected Figure 3-1. Added CFM acronym.
Hot Socketing MAX® II devices offer hot socketing, also known as hot plug-in or hot
swap, and power sequencing support. Designers can insert or remove a
MAX II board in a system during operation without undesirable effects to
the system bus. The hot socketing feature removes some of the difficulty
designers face when using components on printed circuit boards (PCBs)
that contain a mixture of 3.3-, 2.5-, 1.8-, and 1.5-V devices.
AC & DC Specifications
You can power up or power down the VCCIO and VCCINT pins in any
sequence. During hot socketing, the I/O pin capacitance is less than 8 pF.
MAX II devices meet the following hot socketing specifications:
IIOPIN is the current at any user I/O pin on the device. The AC
specification applies when the device is being powered up or powered
down. This specification takes into account the pin capacitance but not
board trace and external loading capacitance. Additional capacitance for
trace, connector, and loading must be taken into consideration separately.
The peak current duration due to power-up transients is 10 ns or less.
The DC specification applies when all VCC supplies to the device are
stable in the powered-up or powered-down conditions.
Each I/O and clock pin has the following circuitry, as shown in
Figure 4–1.
Figure 4–1. Hot Socketing Circuit Block Diagram for MAX II Devices
Power On
Reset
VCCIO Monitor
Weak
Pull-Up
Resistor Output Enable
Input Buffer
to Logic Array
The POR circuit monitors VCCINT and VCCIO voltage levels and keeps I/O
pins tri-stated until the device has completed its flash memory
configuration of the SRAM logic. The weak pull-up resistor (R) from the
I/O pin to VCCIO is enabled during download to keep the I/O pins from
floating. The 3.3-V tolerance control circuit permits the I/O pins to be
driven by 3.3 V before VCCIO and/or VCCINT are powered, and it prevents
the I/O pins from driving out when the device is not fully powered or
operational. The hot- socket circuit prevents I/O pins from internally
powering VCCIO and VCCINT when driven by external signals before the
device is powered.
Figure 4–2 shows a transistor level cross section of the MAX II device I/O
buffers. This design ensures that the output buffers do not drive when
VCCIO is powered before VCCINT or if the I/O pad voltage is higher than
VCCIO. This also applies for sudden voltage spikes during hot insertion.
The VPAD leakage current charges the 3.3-V tolerant circuit capacitance.
VCCIO
n+ n+ p+ p+ n+
p - well n - well
p - substrate
I/O
Source
Gate D
PMOS N+
Drain
I/O P-Substrate G
Drain
Gate S
NMOS N+
Source
GND GND
When the I/O pin receives a negative ESD zap at the pin that is less than
-0.7 V (0.7 V is the voltage drop across a diode), the intrinsic
P-Substrate/N+ drain diode is forward biased. Hence, the discharge ESD
current path is from GND to the I/O pin, as shown in Figure 4–4.
I/O
Source
Gate D
PMOS N+
Drain
I/O P-Substrate G
Drain
Gate S
NMOS N+
Source
GND GND
Power-On Reset MAX II devices have POR circuits to VCCINT and VCCIO voltage levels
during power-up. The POR circuit monitors these voltages, triggering
Circuitry download from the non-volatile configuration flash memory (CFM) block
to the SRAM logic, maintaining tri-state of the I/O pins (with weak pull-
up resistors enabled) before and during this process. When the MAX II
device enters user mode, the POR circuit releases the I/O pins to user
functionality and continues to monitor the VCCINT voltage level to detect
a brown-out condition.
Power-Up Characteristics
When power is applied to a MAX II device, the POR circuit monitors
VCCINT and begins SRAM download at an approximate voltage of 1.7 V,
or 1.55 V for MAX II G devices. From this voltage reference, SRAM
download and entry into user mode takes 200 to 450 µs maximum
depending on device density. This period of time is specified as tCONFIG in
the power-up timing section of Chapter 5. DC & Switching Characteristics.
Entry into user mode is gated by whether all VCCIO banks are powered
with sufficient operating voltage. If VCCINT and VCCIO are powered
simultaneously, the device enters user mode within the tCONFIG
In user mode, the POR circuitry continues to monitor the VCCINT (but not
VCCIO) voltage level to detect a brown-out condition. If there is a VCCINT
voltage sag at or below 1.4 V during user mode, the POR circuit resets the
SRAM and tri-states the I/O pins. Once VCCINT rises back to
approximately 1.7 V (or 1.55 V for MAX II G devices), the SRAM
download restarts and the device begins to operate after tCONFIG time has
passed.
Figure 4–5 shows the voltages for MAX II and MAX II G device POR
during power-up into user mode and from user mode to power-down or
brown-out.
Figure 4–5. Power-Up Characteristics for MAX II & MAX II G Devices Notes (1), (2)
VCCINT MAX II Device
Approximate Voltage
3.3 V for SRAM Download Start
2.5 V
Device Resets
the SRAM and
1.7 V Tri-States I/O Pins
1.4 V
t CONFIG
0V
User Mode
Tri-State Operation Tri-State
3.3 V
Approximate Voltage
for SRAM Download Start
Device Resets
1.8 V the SRAM and
Tri-States I/O Pins
1.55 V
1.4 V
t CONFIG
0V
User Mode
Tri-State Operation Tri-State
Document Table 4–1 shows the revision history for this document.
Revision History
Date &
Document Changes Made Summary of Changes
Version
December 2006 Added document revision history.
v1.5
February 2006 ● Updated “MAX II Hot-Socketing Specifications” section.
v1.4 ● Updated “AC & DC Specifications” section.
● Updated “Power-On Reset Circuitry” section.
June 2005 v1.3 Updated AC and DC specifications on page 4-2.
December 2004 Added content to Power-Up Characteristics section.
v1.2 Updated Figure 4-5.
June 2004 v1.1 Corrected Figure 4-2.
MII51005-1.8
Table 5–1. MAX II Device Absolute Maximum Ratings Notes (1), (2)
Programming/Erasure Specifications
Table 5–3 shows the MAX II device family programming/erasure
specifications.
DC Electrical Characteristics
Table 5–4 shows the MAX II device family DC electrical characteristics.
MAX II Output Drive IOH Characteristics MAX II Output Drive IOL Characteristics
(Maximum Drive Strength) (Maximum Drive Strength)
70 60
3.3-V VCCIO
3.3-V VCCIO
60 50
50
40
2.5-V VCCIO
2.5-V VCCIO
40
30
30
1.8-V VCCIO
20
1.8-V VCCIO
20
1.5-V VCCIO
1.5-V VCCIO 10
10
0 0
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5
Voltage (V) Voltage (V)
MAX II Output Drive IOH Characteristics MAX II Output Drive IOL Characteristics
(Minimum Drive Strength) (Minimum Drive Strength)
35 30
3.3-V VCCIO
3.3-V VCCIO
30
25
Typical IO Output Current (mA)
25
20 2.5-V VCCIO
20
2.5-V VCCIO
15
15
1.8-V VCCIO
1.8-V VCCIO 10
10
1.5-V VCCIO
1.5-V VCCIO 5
5
0 0
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5
Voltage (V) Voltage (V)
VCCIO Level
VCCIO Level
Power-Up Timing
Table 5–12 shows the power-up timing characteristics for MAX II devices.
Power Designers can use the Altera® web power calculator to estimate the device
power. See the chapter on Understanding & Evaluating Power in MAX II
Consumption Devices for more information.
Timing Model & MAX II devices timing can be analyzed with the Altera Quartus II
software, a variety of popular industry-standard EDA simulators and
Specifications timing analyzers, or with the timing model shown in Figure 5–2.
MAX II devices have predictable internal delays that enable the designer
to determine the worst-case timing of any design. The software provides
timing simulation, point-to-point delay prediction, and detailed timing
analysis for device-wide performance evaluation.
t R4
tIODR
tIOE
Data-In/LUT Chain
User Logic Element Output Routing Output
Flash t C4 Delay
LUT Delay Delay
Memory t OD
t LUT tCO t FASTIO
t LOCAL
tSU t XZ
Input Routing tH t ZX
I/O Input Delay Register Control I/O Pin
Delay Delay tPRE
t IN tDL
tC tCLR
From Adjacent LE
t GLOB
INPUT
I/O Pin
Global Input Delay To Adjacent LE
Register Delays
Data-Out
The timing characteristics of any signal path can be derived from the
timing model and parameters of a particular device. External timing
parameters, which represent pin-to-pin timing delays, can be calculated
as the sum of internal parameters. Refer to the chapter on Understanding
Timing in MAX II Devices for more information.
Final timing numbers are based on actual device operation and testing.
These numbers reflect the actual performance of the device under worst-
case voltage and junction temperature conditions.
Performance
Table 5–14 shows the MAX II device performance for some common
designs. All performance values were obtained with the Quartus II
software compilation of megafunctions. These performance values are
based on an EPM1270 device target.
Tables 5–17 and 5–18 show the adder delays for tOD and tZX
microparameters when using an I/O standard other than 3.3-V LVTTL
with 16 mA drive strength.
Table 5–17. tZX IOE Microparameter Adders for Fast Slew Rate (Part 1 of 2)
Table 5–17. tZX IOE Microparameter Adders for Fast Slew Rate (Part 2 of 2)
Table 5–18. tZX IOE MIcroparameter Adders for Slow Slew Rate
Table 5–19. tXZ IOE Microparameter Adders for Fast Slew Rate (Part 1 of 2)
Table 5–19. tXZ IOE Microparameter Adders for Fast Slew Rate (Part 2 of 2)
Table 5–20. tXZ IOE MIcroparameter Adders for Slow Slew Rate
Figures 5–3 through 5–5 show the read, program, and erase waveforms
for UFM block timing parameters shown in Table 5–21.
DRShft tADS
tDCLK 16 Data Bits tDSH
tDSS
DRClk
DRDin tDCO
DRDout
OSC_ENA
Program
Erase
Busy
DRDin
tDDH
tDDS
DRDout
tOSCS tOSCH
OSC_ENA
Program
Busy
tPPMX
DRClk
DRDin
DRDout
OSC_ENA
tOSCS
Program tOSCH
Erase
Busy tEB tBE
tEPMX
Table 5–23 shows the external I/O timing parameters for EPM240
devices.
Table 5–24 shows the external I/O timing parameters for EPM570
devices.
Table 5–25 shows the external I/O timing parameters for EPM1270
devices
Table 5–26 shows the external I/O timing parameters for EPM2210
devices.
Tables 5–27 through 5–31 show the adder delays associated with I/O pins
for all packages. If an I/O standard other than 3.3-V LVTTL is selected,
add the input delay adder to the external tSU timing parameters shown in
Tables 5–23 through 5–26. If an I/O standard other than 3.3-V LVTTL
with 16 mA drive strength and fast slew rate is selected, add the output
delay adder to the external tCO and tPD shown in Tables 5–23 through
5–26.
Table 5–28. External Timing Input Delay tGLOB Adders for GCLK Pins
Table 5–29. External Timing Output Delay & tOD Adders for Fast Slew Rate
Table 5–30. External Timing Output Delay & tOD Adders for Slow Slew Rate
Table 5–32. MAX II Maximum Input Clock Rate for I/O (Part 1 of 2)
Table 5–32. MAX II Maximum Input Clock Rate for I/O (Part 2 of 2)
TMS
TDI
t JCP
t JCH t JCL t JPSU t JPH
TCK
TDO
tJSSU tJSH
Signal
to Be
Captured
tJSZX tJSCO tJSXZ
Signal
to Be
Driven
Table 5–34 shows the JTAG Timing parameters and values for MAX II
devices.
Document Table 5–35 shows the revision history for this document.
Revision History
Date &
Document Changes Made Summary of Changes
Version
December 2006 Added note to Table 5–1.
v1.8
July 2006 v1.7 Minor content and table updates.
February 2006 ● Updated “External Timing I/O Delay Adders” section.
v1.6 ● Updated Table 5–29.
● Updated Table 5–30.
November 2005 Updated Tables 5-2, 5-4, and 5-12.
v1.5
August 2005 Updated Figure 5-1.
v1.4 Updated Tables 5-13, 5-16, and 5-26.
Removed Note 1 from Table 5-12.
June 2005 v1.3 Updated the RPULLUP parameter in Table 5-4.
Added Note 2 to Tables 5-8 and 5-9.
Updated Table 5-13.
Added Output Drive Characteristics section.
Added I2C mode and Notes 5 and 6 to Table 5-14.
Updated timing values to Tables 5-14 through 5-33.
December 2004 Updated timing Tables 5-2, 5-4, 5-12, and Tables 15-14 through
v1.2 5-34.
Table 5-31 is new.
June 2004 v1.1 Updated timing Tables 5-15 through 5-32.
MII51006-1.3
Software MAX® II devices are supported by the Altera® Quartus® II design software
with new, optional MAX+PLUS® II look and feel, which provides HDL
and schematic design entry, compilation and logic synthesis, full
simulation and advanced timing analysis, and device programming. See
the Design Software Selector Guide for more details on the Quartus II
software features.
Device Pin-Outs Printed device pin-outs for MAX II devices will be released on the Altera
web site (www.altera.com) and in the MAX II Device Handbook when
they are available.
Ordering Figure 6–1 describes the ordering codes for MAX II devices. For more
information on a specific package, refer to the chapter on Package
Information Information.
Product-Line Suffix
Operating Temperature
Indicates device core voltage
G: 1.8-V VCCINT device C: Commercial temperature (TJ = 0˚ C to 85˚ C)
Blank: 2.5-V or 3.3-V VCCINT device I: Industrial temperature (TJ = -40˚ C to 100˚ C)
Package Type
Pin Count
Document Table 6–1 shows the revision history for this document.
Revision History
Date &
Document Changes Made Summary of Changes
Version
December 2006 Added document revision history.
v1.3
October 2006 Updated Figure 6-1.
v1.2
June 2005 v1.1 Removed Dual Marking section.