![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
APEX 20K (R) Programmable Logic Device Family Data Sheet February 2002, ver. 4.3 Features... Industry's first programmable logic device (PLD) incorporating system-on-a-programmable-chip (SOPC) integration - MultiCoreTM architecture integrating look-up table (LUT) logic, product-term logic, and embedded memory - LUT logic used for register-intensive functions - Embedded system block (ESB) used to implement memory functions, including first-in first-out (FIFO) buffers, dual-port RAM, and content-addressable memory (CAM) - ESB implementation of product-term logic used for combinatorial-intensive functions High density - 30,000 to 1.5 million typical gates (see Tables 1 and 2) - Up to 51,840 logic elements (LEs) - Up to 442,368 RAM bits that can be used without reducing available logic - Up to 3,456 product-term-based macrocells Note (1) EP20K100 263,000 Table 1. APEX 20K Device Features Feature Maximum system gates Typical gates LEs ESBs Maximum RAM bits Maximum macrocells Maximum user I/O pins EP20K30E EP20K60E 113,000 162,000 EP20K100E 263,000 EP20K160E 404,000 EP20K200 526,000 EP20K200E 526,000 30,000 1,200 12 24,576 192 128 60,000 2,560 16 32,768 256 196 100,000 4,160 26 53,248 416 252 100,000 4,160 26 53,248 416 246 160,000 6,400 40 81,920 640 316 200,000 8,320 52 106,496 832 382 200,000 8,320 52 106,496 832 376 Altera Corporation DS-APEX20K-4.3 1 APEX 20K Programmable Logic Device Family Data Sheet Table 2. APEX 20K Device Features Feature Maximum system gates Typical gates LEs ESBs Maximum RAM bits Maximum macrocells Maximum user I/O pins Note to tables: (1) Note (1) EP20K400E 1,052,000 400,000 16,640 104 212,992 1,664 488 EP20K300E 728,000 300,000 11,520 72 147,456 1,152 408 EP20K400 1,052,000 400,000 16,640 104 212,992 1,664 502 EP20K600E 1,537,000 600,000 24,320 152 311,296 2,432 588 EP20K1000E 1,772,000 1,000,000 38,400 160 327,680 2,560 708 EP20K1500E 2,392,000 1,500,000 51,840 216 442,368 3,456 808 The embedded IEEE Std. 1149.1 Joint Test Action Group (JTAG) boundary-scan circuitry contributes up to 57,000 additional gates. ...and More Features Designed for low-power operation - 1.8-V and 2.5-V supply voltage (see Table 3) - MultiVoltTM I/O interface support to interface with 1.8-V, 2.5-V, 3.3-V, and 5.0-V devices (see Table 3) - ESB offering programmable power-saving mode Table 3. APEX 20K Supply Voltages Feature EP20K100 EP20K200 EP20K400 Device EP20K30E EP20K60E EP20K100E EP20K160E EP20K200E EP20K300E EP20K400E EP20K600E EP20K1000E EP20K1500E 1.8 V 1.8 V, 2.5 V, 3.3 V, 5.0 V (2) Internal supply voltage (VCCINT) 2.5 V MultiVolt I/O interface voltage levels (VCCIO) Notes: (1) (2) 2.5 V, 3.3 V, 5.0 V (1) Certain APEX 20K devices are 5.0-V tolerant. See "MultiVolt I/O Interface" on page 46 for details. APEX 20KE devices can be 5.0-V tolerant by using an external resistor. 2 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Flexible clock management circuitry with up to four phase-locked loops (PLLs) - Built-in low-skew clock tree - Up to eight global clock signals - ClockLockTM feature reducing clock delay and skew - ClockBoostTM feature providing clock multiplication and division - ClockShiftTM programmable clock phase and delay shifting Powerful I/O features - Compliant with peripheral component interconnect Special Interest Group (PCI SIG) PCI Local Bus Specification, Revision 2.2 for 3.3-V operation at 33 or 66 MHz and 32 or 64 bits - Support for high-speed external memories, including DDR SDRAM and ZBT SRAM (ZBT is a trademark of Integrated Device Technology, Inc.) - Bidirectional I/O performance (tCO + tSU) up to 250 MHz - LVDS performance up to 840 Mbits per channel - Direct connection from I/O pins to local interconnect providing fast tCO and tSU times for complex logic - MultiVolt I/O interface support to interface with 1.8-V, 2.5-V, 3.3-V, and 5.0-V devices (see Table 3) - Programmable clamp to VCCIO - Individual tri-state output enable control for each pin - Programmable output slew-rate control to reduce switching noise - Support for advanced I/O standards, including low-voltage differential signaling (LVDS), LVPECL, PCI-X, AGP, CTT, stubseries terminated logic (SSTL-3 and SSTL-2), Gunning transceiver logic plus (GTL+), and high-speed terminated logic (HSTL Class I) - Pull-up on I/O pins before and during configuration Advanced interconnect structure - Four-level hierarchical FastTrack(R) Interconnect structure providing fast, predictable interconnect delays - Dedicated carry chain that implements arithmetic functions such as fast adders, counters, and comparators (automatically used by software tools and megafunctions) - Dedicated cascade chain that implements high-speed, high-fan-in logic functions (automatically used by software tools and megafunctions) - Interleaved local interconnect allows one LE to drive 29 other LEs through the fast local interconnect Advanced packaging options - Available in a variety of packages with 144 to 1,020 pins (see Tables 4 through 7) - FineLine BGATM packages maximize board space efficiency Advanced software support - Software design support and automatic place-and-route provided by the Altera(R) QuartusTM II development system for 3 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet - - - - Windows-based PCs, Sun SPARCstations, and HP 9000 Series 700/800 workstations Altera MegaCore(R) functions and Altera Megafunction Partners Program (AMPPSM) megafunctions NativeLinkTM integration with popular synthesis, simulation, and timing analysis tools Quartus II SignalTapTM embedded logic analyzer simplifies in-system design evaluation by giving access to internal nodes during device operation Supports popular revision-control software packages including PVCS, Revision Control System (RCS), and Source Code Control System (SCCS ) Notes (1), (2) Table 4. APEX 20K QFP, BGA & PGA Package Options & I/O Count Device 144-Pin TQFP 92 92 101 92 88 208-Pin PQFP RQFP 125 148 159 151 143 144 136 240-Pin PQFP RQFP 151 189 183 175 174 168 152 356-Pin BGA 652-Pin BGA 655-Pin PGA EP20K30E EP20K60E EP20K100 EP20K100E EP20K160E EP20K200 EP20K200E EP20K300E EP20K400 EP20K400E EP20K600E EP20K1000E EP20K1500E 196 252 246 271 277 271 376 408 502 488 488 488 488 502 4 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 5. APEX 20K FineLine BGA Package Options & I/O Count Device EP20K30E EP20K60E EP20K100 EP20K100E EP20K160E EP20K200 EP20K200E EP20K300E EP20K400 EP20K400E EP20K600E EP20K1000E EP20K1500E Notes to tables: (1) (2) Notes (1), (2) 672 Pin 1,020 Pin 144 Pin 93 93 93 324 Pin 128 196 252 246 484 Pin 316 382 376 376 408 502 (3) 488 (3) 508 (3) 508 (3) 588 708 808 (3) I/O counts include dedicated input and clock pins. APEX 20K device package types include thin quad flat pack (TQFP), plastic quad flat pack (PQFP), power quad flat pack (RQFP), 1.27-mm pitch ball-grid array (BGA), 1.00-mm pitch FineLine BGA, and pin-grid array (PGA) packages. This device uses a thermally enhanced package, which is taller than the regular package. Consult the Altera Device Package Information Data Sheet for detailed package size information. Table 6. APEX 20K QFP, BGA & PGA Package Sizes Feature Pitch (mm) Area (mm 2) Length x Width (mm x mm) 144-Pin TQFP 208-Pin QFP 240-Pin QFP 356-Pin BGA 652-Pin BGA 655-Pin PGA 0.50 484 22 x 22 0.50 924 30.4 x 30.4 0.50 1,218 34.9 x 34.9 1.27 1,225 35 x 35 1.27 2,025 45 x 45 - 3,906 62.5 x 62.5 Table 7. APEX 20K FineLine BGA Package Sizes Feature Pitch (mm) Area (mm 2) Length x Width (mm x mm) 144 Pin 1.00 169 13 x 13 324 Pin 1.00 361 19 x 19 484 Pin 1.00 529 23 x 23 672 Pin 1.00 729 27 x 27 1,020 Pin 1.00 1,089 33 x 33 Altera Corporation 5 APEX 20K Programmable Logic Device Family Data Sheet General Description APEXTM 20K devices are the first PLDs designed with the MultiCore architecture, which combines the strengths of LUT-based and productterm-based devices with an enhanced memory structure. LUT-based logic provides optimized performance and efficiency for data-path, registerintensive, mathematical, or digital signal processing (DSP) designs. Product-term-based logic is optimized for complex combinatorial paths, such as complex state machines. LUT- and product-term-based logic combined with memory functions and a wide variety of MegaCore and AMPP functions make the APEX 20K device architecture uniquely suited for system-on-a-programmable-chip designs. Applications historically requiring a combination of LUT-, product-term-, and memory-based devices can now be integrated into one APEX 20K device. APEX 20KE devices are a superset of APEX 20K devices and include additional features such as advanced I/O standard support, CAM, additional global clocks, and enhanced ClockLock clock circuitry. In addition, APEX 20KE devices extend the APEX 20K family to 1.5 million gates. APEX 20KE devices are denoted with an "E" suffix in the device name (e.g., the EP20K1000E device is an APEX 20KE device). Table 8 compares the features included in APEX 20K and APEX 20KE devices. 6 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 8. Comparison of APEX 20K & APEX 20KE Features Feature MultiCore system integration SignalTap logic analysis 32/64-Bit, 33-MHz PCI 32/64-Bit, 66-MHz PCI MultiVolt I/O APEX 20K Devices Full support Full support Full compliance in -1, -2 speed grades 2.5-V or 3.3-V VCCIO VCCIO selected for device Certain devices are 5.0-V tolerant Clock delay reduction 2x and 4x clock multiplication APEX 20KE Devices Full support Full support Full compliance in -1, -2 speed grades Full compliance in -1 speed grade 1.8-V, 2.5-V, or 3.3-V VCCIO VCCIO selected block-by-block 5.0-V tolerant with use of external resistor Clock delay reduction m /(n x v) or m /(n x k) clock multiplication Drive ClockLock output off-chip External clock feedback ClockShift LVDS support Up to four PLLs ClockShift, clock phase adjustment Eight 1.8-V, 2.5-V, 3.3-V, 5.0-V I/O 2.5-V I/O 3.3-V PCI and PCI-X 3.3-V Advanced Graphics Port (AGP) Center tap terminated (CTT) GTL+ LVCMOS LVTTL True-LVDS and LVPECL data pins (in EP20K300E and larger devices) LVDS and LVPECL clock pins (in all BGA and FineLine BGA devices) LVDS and LVPECL data pins up to 156 Mbps (in -1 speed grade devices) HSTL Class I PCI-X SSTL-2 Class I and II SSTL-3 Class I and II CAM Dual-port RAM FIFO RAM ROM ClockLock support Dedicated clock and input pins Six I/O standard support 2.5-V, 3.3-V, 5.0-V I/O 3.3-V PCI Low-voltage complementary metal-oxide semiconductor (LVCMOS) Low-voltage transistor-to-transistor logic (LVTTL) Memory support Dual-port RAM FIFO RAM ROM Altera Corporation 7 APEX 20K Programmable Logic Device Family Data Sheet All APEX 20K devices are reconfigurable and are 100% tested prior to shipment. As a result, test vectors do not have to be generated for fault coverage purposes. Instead, the designer can focus on simulation and design verification. In addition, the designer does not need to manage inventories of different application-specific integrated circuit (ASIC) designs; APEX 20K devices can be configured on the board for the specific functionality required. APEX 20K devices are configured at system power-up with data stored in an Altera serial configuration device or provided by a system controller. Altera offers in-system programmability (ISP)-capable EPC1, EPC2, and EPC16 configuration devices, which configure APEX 20K devices via a serial data stream. Moreover, APEX 20K devices contain an optimized interface that permits microprocessors to configure APEX 20K devices serially or in parallel, and synchronously or asynchronously. The interface also enables microprocessors to treat APEX 20K devices as memory and configure the device by writing to a virtual memory location, making reconfiguration easy. After an APEX 20K device has been configured, it can be reconfigured in-circuit by resetting the device and loading new data. Real-time changes can be made during system operation, enabling innovative reconfigurable computing applications. APEX 20K devices are supported by the Altera Quartus II development system, a single, integrated package that offers HDL and schematic design entry, compilation and logic synthesis, full simulation and worst-case timing analysis, SignalTap logic analysis, and device configuration. The Quartus II software runs on Windows-based PCs, Sun SPARCstations, and HP 9000 Series 700/800 workstations. The Quartus II software provides NativeLink interfaces to other industrystandard PC- and UNIX workstation-based EDA tools. For example, designers can invoke the Quartus II software from within third-party design tools. Further, the Quartus II software contains built-in optimized synthesis libraries; synthesis tools can use these libraries to optimize designs for APEX 20K devices. For example, the Synopsys Design Compiler library, supplied with the Quartus II development system, includes DesignWare functions optimized for the APEX 20K architecture. 8 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Functional Description APEX 20K devices incorporate LUT-based logic, product-term-based logic, and memory into one device. Signal interconnections within APEX 20K devices (as well as to and from device pins) are provided by the FastTrack Interconnect--a series of fast, continuous row and column channels that run the entire length and width of the device. Each I/O pin is fed by an I/O element (IOE) located at the end of each row and column of the FastTrack Interconnect. Each IOE contains a bidirectional I/O buffer and a register that can be used as either an input or output register to feed input, output, or bidirectional signals. When used with a dedicated clock pin, these registers provide exceptional performance. IOEs provide a variety of features, such as 3.3-V, 64-bit, 66-MHz PCI compliance; JTAG BST support; slew-rate control; and tri-state buffers. APEX 20KE devices offer enhanced I/O support, including support for 1.8-V I/O, 2.5-V I/O, LVCMOS, LVTTL, LVPECL, 3.3-V PCI, PCI-X, LVDS, GTL+, SSTL-2, SSTL-3, HSTL, CTT, and 3.3-V AGP I/O standards. The ESB can implement a variety of memory functions, including CAM, RAM, dual-port RAM, ROM, and FIFO functions. Embedding the memory directly into the die improves performance and reduces die area compared to distributed-RAM implementations. Moreover, the abundance of cascadable ESBs ensures that the APEX 20K device can implement multiple wide memory blocks for high-density designs. The ESB's high speed ensures it can implement small memory blocks without any speed penalty. The abundance of ESBs ensures that designers can create as many different-sized memory blocks as the system requires. Figure 1 shows an overview of the APEX 20K device. Figure 1. APEX 20K Device Block Diagram Clock Management Circuitry ClockLock IOE IOE IOE IOE FastTrack Interconnect Four-input LUT for data path and DSP functions. Product-term integration for high-speed control logic and state machines. LUT IOE Product Term Memory LUT Product Term Memory LUT Product Term Memory LUT Product Term Memory LUT IOE LUT IOE Product Term Memory LUT Product Term Memory LUT Product Term Memory LUT Product Term Memory IOE IOEs support PCI, GTL+, SSTL-3, LVDS, and other standards. IOE IOE IOE IOE Flexible integration of embedded memory, including CAM, RAM, ROM, FIFO, and other memory functions. Altera Corporation 9 APEX 20K Programmable Logic Device Family Data Sheet APEX 20K devices provide two dedicated clock pins and four dedicated input pins that drive register control inputs. These signals ensure efficient distribution of high-speed, low-skew control signals. These signals use dedicated routing channels to provide short delays and low skews. Four of the dedicated inputs drive four global signals. These four global signals can also be driven by internal logic, providing an ideal solution for a clock divider or internally generated asynchronous clear signals with high fan-out. The dedicated clock pins featured on the APEX 20K devices can also feed logic. The devices also feature ClockLock and ClockBoost clock management circuitry. APEX 20KE devices provide two additional dedicated clock pins, for a total of four dedicated clock pins. MegaLAB Structure APEX 20K devices are constructed from a series of MegaLABTM structures. Each MegaLAB structure contains a group of logic array blocks (LABs), one ESB, and a MegaLAB interconnect, which routes signals within the MegaLAB structure. The EP20K30E device has 10 LABs, EP20K60E through EP20K600E devices have 16 LABs, and the EP20K1000E and EP20K1500E devices have 24 LABs. Signals are routed between MegaLAB structures and I/O pins via the FastTrack Interconnect. In addition, edge LABs can be driven by I/O pins through the local interconnect. Figure 2 shows the MegaLAB structure. Figure 2. MegaLAB Structure MegaLAB Interconnect To Adjacent LAB or IOEs LE1 LE2 LE3 LE4 LE5 LE6 LE7 LE8 LE9 LE10 LE1 LE2 LE3 LE4 LE5 LE6 LE7 LE8 LE9 LE10 LE1 LE2 LE3 LE4 LE5 LE6 LE7 LE8 LE9 LE10 ESB Local Interconnect LABs 10 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Logic Array Block Each LAB consists of 10 LEs, the LEs' associated carry and cascade chains, LAB control signals, and the local interconnect. The local interconnect transfers signals between LEs in the same or adjacent LABs, IOEs, or ESBs. The Quartus II Compiler places associated logic within an LAB or adjacent LABs, allowing the use of a fast local interconnect for high performance. Figure 3 shows the APEX 20K LAB. APEX 20K devices use an interleaved LAB structure. This structure allows each LE to drive two local interconnect areas. This feature minimizes use of the MegaLAB and FastTrack interconnect, providing higher performance and flexibility. Each LE can drive 29 other LEs through the fast local interconnect. Figure 3. LAB Structure Row Interconnect MegaLAB Interconnect LEs drive local MegaLAB, row, and column interconnects. To/From Adjacent LAB, ESB, or IOEs To/From Adjacent LAB, ESB, or IOEs Local Interconnect Column Interconnect The 10 LEs in the LAB are driven by two local interconnect areas. These LEs can drive two local interconnect areas. Altera Corporation 11 APEX 20K Programmable Logic Device Family Data Sheet Each LAB contains dedicated logic for driving control signals to its LEs and ESBs. The control signals include clock, clock enable, asynchronous clear, asynchronous preset, asynchronous load, synchronous clear, and synchronous load signals. A maximum of six control signals can be used at a time. Although synchronous load and clear signals are generally used when implementing counters, they can also be used with other functions. Each LAB can use two clocks and two clock enable signals. Each LAB's clock and clock enable signals are linked (e.g., any LE in a particular LAB using CLK1 will also use CLKENA1). LEs with the same clock but different clock enable signals either use both clock signals in one LAB or are placed into separate LABs. If both the rising and falling edges of a clock are used in a LAB, both LABwide clock signals are used. The LAB-wide control signals can be generated from the LAB local interconnect, global signals, and dedicated clock pins. The inherent low skew of the FastTrack Interconnect enables it to be used for clock distribution. Figure 4 shows the LAB control signal generation circuit. Figure 4. LAB Control Signal Generation Dedicated Clocks Global Signals Local Interconnect Local Interconnect Local Interconnect Local Interconnect SYNCLOAD or LABCLKENA2 SYNCCLR or LABCLK2 (3) LABCLKENA1 LABCLR1 (2) 2 or 4 (1) 4 LABCLK1 LABCLR2 (2) Notes: (1) (2) (3) APEX 20KE devices have four dedicated clocks. The LABCLR1 and LABCLR2 signals also control asynchronous load and asynchronous preset for LEs within the LAB. The SYNCCLR signal can be generated by the local interconnect or global signals. 12 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Logic Element The LE, the smallest unit of logic in the APEX 20K architecture, is compact and provides efficient logic usage. Each LE contains a four-input LUT, which is a function generator that can quickly implement any function of four variables. In addition, each LE contains a programmable register and carry and cascade chains. Each LE drives the local interconnect, MegaLAB interconnect, and FastTrack Interconnect routing structures. See Figure 5. Figure 5. APEX 20K Logic Element Register Bypass LAB-wide LAB-wide Synchronous Synchronous Load Clear Cascade-In Carry-In Packed Register Select Programmable Register To FastTrack Interconnect, MegaLAB Interconnect, or Local Interconnect data1 data2 data3 data4 Look-Up Table (LUT) Carry Chain Cascade Chain Synchronous Load & Clear Logic D PRN Q ENA CLRN To FastTrack Interconnect, MegaLAB Interconnect, or Local Interconnect labclr1 labclr2 Chip-Wide Reset Asynchronous Clear/Preset/ Load Logic Clock & Clock Enable Select labclk1 labclk2 labclkena1 labclkena2 Carry-Out Cascade-Out Each LE's programmable register can be configured for D, T, JK, or SR operation. The register's clock and clear control signals can be driven by global signals, general-purpose I/O pins, or any internal logic. For combinatorial functions, the register is bypassed and the output of the LUT drives the outputs of the LE. Altera Corporation 13 APEX 20K Programmable Logic Device Family Data Sheet Each LE has two outputs that drive the local, MegaLAB, or FastTrack Interconnect routing structure. Each output can be driven independently by the LUT's or register's output. For example, the LUT can drive one output while the register drives the other output. This feature, called register packing, improves device utilization because the register and the LUT can be used for unrelated functions. The LE can also drive out registered and unregistered versions of the LUT output. The APEX 20K architecture provides two types of dedicated high-speed data paths that connect adjacent LEs without using local interconnect paths: carry chains and cascade chains. A carry chain supports high-speed arithmetic functions such as counters and adders, while a cascade chain implements wide-input functions such as equality comparators with minimum delay. Carry and cascade chains connect LEs 1 through 10 in an LAB and all LABs in the same MegaLAB structure. Carry Chain The carry chain provides a very fast carry-forward function between LEs. The carry-in signal from a lower-order bit drives forward into the higherorder bit via the carry chain, and feeds into both the LUT and the next portion of the carry chain. This feature allows the APEX 20K architecture to implement high-speed counters, adders, and comparators of arbitrary width. Carry chain logic can be created automatically by the Quartus II software Compiler during design processing, or manually by the designer during design entry. Parameterized functions such as library of parameterized modules (LPM) and DesignWare functions automatically take advantage of carry chains for the appropriate functions. The Quartus II software Compiler creates carry chains longer than ten LEs by linking LABs together automatically. For enhanced fitting, a long carry chain skips alternate LABs in a MegaLAB structure. A carry chain longer than one LAB skips either from an even-numbered LAB to the next evennumbered LAB, or from an odd-numbered LAB to the next oddnumbered LAB. For example, the last LE of the first LAB in the upper-left MegaLAB structure carries to the first LE of the third LAB in the MegaLAB structure. Figure 6 shows how an n-bit full adder can be implemented in n + 1 LEs with the carry chain. One portion of the LUT generates the sum of two bits using the input signals and the carry-in signal; 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 and the carry chain logic generates the carry-out signal, which is routed directly to the carryin signal of the next-higher-order bit. The final carry-out signal is routed to an LE, where it is driven onto the local, MegaLAB, or FastTrack Interconnect routing structures. 14 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 6. APEX 20K Carry Chain Carry-In a1 b1 LUT Register s1 Carry Chain LE1 a2 b2 LUT Register s2 Carry Chain LE2 an bn LUT Register sn Carry Chain LEn LUT Register Carry-Out Carry Chain LEn + 1 Altera Corporation 15 APEX 20K Programmable Logic Device Family Data Sheet Cascade Chain With the cascade chain, the APEX 20K architecture can implement functions with a very wide fan-in. Adjacent LUTs can compute portions of a function in parallel; the cascade chain serially connects the intermediate values. The cascade chain can use a logical AND or logical OR (via De Morgan's inversion) to connect the outputs of adjacent LEs. Each additional LE provides four more inputs to the effective width of a function, with a short cascade delay. Cascade chain logic can be created automatically by the Quartus II software Compiler during design processing, or manually by the designer during design entry. Cascade chains longer than ten LEs are implemented automatically by linking LABs together. For enhanced fitting, a long cascade chain skips alternate LABs in a MegaLAB structure. A cascade chain longer than one LAB skips either from an even-numbered LAB to the next even-numbered LAB, or from an odd-numbered LAB to the next odd-numbered LAB. For example, the last LE of the first LAB in the upper-left MegaLAB structure carries to the first LE of the third LAB in the MegaLAB structure. Figure 7 shows how the cascade function can connect adjacent LEs to form functions with a wide fan-in. Figure 7. APEX 20K Cascade Chain AND Cascade Chain OR Cascade Chain d[3..0] LUT LE1 d[3..0] LUT LE1 d[7..4] LUT LE2 d[7..4] LUT LE2 d[(4n - 1)..(4n - 4)] LUT LEn d[(4n - 1)..(4n - 4)] LUT LEn 16 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet LE Operating Modes The APEX 20K LE can operate in one of the following three modes: Normal mode Arithmetic mode Counter mode Each mode uses LE resources differently. In each mode, seven available inputs to the LE--the four data inputs from the LAB local interconnect, the feedback from the programmable register, and the carry-in and cascade-in from the previous LE--are directed to different destinations to implement the desired logic function. LAB-wide signals provide clock, asynchronous clear, asynchronous preset, asynchronous load, synchronous clear, synchronous load, and clock enable control for the register. These LAB-wide signals are available in all LE modes. The Quartus II software, in conjunction with parameterized functions such as LPM and DesignWare functions, automatically chooses the appropriate mode for common functions such as counters, adders, and multipliers. If required, the designer can also create special-purpose functions that specify which LE operating mode to use for optimal performance. Figure 8 shows the LE operating modes. Altera Corporation 17 APEX 20K Programmable Logic Device Family Data Sheet Figure 8. APEX 20K LE Operating Modes Normal Mode (1) Carry-In (3) data1 data2 data3 data4 4-Input LUT D LAB-Wide Clock Enable (2) Cascade-In LE-Out PRN Q LE-Out ENA CLRN Cascade-Out Arithmetic Mode Carry-In Cascade-In LAB-Wide Clock Enable (2) LE-Out PRN Q data1 data2 3-Input LUT 3-Input LUT Carry-Out D LE-Out ENA CLRN Cascade-Out Counter Mode Cascade-In Carry-In LAB-Wide Synchronous Load (6) LAB-Wide Synchronous Clear (6) LAB-Wide Clock Enable (2) LE-Out (4) data1 (5) data2 (5) data3 (data) 3-Input LUT Carry-Out Cascade-Out PRN Q 3-Input LUT D LE-Out ENA CLRN Notes: (1) (2) (3) (4) (5) (6) LEs in normal mode support register packing. There are two LAB-wide clock enables per LAB. When using the carry-in in normal mode, the packed register feature is unavailable. A register feedback multiplexer is available on LE1 of each LAB. The DATA1 and DATA2 input signals can supply counter enable, up or down control, or register feedback signals for LEs other than the second LE in an LAB. The LAB-wide synchronous clear and LAB wide synchronous load affect all registers in an LAB. 18 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Normal Mode The normal mode is suitable for general logic applications, combinatorial functions, or wide decoding functions that can take advantage of a cascade chain. In normal mode, four data inputs from the LAB local interconnect and the carry-in are inputs to a four-input LUT. The Quartus II software Compiler automatically selects the carry-in or the DATA3 signal as one of the inputs to the LUT. The LUT output can be combined with the cascade-in signal to form a cascade chain through the cascade-out signal. LEs in normal mode support packed registers. Arithmetic Mode The arithmetic mode is ideal for implementing adders, accumulators, and comparators. An LE in arithmetic mode uses two 3-input LUTs. One LUT computes a three-input function; the other generates a carry output. As shown in Figure 8, the first LUT uses the carry-in signal and two data inputs from the LAB local interconnect to generate a combinatorial or registered output. For example, when implementing an adder, this output is the sum of three signals: DATA1, DATA2, and carry-in. The second LUT uses the same three signals to generate a carry-out signal, thereby creating a carry chain. The arithmetic mode also supports simultaneous use of the cascade chain. LEs in arithmetic mode can drive out registered and unregistered versions of the LUT output. The Quartus II software implements parameterized functions that use the arithmetic mode automatically where appropriate; the designer does not need to specify how the carry chain will be used. Counter Mode The counter mode offers clock enable, counter enable, synchronous up/down control, synchronous clear, and synchronous load options. The counter enable and synchronous up/down control signals are generated from the data inputs of the LAB local interconnect. The synchronous clear and synchronous load options are LAB-wide signals that affect all registers in the LAB. Consequently, if any of the LEs in an LAB use the counter mode, other LEs in that LAB must be used as part of the same counter or be used for a combinatorial function. The Quartus II software automatically places any registers that are not used by the counter into other LABs. Altera Corporation 19 APEX 20K Programmable Logic Device Family Data Sheet The counter mode uses two three-input LUTs: one generates the counter data, and the other generates the fast carry bit. A 2-to-1 multiplexer provides synchronous loading, and another AND gate provides synchronous clearing. If the cascade function is used by an LE in counter mode, the synchronous clear or load overrides any signal carried on the cascade chain. The synchronous clear overrides the synchronous load. LEs in arithmetic mode can drive out registered and unregistered versions of the LUT output. Clear & Preset Logic Control Logic for the register's clear and preset signals is controlled by LAB-wide signals. The LE directly supports an asynchronous clear function. The Quartus II software Compiler can use a NOT-gate push-back technique to emulate an asynchronous preset. Moreover, the Quartus II software Compiler can use a programmable NOT-gate push-back technique to emulate simultaneous preset and clear or asynchronous load. However, this technique uses three additional LEs per register. All emulation is performed automatically when the design is compiled. Registers that emulate simultaneous preset and load will enter an unknown state upon power-up or when the chip-wide reset is asserted. In addition to the two clear and preset modes, APEX 20K devices provide a chip-wide reset pin (DEV_CLRn) that resets all registers in the device. Use of this pin is controlled through an option in the Quartus II software that is set before compilation. The chip-wide reset overrides all other control signals. Registers using an asynchronous preset are preset when the chip-wide reset is asserted; this effect results from the inversion technique used to implement the asynchronous preset. FastTrack Interconnect In the APEX 20K architecture, connections between LEs, ESBs, and I/O pins are provided by the FastTrack Interconnect. The FastTrack Interconnect is a series of continuous horizontal and vertical routing channels that traverse the device. This global routing structure provides predictable performance, even in complex designs. In contrast, the segmented routing in FPGAs requires switch matrices to connect a variable number of routing paths, increasing the delays between logic resources and reducing performance. The FastTrack Interconnect consists of row and column interconnect channels that span the entire device. The row interconnect routes signals throughout a row of MegaLAB structures; the column interconnect routes signals throughout a column of MegaLAB structures. When using the row and column interconnect, an LE, IOE, or ESB can drive any other LE, IOE, or ESB in a device. See Figure 9. 20 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 9. APEX 20K Interconnect Structure Row Interconnect I/O I/O I/O I/O I/O MegaLAB MegaLAB MegaLAB MegaLAB I/O I/O MegaLAB MegaLAB MegaLAB MegaLAB I/O Column Interconnect Column Interconnect I/O MegaLAB MegaLAB MegaLAB MegaLAB I/O I/O I/O I/O I/O A row line can be driven directly by LEs, IOEs, or ESBs in that row. Further, a column line can drive a row line, allowing an LE, IOE, or ESB to drive elements in a different row via the column and row interconnect. The row interconnect drives the MegaLAB interconnect to drive LEs, IOEs, or ESBs in a particular MegaLAB structure. A column line can be directly driven by LEs, IOEs, or ESBs in that column. A column line on a device's left or right edge can also be driven by row IOEs. The column line is used to route signals from one row to another. A column line can drive a row line; it can also drive the MegaLAB interconnect directly, allowing faster connections between rows. Figure 10 shows how the FastTrack Interconnect uses the local interconnect to drive LEs within MegaLAB structures. Altera Corporation 21 APEX 20K Programmable Logic Device Family Data Sheet Figure 10. FastTrack Connection to Local Interconnect I/O Row I/O LL AA BB LE AS BB ELL SAA BBB L A B MegaLAB MegaLAB Column Row Row & Column Interconnect Drives MegaLAB Interconnect MegaLAB Interconnect MegaLAB Interconnect Drives Local Interconnect Column L A B L A B L A B E S B 22 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 11 shows the intersection of a row and column interconnect, and how these forms of interconnects and LEs drive each other. Figure 11. Driving the FastTrack Interconnect Row Interconnect MegaLAB Interconnect Column Interconnect LE Local Interconnect APEX 20KE devices include an enhanced interconnect structure for faster routing of input signals with high fan-out. Column I/O pins can drive the FastRow interconnect, which routes signals directly into the local interconnect without having to drive through the MegaLAB interconnect. FastRow lines traverse two MegaLAB structures. Also, these pins can drive the local interconnect directly for fast setup times. On EP20K300E and larger devices, the FastRow interconnect drives the two MegaLABs in the top left corner, the two MegaLABs in the top right corner, the two MegaLABS in the bottom left corner, and the two MegaLABs in the bottom right corner. On EP20K200E and smaller devices, FastRow interconnect drives the two MegaLABs on the top and the two MegaLABs on the bottom of the device. On all devices, the FastRow interconnect drives all local interconnect in the appropriate MegaLABs except the interconnect areas on the far left and far right of the MegaLAB. Pins using the FastRow interconnect achieve a faster set-up time, as the signal does not need to use a MegaLab interconnect line to reach the destination LE. Figure 12 shows the FastRow interconnect. Altera Corporation 23 APEX 20K Programmable Logic Device Family Data Sheet Figure 12. APEX 20KE FastRow Interconnect IOE IOE FastRow Interconnect FastRow Interconnect Drives Local Interconnect in Two MegaLAB Structures IOE IOE Select Vertical I/O Pins Drive Local Interconnect and FastRow Interconnect Local Interconnect LEs MegaLAB LABs MegaLAB Table 9 summarizes how various elements of the APEX 20K architecture drive each other. 24 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 9. APEX 20K Routing Scheme Source Row Column I/O Pin I/O Pin Row I/O Pin Column I/O Pin LE ESB Local Interconnect MegaLAB Interconnect Row FastTrack Interconnect Column FastTrack Interconnect FastRow Interconnect Note: (1) This connection is supported in APEX 20KE devices only. Destination LE ESB Local MegaLAB Interconnect Interconnect v v Row Column FastRow FastTrack FastTrack Interconnect Interconnect Interconnect v v v v v v v v v v v v v v v v v v v (1) v v v (1) Product-Term Logic The product-term portion of the MultiCore architecture is implemented with the ESB. The ESB can be configured to act as a block of macrocells on an ESB-by-ESB basis. Each ESB is fed by 32 inputs from the adjacent local interconnect; therefore, it can be driven by the MegaLAB interconnect or the adjacent LAB. Also, nine ESB macrocells feed back into the ESB through the local interconnect for higher performance. Dedicated clock pins, global signals, and additional inputs from the local interconnect drive the ESB control signals. In product-term mode, each ESB contains 16 macrocells. Each macrocell consists of two product terms and a programmable register. Figure 13 shows the ESB in product-term mode. Altera Corporation 25 APEX 20K Programmable Logic Device Family Data Sheet Figure 13. Product-Term Logic in ESB Dedicated Clocks Global Signals 4 2 or 4 (1) MegaLAB Interconnect 65 9 32 Macrocell Inputs (1-16) CLK[1..0] ENA[1..0] CLRN[1..0] 16 To Row and Column Interconnect From Adjacent LAB 2 2 2 Local Interconnect Note: (1) APEX 20KE devices have four dedicated clocks. Macrocells APEX 20K macrocells can be configured individually for either sequential or combinatorial logic operation. The macrocell consists of three functional blocks: the logic array, the product-term select matrix, and the programmable register. Combinatorial logic is implemented in the product terms. The productterm select matrix allocates these product terms for use as either primary logic inputs (to the OR and XOR gates) to implement combinatorial functions, or as parallel expanders to be used to increase the logic available to another macrocell. One product term can be inverted; the Quartus II software uses this feature to perform DeMorgan's inversion for more efficient implementation of wide OR functions. The Quartus II software Compiler can use a NOT-gate push-back technique to emulate an asynchronous preset. Figure 14 shows the APEX 20K macrocell. 26 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 14. APEX 20K Macrocell ESB-Wide ESB-Wide ESB-Wide Clears Clock Enables Clocks 2 Parallel Logic Expanders (From Other Macrocells) 2 2 Programmable Register ProductTerm Select Matrix D Q ESB Output Clock/ Enable Select ENA CLRN 32 Signals from Local Interconnect Clear Select For registered functions, each macrocell register can be programmed individually to implement D, T, JK, or SR operation with programmable clock control. The register can be bypassed for combinatorial operation. During design entry, the designer specifies the desired register type; the Quartus II software then selects the most efficient register operation for each registered function to optimize resource utilization. The Quartus II software or other synthesis tools can also select the most efficient register operation automatically when synthesizing HDL designs. Each programmable register can be clocked by one of two ESB-wide clocks. The ESB-wide clocks can be generated from device dedicated clock pins, global signals, or local interconnect. Each clock also has an associated clock enable, generated from the local interconnect. The clock and clock enable signals are related for a particular ESB; any macrocell using a clock also uses the associated clock enable. If both the rising and falling edges of a clock are used in an ESB, both ESB-wide clock signals are used. Altera Corporation 27 APEX 20K Programmable Logic Device Family Data Sheet The programmable register also supports an asynchronous clear function. Within the ESB, two asynchronous clears are generated from global signals and the local interconnect. Each macrocell can either choose between the two asynchronous clear signals or choose to not be cleared. Either of the two clear signals can be inverted within the ESB. Figure 15 shows the ESB control logic when implementing product-terms. Figure 15. ESB Product-Term Mode Control Logic Dedicated Clocks Global Signals Local Interconnect Local Interconnect Local Interconnect Local Interconnect 2 or 4 (1) 4 CLK2 CLKENA2 CLK1 CLKENA1 CLR2 CLR1 Note: (1) APEX 20KE devices have four dedicated clocks. Parallel Expanders Parallel expanders are unused product terms that can be allocated to a neighboring macrocell to implement fast, complex logic functions. Parallel expanders allow up to 32 product terms to feed the macrocell OR logic directly, with two product terms provided by the macrocell and 30 parallel expanders provided by the neighboring macrocells in the ESB. The Quartus II software Compiler can allocate up to 15 sets of up to two parallel expanders per set to the macrocells automatically. Each set of two parallel expanders incurs a small, incremental timing delay. Figure 16 shows the APEX 20K parallel expanders. 28 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 16. APEX 20K Parallel Expanders From Previous Macrocell ProductTerm Select Matrix Macrocell ProductTerm Logic Parallel Expander Switch ProductTerm Select Matrix Macrocell ProductTerm Logic Parallel Expander Switch 32 Signals from Local Interconnect To Next Macrocell Embedded System Block The ESB can implement various types of memory blocks, including dual-port RAM, ROM, FIFO, and CAM blocks. The ESB includes input and output registers; the input registers synchronize writes, and the output registers can pipeline designs to improve system performance. The ESB offers a dual-port mode, which supports simultaneous reads and writes at two different clock frequencies. Figure 17 shows the ESB block diagram. Figure 17. ESB Block Diagram wraddress[] data[] wren inclock inclocken inaclr rdaddress[] q[] rden outclock outclocken outaclr Altera Corporation 29 APEX 20K Programmable Logic Device Family Data Sheet ESBs can implement synchronous RAM, which is easier to use than asynchronous RAM. A circuit using asynchronous RAM must generate the RAM write enable (WE) signal, while ensuring that its data and address signals meet setup and hold time specifications relative to the WE signal. In contrast, the ESB's synchronous RAM generates its own WE signal and is self-timed with respect to the global clock. Circuits using the ESB's selftimed RAM must only meet the setup and hold time specifications of the global clock. ESB inputs are driven by the adjacent local interconnect, which in turn can be driven by the MegaLAB or FastTrack Interconnect. Because the ESB can be driven by the local interconnect, an adjacent LE can drive it directly for fast memory access. ESB outputs drive the MegaLAB and FastTrack Interconnect. In addition, ten ESB outputs, nine of which are unique output lines, drive the local interconnect for fast connection to adjacent LEs or for fast feedback product-term logic. When implementing memory, each ESB can be configured in any of the following sizes: 128 x 16, 256 x 8, 512 x 4, 1,024 x 2, or 2,048 x 1. By combining multiple ESBs, the Quartus II software implements larger memory blocks automatically. For example, two 128 x 16 RAM blocks can be combined to form a 128 x 32 RAM block, and two 512 x 4 RAM blocks can be combined to form a 512 x 8 RAM block. Memory performance does not degrade for memory blocks up to 2,048 words deep. Each ESB can implement a 2,048-word-deep memory; the ESBs are used in parallel, eliminating the need for any external control logic and its associated delays. To create a high-speed memory block that is more than 2,048 words deep, ESBs drive tri-state lines. Each tri-state line connects all ESBs in a column of MegaLAB structures, and drives the MegaLAB interconnect and row and column FastTrack Interconnect throughout the column. Each ESB incorporates a programmable decoder to activate the tri-state driver appropriately. For instance, to implement 8,192-word-deep memory, four ESBs are used. Eleven address lines drive the ESB memory, and two more drive the tri-state decoder. Depending on which 2,048-word memory page is selected, the appropriate ESB driver is turned on, driving the output to the tri-state line. The Quartus II software automatically combines ESBs with tri-state lines to form deeper memory blocks. The internal tri-state control logic is designed to avoid internal contention and floating lines. See Figure 18. 30 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 18. Deep Memory Block Implemented with Multiple ESBs Address Decoder ESB ESB to System Logic ESB The ESB implements two forms of dual-port memory: read/write clock mode and input/output clock mode. The ESB can also be used for bidirectional, dual-port memory applications in which two ports read or write simultaneously. To implement this type of dual-port memory, two or four ESBs are used to support two simultaneous reads or writes. This functionality is shown in Figure 19. Figure 19. APEX 20K ESB Implementing Dual-Port RAM Port A address_a[] data_a[] we_a clkena_a Clock A Port B address_b[] data_b[] we_b clkena_b Clock B Altera Corporation 31 APEX 20K Programmable Logic Device Family Data Sheet Read/Write Clock Mode The read/write clock mode contains two clocks. One clock controls all registers associated with writing: data input, WE, and write address. The other clock controls all registers associated with reading: read enable (RE), read address, and data output. The ESB also supports clock enable and asynchronous clear signals; these signals also control the read and write registers independently. Read/write clock mode is commonly used for applications where reads and writes occur at different system frequencies. Figure 20 shows the ESB in read/write clock mode. Figure 20. ESB in Read/Write Clock Mode Dedicated Inputs & Global Signals Dedicated Clocks 2 or 4 (2) 4 RAM/ROM 128 x 16 256 x 8 512 x 4 Data In 1,024 x 2 2,048 x 1 Data Out D ENA Q Note (1) data[ ] D ENA Q To MegaLAB, FastTrack & Local Interconnect rdaddress[ ] D ENA Q Read Address wraddress[ ] D Q Write Address ENA rden Read Enable wren D ENA Q outclocken Write Enable inclocken D Q ENA inclock Write Pulse Generator outclock Notes: (1) (2) All registers can be cleared asynchronously by ESB local interconnect signals, global signals, or the chip-wide reset. APEX 20KE devices have four dedicated clocks. 32 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Input/Output Clock Mode The input/output clock mode contains two clocks. One clock controls all registers for inputs into the ESB: data input, WE, RE, read address, and write address. The other clock controls the ESB data output registers. The ESB also supports clock enable and asynchronous clear signals; these signals also control the reading and writing of registers independently. Input/output clock mode is commonly used for applications where the reads and writes occur at the same system frequency, but require different clock enable signals for the input and output registers. Figure 21 shows the ESB in input/output clock mode. Figure 21. ESB in Input/Output Clock Mode Dedicated Inputs & Global Signals Dedicated Clocks 2 or 4 (2) 4 RAM/ROM 128 x 16 256 x 8 512 x 4 Data In 1,024 x 2 2,048 x 1 Data Out D ENA Q Notes (1), (2) data[ ] D ENA Q to MegaLAB, FastTrack & Local Interconnect rdaddress[ ] D ENA Q Read Address wraddress[ ] D Q Write Address ENA rden Read Enable wren D ENA Q outclken Write Enable inclken D Q ENA inclock Write Pulse Generator outclock Notes: (1) (2) All registers can be cleared asynchronously by ESB local interconnect signals, global signals, or the chip-wide reset. APEX 20KE devices have four dedicated clocks. Altera Corporation 33 APEX 20K Programmable Logic Device Family Data Sheet Single-Port Mode The APEX 20K ESB also supports a single-port mode, which is used when simultaneous reads and writes are not required. See Figure 22. Figure 22. ESB in Single-Port Mode Dedicated Inputs & Global Signals Dedicated Clocks 2 or 4 (2) 4 RAM/ROM 128 x 16 256 x 8 512 x 4 Data In 1,024 x 2 2,048 x 1 Data Out D ENA Q Note (1) data[ ] D ENA Q to MegaLAB, FastTrack & Local Interconnect address[ ] D ENA Q Address wren outclken Write Enable inclken D Q ENA inclock Write Pulse Generator outclock Notes: (1) (2) All registers can be asynchronously cleared by ESB local interconnect signals, global signals, or the chip-wide reset. APEX 20KE devices have four dedicated clocks. Content-Addressable Memory In APEX 20KE devices, the ESB can implement CAM. CAM can be thought of as the inverse of RAM. When read, RAM outputs the data for a given address. Conversely, CAM outputs an address for a given data word. For example, if the data FA12 is stored in address 14, the CAM outputs 14 when FA12 is driven into it. CAM is used for high-speed search operations. When searching for data within a RAM block, the search is performed serially. Thus, finding a particular data word can take many cycles. CAM searches all addresses in parallel and outputs the address storing a particular word. When a match is found, a match flag is set high. Figure 23 shows the CAM block diagram. 34 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 23. APEX 20KE CAM Block Diagram wraddress[] data[] wren inclock inclocken inaclr data_address[] match outclock outclocken outaclr CAM can be used in any application requiring high-speed searches, such as networking, communications, data compression, and cache management. The APEX 20KE on-chip CAM provides faster system performance than traditional discrete CAM. Integrating CAM and logic into the APEX 20KE device eliminates off-chip and on-chip delays, improving system performance. When in CAM mode, the ESB implements 32-word, 32-bit CAM. Wider or deeper CAM can be implemented by combining multiple CAMs with some ancillary logic implemented in LEs. The Quartus II software combines ESBs and LEs automatically to create larger CAMs. CAM supports writing "don't care" bits into words of the memory. The "don't-care" bit can be used as a mask for CAM comparisons; any bit set to "don't-care" has no effect on matches. The output of the CAM can be encoded or unencoded. When encoded, the ESB outputs an encoded address of the data's location. For instance, if the data is located in address 12, the ESB output is 12. When unencoded, the ESB uses its 16 outputs to show the location of the data over two clock cycles. In this case, if the data is located in address 12, the 12th output line goes high. When using unencoded outputs, two clock cycles are required to read the output because a 16-bit output bus is used to show the status of 32 words. The encoded output is better suited for designs that ensure duplicate data is not written into the CAM. If duplicate data is written into two locations, the CAM's output will be incorrect. If the CAM may contain duplicate data, the unencoded output is a better solution; CAM with unencoded outputs can distinguish multiple data locations. CAM can be pre-loaded with data during configuration, or it can be written during system operation. In most cases, two clock cycles are required to write each word into CAM. When "don't-care" bits are used, a third clock cycle is required. Altera Corporation 35 APEX 20K Programmable Logic Device Family Data Sheet f For more information on APEX 20KE devices and CAM, see Application Note 119 (Implementing High-Speed Search Applications with APEX CAM). Driving Signals to the ESB ESBs provide flexible options for driving control signals. Different clocks can be used for the ESB inputs and outputs. Registers can be inserted independently on the data input, data output, read address, write address, WE, and RE signals. The global signals and the local interconnect can drive the WE and RE signals. The global signals, dedicated clock pins, and local interconnect can drive the ESB clock signals. Because the LEs drive the local interconnect, the LEs can control the WE and RE signals and the ESB clock, clock enable, and asynchronous clear signals. Figure 24 shows the ESB control signal generation logic. Figure 24. ESB Control Signal Generation Dedicated Clocks Global Signals Local Interconnect Local Interconnect Local Interconnect Local Interconnect Local Interconnect Local Interconnect RDEN 2 or 4 (1) 4 INCLKENA OUTCLKENA WREN INCLOCK OUTCLOCK INCLR OUTCLR Note: (1) APEX 20KE devices have four dedicated clocks. An ESB is fed by the local interconnect, which is driven by adjacent LEs (for high-speed connection to the ESB) or the MegaLAB interconnect. The ESB can drive the local, MegaLAB, or FastTrack Interconnect routing structure to drive LEs and IOEs in the same MegaLAB structure or anywhere in the device. 36 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Implementing Logic in ROM In addition to implementing logic with product terms, the ESB can implement logic functions when it is programmed with a read-only pattern during configuration, creating a large LUT. With LUTs, combinatorial functions are implemented by looking up the results, rather than by computing them. This implementation of combinatorial functions can be faster than using algorithms implemented in general logic, a performance advantage that is further enhanced by the fast access times of ESBs. The large capacity of ESBs enables designers to implement complex functions in one logic level without the routing delays associated with linked LEs or distributed RAM blocks. Parameterized functions such as LPM functions can take advantage of the ESB automatically. Further, the Quartus II software can implement portions of a design with ESBs where appropriate. Programmable Speed/Power Control APEX 20K ESBs offer a high-speed mode that supports very fast operation on an ESB-by-ESB basis. When high speed is not required, this feature can be turned off to reduce the ESB's power dissipation by up to 50%. ESBs that run at low power incur a nominal timing delay adder. This Turbo BitTM option is available for ESBs that implement product-term logic or memory functions. An ESB that is not used will be powered down so that it does not consume DC current. Designers can program each ESB in the APEX 20K device for either high-speed or low-power operation. As a result, speed-critical paths in the design can run at high speed, while the remaining paths operate at reduced power. I/O Structure The APEX 20K IOE contains a bidirectional I/O buffer and a register that can be used either as an input register for external data requiring fast setup times, or as an output register for data requiring fast clock-to-output performance. IOEs can be used as input, output, or bidirectional pins. For fast bidirectional I/O timing, LE registers using local routing can improve setup times and OE timing. The Quartus II software Compiler uses the programmable inversion option to invert signals from the row and column interconnect automatically where appropriate. Because the APEX 20K IOE offers one output enable per pin, the Quartus II software Compiler can emulate open-drain operation efficiently. The APEX 20K IOE includes programmable delays that can be activated to ensure zero hold times, minimum clock-to-output times, input IOE register-to-core register transfers, or core-to-output IOE register transfers. A path in which a pin directly drives a register may require the delay to ensure zero hold time, whereas a path in which a pin drives a register through combinatorial logic may not require the delay. Altera Corporation 37 APEX 20K Programmable Logic Device Family Data Sheet Table 10 describes the APEX 20K programmable delays and their logic options in the Quartus II software. Table 10. APEX 20K Programmable Delay Chains Programmable Delays Input pin to core delay Input pin to input register delay Core to output register delay Output register tCO delay Quartus II Logic Option Decrease input delay to internal cells Decrease input delay to input register Decrease input delay to output register Increase delay to output pin The Quartus II software Compiler can program these delays automatically to minimize setup time while providing a zero hold time. Figure 25 shows how fast bidirectional I/Os are implemented in APEX 20K devices. The register in the APEX 20K IOE can be programmed to power-up high or low after configuration is complete. If it is programmed to power-up low, an asynchronous clear can control the register. If it is programmed to power-up high, the register cannot be asynchronously cleared or preset. This feature is useful for cases where the APEX 20K device controls an active-low input or another device; it prevents inadvertent activation of the input upon power-up. 38 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 25. APEX 20K Bidirectional I/O Registers Row, Column, or Local Interconnect 2 Dedicated Clock Inputs Peripheral Control Bus Note (1) 4 Dedicated Inputs OE Register D Q VCC ENA CLRN Chip-Wide Reset VCC OE[7..0] Chip-Wide Output Enable VCCIO Input Pin to Core Delay 12 2 VCC Core to Output Register Delay Input Pin to Input Register Delay CLK[1..0] ENA CLRN Output Register D Q Output Register t CODelay Optional PCI Clamp Open-Drain Output Slew-Rate Control CLK[3..2] VCC ENA[5..0] VCC CLRn[1..0] Chip-Wide Reset Input Register D VCC ENA CLRN Q VCC Chip-Wide Reset Note: (1) The output enable and input registers are LE registers in the LAB adjacent to the bidirectional pin. Altera Corporation 39 APEX 20K Programmable Logic Device Family Data Sheet APEX 20KE devices include an enhanced IOE, which drives the FastRow interconnect. The FastRow interconnect connects a column I/O pin directly to the LAB local interconnect within two MegaLAB structures. This feature provides fast setup times for pins that drive high fan-outs with complex logic, such as PCI designs. For fast bidirectional I/O timing, LE registers using local routing can improve setup times and OE timing. The APEX 20KE IOE also includes direct support for open-drain operation, giving faster clock-to-output for open-drain signals. Some programmable delays in the APEX 20KE IOE offer multiple levels of delay to fine-tune setup and hold time requirements. The Quartus II software Compiler can set these delays automatically to minimize setup time while providing a zero hold time. Table 11 describes the APEX 20KE programmable delays and their logic options in the Quartus II software. Table 11. APEX 20KE Programmable Delay Chains Programmable Delays Input Pin to Core Delay Input Pin to Input Register Delay Core to Output Register Delay Output Register tCO Delay Clock Enable Delay Quartus II Logic Option Decrease input delay to internal cells Decrease input delay to input registers Decrease input delay to output register Increase delay to output pin Increase clock enable delay The register in the APEX 20KE IOE can be programmed to power-up high or low after configuration is complete. If it is programmed to power-up low, an asynchronous clear can control the register. If it is programmed to power-up high, an asynchronous preset can control the register. Figure 26 shows how fast bidirectional I/O pins are implemented in APEX 20KE devices. This feature is useful for cases where the APEX 20KE device controls an active-low input or another device; it prevents inadvertent activation of the input upon power-up. 40 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 26. APEX 20KE Bidirectional I/O Registers Row, Column, FastRow, 4 Dedicated or Local Interconnect Clock Inputs 4 Dedicated Inputs Peripheral Control Bus Notes (1), (2) OE Register D Q VCC ENA CLRN Chip-Wide Reset VCC OE[7..0] Chip-Wide Output Enable Input Pin to Core Delay (1) Input Pin to Core Delay (1) 12 4 VCC Core to Output Register Delay Input Pin to Input Register Delay CLK[1..0] Output Register D Q Output Register t CO Delay VCCIO Optional PCI Clamp Open-Drain Output Slew-Rate Control ENA CLRN/ PRN CLK[3..0] VCC ENA[5..0] Clock Enable Delay (1) VCC CLRn[1..0] Chip-Wide Reset Input Register D VCC ENA CLRN Q Input Pin to Core Delay (1) VCC Chip-Wide Reset Notes: (1) (2) This programmable delay has four settings: off and three levels of delay. The output enable and input registers are LE registers in the LAB adjacent to the bidirectional pin. Altera Corporation 41 APEX 20K Programmable Logic Device Family Data Sheet Each IOE drives a row, column, MegaLAB, or local interconnect when used as an input or bidirectional pin. A row IOE can drive a local, MegaLAB, row, and column interconnect; a column IOE can drive the column interconnect. Figure 27 shows how a row IOE connects to the interconnect. Figure 27. Row IOE Connection to the Interconnect Row Interconnect MegaLAB Interconnect Any LE can drive a pin through the row, column, and MegaLAB interconnect. LAB IOE Each IOE can drive local, MegaLAB, row, and column interconnect. Each IOE data and OE signal is driven by the local interconnect. IOE An LE can drive a pin through the local interconnect for faster clock-to-output times. 42 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 28 shows how a column IOE connects to the interconnect. Figure 28. Column IOE Connection to the Interconnect Each IOE can drive column interconnect. In APEX 20KE devices, IOEs can also drive FastRow interconnect. Each IOE data and OE signal is driven by local interconnect. IOE IOE An LE or ESB can drive a pin through a local interconnect for faster clock-to-output times. LAB Any LE or ESB can drive a column pin through a row, column, and MegaLAB interconnect. Column Interconnect Row Interconnect MegaLAB Interconnect Dedicated Fast I/O Pins APEX 20KE devices incorporate an enhancement to support bidirectional pins with high internal fanout such as PCI control signals. These pins are called Dedicated Fast I/O pins (FAST1, FAST2, FAST3, and FAST4) and replace dedicated inputs. These pins can be used for fast clock, clear, or high fanout logic signal distribution. They also can drive out. The Dedicated Fast I/O pin data output and tri-state control are driven by local interconnect from the adjacent MegaLAB for high speed. Altera Corporation 43 APEX 20K Programmable Logic Device Family Data Sheet Advanced I/O Standard Support APEX 20KE IOEs support the following I/O standards: LVTTL, LVCMOS, 1.8-V I/O, 2.5-V I/O, 3.3-V PCI, PCI-X, 3.3-V AGP, LVDS, LVPECL, GTL+, CTT, HSTL Class I, SSTL-3 Class I and II, and SSTL-2 Class I and II. f For more information on I/O standards supported by APEX 20KE devices, see Application Note 117 (Using Selectable I/O Standards in Altera Devices). The APEX 20KE device contains eight I/O banks. In QFP packages, the banks are linked to form four I/O banks. The I/O banks directly support all standards except LVDS and LVPECL. All I/O banks can support LVDS and LVPECL with the addition of external resistors. In addition, one block within a bank contains circuitry to support high-speed True-LVDS and LVPECL inputs, and another block within a particular bank supports high-speed True-LVDS and LVPECL outputs. The LVDS blocks support all of the I/O standards. Each I/O bank has its own VCCIO pins. A single device can support 1.8-V, 2.5-V, and 3.3-V interfaces; each bank can support a different standard independently. Each bank can also use a separate VREF level so that each bank can support any of the terminated standards (such as SSTL-3) independently. Within a bank, any one of the terminated standards can be supported. EP20K300E and larger APEX 20KE devices support the LVDS interface for data pins (smaller devices support LVDS clock pins, but not data pins). All EP20K300E and larger devices support the LVDS interface for data pins up to 155 Mbit per channel; EP20K400E devices and larger with an X-suffix on the ordering code add a serializer/deserializer circuit and PLL for higher-speed support. Each bank can support multiple standards with the same VCCIO for output pins. Each bank can support one voltage-referenced I/O standard, but it can support multiple I/O standards with the same VCCIO voltage level. For example, when VCCIO is 3.3 V, a bank can support LVTTL, LVCMOS, 3.3-V PCI, and SSTL-3 for inputs and outputs. When the LVDS banks are not used as LVDS I/O banks, they support all of the other I/O standards. Figure 29 shows the arrangement of the APEX 20KE I/O banks. 44 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 29. APEX 20KE I/O Banks I/O Bank 1 I/O Bank 2 I/O Bank 3 I/O Bank 8 Regular I/O Blocks Support LVTTL LVCMOS 2.5 V 1.8 V 3.3 V PCI LVPECL HSTL Class I GTL+ SSTL-2 Class I and II SSTL-3 Class I and II CTT AGP Individual Power Bus (1) LVDS/LVPECL Input Block (2) LVDS/LVPECL Output Block (2) (1) I/O Bank 7 I/O Bank 4 I/O Bank 6 I/O Bank 5 Notes: (1) For more information on placing I/O pins in LVDS blocks, refer to the "Guidelines for Using LVDS Blocks" section in Application Note 120 (Using LVDS in APEX 20KE Devices). If the LVDS input and output blocks are not used for LVDS, they can support all of the I/O standards and can be used as input, output, or bidirectional pins with VCCIO set to 3.3 V, 2.5 V, or 1.8 V. (2) Power Sequencing & Hot Socketing Because APEX 20K and APEX 20KE devices can be used in a mixedvoltage environment, they have been designed specifically to tolerate any possible power-up sequence. Therefore, the VCCIO and VCCINT power supplies may be powered in any order. Signals can be driven into APEX 20K devices before and during power-up without damaging the device. In addition, APEX 20K devices do not drive out during power-up. Once operating conditions are reached and the device is configured, APEX 20K and APEX 20KE devices operate as specified by the user. Under hot socketing conditions, APEX 20KE devices will not sustain any damage, but the I/O pins will drive out. Altera Corporation 45 APEX 20K Programmable Logic Device Family Data Sheet MultiVolt I/O Interface The APEX device architecture supports the MultiVolt I/O interface feature, which allows APEX devices in all packages to interface with systems of different supply voltages. The devices have one set of VCC pins for internal operation and input buffers (VCCINT), and another set for I/O output drivers (VCCIO). The APEX 20K VCCINT pins must always be connected to a 2.5 V power supply. With a 2.5-V VCCINT level, input pins are 2.5-V and 3.3-V tolerant. Certain devices, identified by a "V" suffix following the speed grade in the ordering code (e.g., EP20K400BC652-1V), are 5.0-V tolerant. The VCCIO pins can be connected to either a 2.5-V or 3.3-V power supply, depending on the output requirements. When VCCIO pins are connected to a 2.5-V power supply, the output levels are compatible with 2.5-V systems. When the 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 12 summarizes 5.0-V tolerant APEX 20K MultiVolt I/O support. Table 12. 5.0-V Tolerant APEX 20K MultiVolt I/O Support VCCIO (V) 2.5 2.5 3.3 Notes: (1) (2) (3) The PCI clamping diode must be disabled to drive an input with voltages higher than VCCIO . APEX 20K devices with a "V" suffix are 5.0-V tolerant. When VCCIO = 3.3 V, an APEX 20K device can drive a 2.5-V device with 3.3-V tolerant inputs. Input Signals (V) 3.3 v(1) v Output Signals (V) 5.0 2.5 v v(3) v v 3.3 5.0 v v v(1), (2) v(1), (2) Open-drain output pins on 5.0-V tolerant APEX 20K devices (with a pullup resistor to the 5.0-V supply) can drive 5.0-V CMOS input pins that require a VIH of 3.5 V. When the pin is inactive, the trace will be pulled up to 5.0 V by the resistor. The open-drain pin will only drive low or tri-state; it will never drive high. The rise time is dependent on the value of the pullup resistor and load impedance. The IOL current specification should be considered when selecting a pull-up resistor. 46 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet APEX 20KE devices also support the MultiVolt I/O interface feature. The APEX 20KE VCCINT pins must always be connected to a 1.8-V power supply. With a 1.8-V VCCINT level, input pins are 1.8-V, 2.5-V, and 3.3-V tolerant. The VCCIO pins can be connected to either a 1.8-V, 2.5-V, or 3.3-V power supply, depending on the I/O standard requirements. When the VCCIO pins are connected to a 1.8-V power supply, the output levels are compatible with 1.8-V systems. When VCCIO pins are connected to a 2.5-V power supply, the output levels are compatible with 2.5-V systems. When VCCIO pins are connected to a 3.3-V power supply, the output high is 3.3 V and compatible with 3.3-V or 5.0-V systems. An APEX 20KE device is 5.0-V tolerant with the addition of a resistor. Table 13 summarizes APEX 20KE MultiVolt I/O support. Table 13. APEX 20KE MultiVolt I/O Support VCCIO (V) 1.8 1.8 2.5 3.3 Notes: (1) (2) (3) The PCI clamping diode must be disabled to drive an input with voltages higher than VCCIO , except for the 5.0-V input case. An APEX 20KE device can be made 5.0-V tolerant with the addition of an external resistor. You also need a PCI clamp and series resistor. When VCCIO = 3.3 V, an APEX 20KE device can drive a 2.5-V device with 3.3-V tolerant inputs. Input Signals (V) 2.5 v (1) v v Output Signals (V) 5.0 1.8 v v v (2) v (2) v v 3.3 v(1) v(1) v 2.5 3.3 5.0 v ClockLock & ClockBoost Features APEX 20K devices support the ClockLock and ClockBoost clock management features, which are implemented with PLLs. The ClockLock circuitry uses a synchronizing PLL that reduces the clock delay and skew within a device. This reduction minimizes clock-to-output and setup times while maintaining zero hold times. The ClockBoost circuitry, which provides a clock multiplier, allows the designer to enhance device area efficiency by sharing resources within the device. The ClockBoost circuitry allows the designer to distribute a low-speed clock and multiply that clock on-device. APEX 20K devices include a high-speed clock tree; unlike ASICs, the user does not have to design and optimize the clock tree. The ClockLock and ClockBoost features work in conjunction with the APEX 20K device's high-speed clock to provide significant improvements in system performance and band-width. Devices with an X-suffix on the ordering code include the ClockLock circuit. The ClockLock and ClockBoost features in APEX 20K devices are enabled through the Quartus II software. External devices are not required to use these features. Altera Corporation 47 APEX 20K Programmable Logic Device Family Data Sheet For designs that require both a multiplied and non-multiplied clock, the clock trace on the board can be connected to CLK2p. Table 14 shows the combinations supported by the ClockLock and ClockBoost circuitry. The CLK2p pin can feed both the ClockLock and ClockBoost circuitry in the APEX 20K device. However, when both circuits are used, the other clock pin (CLK1p) cannot be used. Table 14. Multiplication Factor Combinations Clock 1 x1 x1, x2 x1, x2, x4 Clock 2 x1 x2 x4 APEX 20KE ClockLock Feature APEX 20KE devices include an enhanced ClockLock feature set. These devices include up to four PLLs, which can be used independently. Two PLLs are designed for either general-purpose use or LVDS use (on devices that support LVDS I/O pins). The remaining two PLLs are designed for general-purpose use. The EP20K200E and smaller devices have two PLLs; the EP20K300E and larger devices have four PLLs. The following sections describe some of the features offered by the APEX 20KE PLLs. External PLL Feedback The ClockLock circuit's output can be driven off-chip to clock other devices in the system; further, the feedback loop of the PLL can be routed off-chip. This feature allows the designer to exercise fine control over the I/O interface between the APEX 20KE device and another high-speed device, such as SDRAM. Clock Multiplication The APEX 20KE ClockBoost circuit can multiply or divide clocks by a programmable number. The clock can be multiplied by m/(n x k) or m/(n x v), where m and k range from 2 to 160, and n and v range from 1 to 16. Clock multiplication and division can be used for time-domain multiplexing and other functions, which can reduce design LE requirements. 48 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Clock Phase & Delay Adjustment The APEX 20KE ClockShift feature allows the clock phase and delay to be adjusted. The clock phase can be adjusted by 90 steps. The clock delay can be adjusted to increase or decrease the clock delay by an arbitrary amount, up to one clock period. LVDS Support Two PLLs are designed to support the LVDS interface. When using LVDS, the I/O clock runs at a slower rate than the data transfer rate. Thus, PLLs are used to multiply the I/O clock internally to capture the LVDS data. For example, an I/O clock may run at 105 MHz to support 840 megabits per second (Mbps) LVDS data transfer. In this example, the PLL multiplies the incoming clock by eight to support the high-speed data transfer. You can use PLLs in EP20K400E and larger devices for high-speed LVDS interfacing. Lock Signals The APEX 20KE ClockLock circuitry supports individual LOCK signals. The LOCK signal drives high when the ClockLock circuit has locked onto the input clock. The LOCK signals are optional for each ClockLock circuit; when not used, they are I/O pins. ClockLock & ClockBoost Timing Parameters For the ClockLock and ClockBoost circuitry to function properly, the incoming clock must meet certain requirements. If these specifications are not met, the circuitry may not lock onto the incoming clock, which generates an erroneous clock within the device. The clock generated by the ClockLock and ClockBoost circuitry must also meet certain specifications. If the incoming clock meets these requirements during configuration, the APEX 20K ClockLock and ClockBoost circuitry will lock onto the clock during configuration. The circuit will be ready for use immediately after configuration. In APEX 20KE devices, the clock input standard is programmable, so the PLL cannot respond to the clock until the device is configured. The PLL locks onto the input clock as soon as configuration is complete. Figure 30 shows the incoming and generated clock specifications. 1 For more information on ClockLock and ClockBoost circuitry, see Application Note 115: Using the ClockLock and ClockBoost PLL Features in APEX Devices. Altera Corporation 49 APEX 20K Programmable Logic Device Family Data Sheet Figure 30. Specifications for the Incoming & Generated Clocks The tI parameter refers to the nominal input clock period; the tO parameter refers to the nominal output clock period. f CLK1, f CLK2 , f CLK4 t INDUTY t I + t CLKDEV Input Clock tR tF t OUTDUTY tO tI + t INCLKSTB ClockLock Generated Clock tO tO + t JITTER tO t JITTER Table 15 summarizes the APEX 20K ClockLock and ClockBoost parameters for -1 speed-grade devices. Table 15. APEX 20K ClockLock & ClockBoost Parameters for -1 Speed-Grade Devices (Part 1 of 2) Symbol fOUT fCLK1 (1) fCLK2 fCLK4 tOUTDUTY Parameter Output frequency Input clock frequency (ClockBoost clock multiplication factor equals 1) Input clock frequency (ClockBoost clock multiplication factor equals 2) Input clock frequency (ClockBoost clock multiplication factor equals 4) Duty cycle for ClockLock/ClockBoost-generated clock Input deviation from user specification in the Quartus II software (ClockBoost clock multiplication factor equals 1) (2) Input rise time Input fall time Min 25 25 16 10 40 Max 180 180 (1) 90 48 60 Unit MHz MHz MHz MHz % fCLKDEV 25,000 (3) PPM tR tF 5 5 ns ns 50 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 15. APEX 20K ClockLock & ClockBoost Parameters for -1 Speed-Grade Devices (Part 2 of 2) Symbol tLOCK Parameter Time required for ClockLock/ClockBoost to acquire lock(4) Skew delay between related ClockLock/ClockBoost-generated clocks Jitter on ClockLock/ClockBoostgenerated clock (5) Input clock stability (measured between adjacent clocks) Min Max 10 Unit s tSKEW 500 ps tJITTER tINCLKSTB 200 50 ps ps Notes: (1) (2) The PLL input frequency range for the EP20K100-1X device for 1x multiplication is 25 MHz to 175 MHz. All input clock specifications must be met. The PLL may not lock onto an incoming clock if the clock specifications are not met, creating an erroneous clock within the device. During device configuration, the ClockLock and ClockBoost circuitry is configured first. If the incoming clock is supplied during configuration, the ClockLock and ClockBoost circuitry locks during configuration, because the lock time is less than the configuration time. The jitter specification is measured under long-term observation. If the input clock stability is 100 ps, tJITTER is 250 ps. (3) (4) (5) Altera Corporation 51 APEX 20K Programmable Logic Device Family Data Sheet Table 16 summarizes the APEX 20K ClockLock and ClockBoost parameters for -2 speed grade devices. Table 16. APEX 20K ClockLock & ClockBoost Parameters for -2 Speed Grade Devices Symbol fOUT f CLK1 f CLK2 f CLK4 t OUTDUTY f CLKDEV Parameter Output frequency Input clock frequency (ClockBoost clock multiplication factor equals 1) Input clock frequency (ClockBoost clock multiplication factor equals 2) Input clock frequency (ClockBoost clock multiplication factor equals 4) Duty cycle for ClockLock/ClockBoostgenerated clock Input deviation from user specification in the Quartus II software (ClockBoost clock multiplication factor equals one) (1) Input rise time Input fall time Time required for ClockLock/ ClockBoost to acquire lock (3) Skew delay between related ClockLock/ ClockBoost-generated clock Jitter on ClockLock/ ClockBoostgenerated clock (4) Input clock stability (measured between adjacent clocks) Min 25 25 16 10 40 Max 170 170 80 34 60 25,000 (2) Unit MHz MHz MHz MHz % PPM tR tF t LOCK 5 5 10 ns ns s t SKEW 500 500 ps t JITTER t INCLKSTB 200 50 ps ps Notes: (1) To implement the ClockLock and ClockBoost circuitry with the Quartus II software, designers must specify the input frequency. The Quartus II software tunes the PLL in the ClockLock and ClockBoost circuitry to this frequency. The fCLKDEV parameter specifies how much the incoming clock can differ from the specified frequency during device operation. Simulation does not reflect this parameter. Twenty-five thousand parts per million (PPM) equates to 2.5% of input clock period. During device configuration, the ClockLock and ClockBoost circuitry is configured before the rest of the device. If the incoming clock is supplied during configuration, the ClockLock and ClockBoost circuitry locks during configuration because the tLOCK value is less than the time required for configuration. The tJITTER specification is measured under long-term observation. (2) (3) (4) 52 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Tables 17 and 18 summarize the ClockLock and ClockBoost parameters for APEX 20KE devices. Table 17. APEX 20KE ClockLock & ClockBoost Parameters Symbol tR tF t INDUTY t INJITTER tOUTJITTER tOUTDUTY tLOCK (2), (3) Note (1) Min Typ Max 5 5 40 60 2% of input period 0.35% of output period 45 55 40 Parameter Input rise time Input fall time Input duty cycle Input jitter peak-to-peak Jitter on ClockLock or ClockBoostgenerated clock Duty cycle for ClockLock or ClockBoost-generated clock Time required for ClockLock or ClockBoost to acquire lock Condition Unit ns ns % peak-topeak RMS % s Altera Corporation 53 APEX 20K Programmable Logic Device Family Data Sheet Table 18. APEX 20KE Clock Input & Output Parameters Symbol Parameter I/O Standard Note (1) -1X Speed Grade Min Max 500 335 335 245 234 223 205 158 142 166 149 420 245 234 223 205 158 142 166 149 420 290 281 272 303 291 291 300 300 420 -2X Speed Grade Min 200 1.5 20 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 20 20 20 20 20 20 20 20 20 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 Units Max 500 200 200 226 221 216 193 157 142 162 146 350 226 221 216 193 157 142 162 146 350 257 250 243 261 253 253 260 260 350 MHz MHz fVCO (4) fCLOCK0 fCLOCK1 fCLOCK0_EXT Voltage controlled oscillator operating range Clock0 PLL output frequency for internal use Clock1 PLL output frequency for internal use Output clock frequency for external clock0 output 3.3-V LVTTL 2.5-V LVTTL 1.8-V LVTTL GTL+ SSTL-2 Class I SSTL-2 Class II SSTL-3 Class I SSTL-3 Class II LVDS 200 1.5 20 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 20 20 20 20 20 20 20 20 20 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz MHz fCLOCK1_EXT Output clock frequency for external clock1 output 3.3-V LVTTL 2.5-V LVTTL 1.8-V LVTTL GTL+ SSTL-2 Class I SSTL-2 Class II SSTL-3 Class I SSTL-3 Class II LVDS fIN Input clock frequency 3.3-V LVTTL 2.5-V LVTTL 1.8-V LVTTL GTL+ SSTL-2 Class I SSTL-2 Class II SSTL-3 Class I SSTL-3 Class II LVDS Notes to tables: (1) (2) (3) All input clock specifications must be met. The PLL may not lock onto an incoming clock if the clock specifications are not met, creating an erroneous clock within the device. The maximum lock time is 40 s or 2000 input clock cycles, whichever occurs first. Before configuration, the PLL circuits are disable and powered down. During configuration, the PLLs are still disabled. The PLLs begin to lock once the device is in the user mode. If the clock enable feature is used, lock begins once the CLKLK_ENA pin goes high in user mode. The PLL VCO operating range is 200 MHz fVCO 840 MHz for LVDS mode. (4) 54 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet SignalTap Embedded Logic Analyzer APEX 20K devices include device enhancements to support the SignalTap embedded logic analyzer. By including this circuitry, the APEX 20K device provides the ability to monitor design operation over a period of time through the IEEE Std. 1149.1 (JTAG) circuitry; a designer can analyze internal logic at speed without bringing internal signals to the I/O pins. This feature is particularly important for advanced packages such as FineLine BGA packages because adding a connection to a pin during the debugging process can be difficult after a board is designed and manufactured. All APEX 20K devices provide JTAG BST circuitry that complies with the IEEE Std. 1149.1-1990 specification. JTAG boundary-scan testing can be performed before or after configuration, but not during configuration. APEX 20K devices can also use the JTAG port for configuration with the Quartus II software or with hardware using either Jam Files (.jam) or Jam Byte-Code Files (.jbc). Finally, APEX 20K devices use the JTAG port to monitor the logic operation of the device with the SignalTap embedded logic analyzer. APEX 20K devices support the JTAG instructions shown in Table 19. Although EP20K1500E devices support the JTAG BYPASS and SignalTap instructions, they do not support boundary-scan testing or the use of the JTAG port for configuration. IEEE Std. 1149.1 (JTAG) Boundary-Scan Support Table 19. APEX 20K JTAG Instructions JTAG Instruction SAMPLE/PRELOAD Description Allows a snapshot of signals at the device pins to be captured and examined during normal device operation, and permits an initial data pattern to be output at the device pins. Also used by the SignalTap embedded logic analyzer. Allows the external circuitry and board-level interconnections to be tested by forcing a test pattern at the output pins and capturing test results at the input pins. Places the 1-bit bypass register between the TDI and TDO pins, which allows the BST data to pass synchronously through selected devices to adjacent devices during normal device operation. Selects the 32-bit USERCODE register and places it between the TDI and TDO pins, allowing the USERCODE to be serially shifted out of TDO. Selects the IDCODE register and places it between TDI and TDO, allowing the IDCODE to be serially shifted out of TDO. Used when configuring an APEX 20K device via the JTAG port with a MasterBlasterTM or ByteBlasterMVTM download cable, or when using a Jam File or Jam Byte-Code File via an embedded processor. Monitors internal device operation with the SignalTap embedded logic analyzer. EXTEST BYPASS (1) USERCODE IDCODE ICR Instructions SignalTap Instructions (1) Note: (1) The EP20K1500E device supports the JTAG BYPASS instruction and the SignalTap instructions. Altera Corporation 55 APEX 20K Programmable Logic Device Family Data Sheet The APEX 20K device instruction register length is 10 bits. The APEX 20K device USERCODE register length is 32 bits. Tables 20 and 21 show the boundary-scan register length and device IDCODE information for APEX 20K devices. Table 20. APEX 20K Boundary-Scan Register Length Device EP20K30E EP20K60E EP20K100 EP20K100E EP20K160E EP20K200 EP20K200E EP20K300E EP20K400 EP20K400E EP20K600E EP20K1000E EP20K1500E Note: (1) This device does not support JTAG boundary scan testing. Boundary-Scan Register Length 420 624 786 774 984 1,176 1,164 1,266 1,536 1,506 1,806 2,190 1 (1) 56 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 21. 32-Bit APEX 20K Device IDCODE Device Version (4 Bits) EP20K30E EP20K60E EP20K100 EP20K100E EP20K160E EP20K200 EP20K200E EP20K300E EP20K400 EP20K400E EP20K600E EP20K1000E Notes: (1) (2) The most significant bit (MSB) is on the left. The IDCODE's least significant bit (LSB) is always 1. IDCODE (32 Bits) (1) Part Number (16 Bits) 1000 0000 0011 0000 1000 0000 0110 0000 0000 0100 0001 0110 1000 0001 0000 0000 1000 0001 0110 0000 0000 1000 0011 0010 1000 0010 0000 0000 1000 0011 0000 0000 0001 0110 0110 0100 1000 0100 0000 0000 1000 0110 0000 0000 1001 0000 0000 0000 Manufacturer Identity (11 Bits) 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 000 0110 1110 1 (1 Bit) (2) 1 1 1 1 1 1 1 1 1 1 1 1 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Figure 31 shows the timing requirements for the JTAG signals. Figure 31. APEX 20K JTAG Waveforms TMS TDI t JCP t JCH TCK tJPZX TDO tJSSU Signal to Be Captured Signal to Be Driven tJSH t JPCO t JPXZ t JCL t JPSU t JPH tJSZX tJSCO tJSXZ Altera Corporation 57 APEX 20K Programmable Logic Device Family Data Sheet Table 22 shows the JTAG timing parameters and values for APEX 20K devices. Table 22. APEX 20K JTAG Timing Parameters & Values Symbol tJCP tJCH tJCL tJPSU tJPH tJPCO tJPZX tJPXZ tJSSU tJSH tJSCO tJSZX tJSXZ TCK clock period TCK clock high time TCK clock low time JTAG port setup time JTAG port hold time JTAG port clock to output JTAG port high impedance to valid output JTAG port valid output to high impedance Capture register setup time Capture register hold time Update register clock to output Update register high impedance to valid output Update register valid output to high impedance 20 45 35 35 35 Parameter Min 100 50 50 20 45 Max Unit ns ns ns ns ns 25 25 25 ns ns ns ns ns ns ns ns f For more information, see the following documents: Application Note 39 (IEEE Std. 1149.1 (JTAG) Boundary-Scan Testing in Altera Devices) Jam Programming & Test Language Specification Generic Testing Each APEX 20K device is functionally tested. Complete testing of each configurable static random access memory (SRAM) bit and all logic functionality ensures 100% yield. AC test measurements for APEX 20K devices are made under conditions equivalent to those shown in Figure 32. Multiple test patterns can be used to configure devices during all stages of the production flow. 58 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 32. APEX 20K AC Test Conditions Power supply transients can affect AC measurements. Simultaneous transitions of Device Output multiple outputs should be avoided for accurate measurement. Threshold tests must not be performed under AC conditions. Large-amplitude, fast-ground-current transients normally occur as the device Device input rise and fall outputs discharge the load capacitances. times < 3 ns When these transients flow through the parasitic inductance between the device ground pin and the test system ground, significant reductions in observable noise immunity can result. to Test System C1 (includes JIG capacitance) Operating Conditions Tables 23 through 26 provide information on absolute maximum ratings, recommended operating conditions, DC operating conditions, and capacitance for 2.5-V APEX 20K devices. Note (1) Min -0.5 -0.5 Table 23. APEX 20K Device Absolute Maximum Ratings Symbol V CCINT V CCIO VI I OUT T STG T AMB TJ DC input voltage DC output current, per pin Storage temperature Ambient temperature Junction temperature No bias Under bias Parameter Supply voltage Conditions With respect to ground (2) Max 3.6 4.6 4.6 25 150 135 135 150 Unit V V V mA C C C C -0.5 -25 -65 -65 PQFP, RQFP, TQFP, and BGA packages, under bias Ceramic PGA packages, under bias Altera Corporation 59 APEX 20K Programmable Logic Device Family Data Sheet Table 24. APEX 20K Device Recommended Operating Conditions Symbol V CCINT V CCIO Parameter Supply voltage for internal logic and input buffers Supply voltage for output buffers, 3.3-V operation Supply voltage for output buffers, 2.5-V operation (3), (4) (3), (4) (3), (4) (2), (5) Conditions Min 2.375 (2.375) 3.00 (3.00) 2.375 (2.375) -0.5 0 Max 2.625 (2.625) 3.60 (3.60) 2.625 (2.625) 4.1 V CCIO 85 100 40 40 Unit V V V V V C C ns ns VI VO TJ tR tF Input voltage Output voltage Junction temperature Input rise time (10% to 90%) Input fall time (90% to 10%) For commercial use For industrial use 0 -40 Table 25. APEX 20K Device DC Operating Conditions (Part 1 of 2) Symbol V IH V IL V OH Notes (6), (7) Min Typ Max 4.1 0.8, 0.3 x VCCIO (8) Parameter High-level LVTTL, LVCMOS, or 3.3-V PCI input voltage Low-level LVTTL, LVCMOS, or 3.3-V PCI input voltage 3.3-V high-level LVTTL output voltage 3.3-V high-level LVCMOS output voltage Conditions Unit V V V V V V V V 1.7, 0.5 x VCCIO (8) -0.5 I OH = -12 mA DC, V CCIO = 3.00 V (9) I OH = -0.1 mA DC, V CCIO = 3.00 V (9) 2.4 V CCIO - 0.2 0.9 x VCCIO 2.1 2.0 1.7 3.3-V high-level PCI output voltage I OH = -0.5 mA DC, V CCIO = 3.00 to 3.60 V (9) 2.5-V high-level output voltage I OH = -0.1 mA DC, V CCIO = 2.30 V (9) I OH = -1 mA DC, V CCIO = 2.30 V (9) I OH = -2 mA DC, V CCIO = 2.30 V (9) 60 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 25. APEX 20K Device DC Operating Conditions (Part 2 of 2) Symbol V OL Notes (6), (7) Min Typ Max 0.4 0.2 0.1 x VCCIO Parameter 3.3-V low-level LVTTL output voltage 3.3-V low-level LVCMOS output voltage Conditions I OL = 12 mA DC, V CCIO = 3.00 V (10) I OL = 0.1 mA DC, V CCIO = 3.00 V (10) Unit V V V 3.3-V low-level PCI output voltage I OL = 1.5 mA DC, V CCIO = 3.00 to 3.60 V (10) 2.5-V low-level output voltage I OL = 0.1 mA DC, V CCIO = 2.30 V (10) I OL = 1 mA DC, V CCIO = 2.30 V (10) I OL = 2 mA DC, V CCIO = 2.30 V (10) II I OZ I CC0 Input pin leakage current Tri-stated I/O pin leakage current V CC supply current (standby) (All ESBs in power-down mode) V I = 4.1 to -0.5 V (11) V O = 4.1 to -0.5 V (11) V I = ground, no load, no toggling inputs, -1 speed grade V I = ground, no load, no toggling inputs, -2, -3 speed grades R CONF Value of I/O pin pull-up resistor before and during configuration V CCIO = 3.0 V (12) V CCIO = 2.375 V (12) 20 30 -10 -10 10 0.2 0.4 0.7 10 10 V V V A A mA 5 mA 50 80 k3/4 k3/4 Table 26. APEX 20K Device Capacitance Symbol CIN CINCLK COUT Note (13) Conditions Min Max 8 12 8 Parameter Input capacitance Input capacitance on dedicated clock pin Output capacitance Unit pF pF pF VIN = 0 V, f = 1.0 MHz VIN = 0 V, f = 1.0 MHz VOUT = 0 V, f = 1.0 MHz Altera Corporation 61 APEX 20K Programmable Logic Device Family Data Sheet Notes to tables: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) See the Operating Requirements for Altera Devices Data Sheet. Minimum DC input is -0.5 V. During transitions, the inputs may undershoot to -2.0 V or overshoot to 4.6 V for input currents less than 100 mA and periods shorter than 20 ns. Numbers in parentheses are for industrial-temperature-range devices. Maximum V CC rise time is 100 ms, and VCC must rise monotonically. All pins, including dedicated inputs, clock, I/O, and JTAG pins, may be driven before VCCINT and VCCIO are powered. Typical values are for T A = 25 C, V CCINT = 2.5 V, and V CCIO = 2.5 V or 3.3 V. These values are specified under the APEX 20K device recommended operating conditions, shown in Table 24 on page 60. The APEX 20K input buffers are compatible with 2.5-V and 3.3-V (LVTTL and LVCMOS) signals. Additionally, the input buffers are 3.3-V PCI compliant when V CCIO and VCCINT meet the relationship shown in Figure 33 on page 68. The IOH parameter refers to high-level TTL, PCI, or CMOS output current. The IOL parameter refers to low-level TTL, PCI, or CMOS output current. This parameter applies to open-drain pins as well as output pins. This value is specified for normal device operation. The value may vary during power-up. Pin pull-up resistance values will be lower if an external source drives the pin higher than V CCIO. Capacitance is sample-tested only. Tables 27 through 30 provide information on absolute maximum ratings, recommended operating conditions, DC operating conditions, and capacitance for 5.0-V tolerant APEX 20K devices. These devices are identified by a "V" suffix following the speed grade in the ordering code (e.g., EP20K400BC652-1V). Table 27. APEX 20K 5.0-V Tolerant Device Absolute Maximum Ratings Symbol V CCINT VCCIO VI IOUT TSTG TAMB TJ DC input voltage DC output current, per pin Storage temperature Ambient temperature Junction temperature No bias Under bias PQFP, RQFP, TQFP, and BGA packages, under bias Ceramic PGA packages, under bias Note (1) Min -0.5 -0.5 -2.0 -25 -65 -65 Parameter Supply voltage Conditions With respect to ground (2) Max 3.6 4.6 5.75 25 150 135 135 150 Unit V V V mA C C C C 62 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 28. APEX 20K 5.0-V Tolerant Device Recommended Operating Conditions Symbol V CCINT V CCIO Parameter Supply voltage for internal logic and input buffers (3), (4) Conditions Min 2.375 (2.375) 3.00 (3.00) 2.375 (2.375) -0.5 0 0 40 Max 2.625 (2.625) 3.60 (3.60) 2.625 (2.625) 5.75 VCCIO 85 100 40 40 Unit V V V V V C C ns ns Supply voltage for output buffers, (3), (4) 3.3-V operation Supply voltage for output buffers, (3), (4) 2.5-V operation VI VO TJ Input voltage Output voltage Junction temperature (2), (5) For commercial use For industrial use tR tF Input rise time Input fall time Table 29. APEX 20K 5.0-V Tolerant Device DC Operating Conditions (Part 1 of 2) Symbol V IH V IL V OH Notes (6), (7) Max 5.75 0.8, 0.3 x VCCIO (8) Parameter High-level input voltage Low-level input voltage 3.3-V high-level TTL output voltage 3.3-V high-level CMOS output voltage Conditions Min 1.7, 0.5 x VCCIO (8) -0.5 Typ Unit V V V V V V V V I OH = -8 mA DC, V CCIO = 3.00 V (9) I OH = -0.1 mA DC, V CCIO = 3.00 V (9) 2.4 V CCIO - 0.2 0.9 x VCCIO 2.1 2.0 1.7 3.3-V high-level PCI output voltage I OH = -0.5 mA DC, V CCIO = 3.00 to 3.60 V (9) 2.5-V high-level output voltage I OH = -0.1 mA DC, V CCIO = 2.30 V (9) I OH = -1 mA DC, V CCIO = 2.30 V (9) I OH = -2 mA DC, V CCIO = 2.30 V (9) Altera Corporation 63 APEX 20K Programmable Logic Device Family Data Sheet Table 29. APEX 20K 5.0-V Tolerant Device DC Operating Conditions (Part 2 of 2) Symbol V OL Notes (6), (7) Max 0.45 0.2 0.1 x VCCIO Parameter Conditions Min Typ Unit V V V 3.3-V low-level TTL output voltage I OL = 12 mA DC, V CCIO = 3.00 V (10) 3.3-V low-level CMOS output voltage I OL = 0.1 mA DC, V CCIO = 3.00 V (10) 3.3-V low-level PCI output voltage I OL = 1.5 mA DC, V CCIO = 3.00 to 3.60 V (10) 2.5-V low-level output voltage I OL = 0.1 mA DC, V CCIO = 2.30 V (10) I OL = 1 mA DC, V CCIO = 2.30 V (10) I OL = 2 mA DC, V CCIO = 2.30 V (10) II I OZ I CC0 Input pin leakage current Tri-stated I/O pin leakage current V CC supply current (standby) (All ESBs in power-down mode) V I = 5.75 to -0.5 V V O = 5.75 to -0.5 V V I = ground, no load, no toggling inputs, -1 speed grade (11) V I = ground, no load, no toggling inputs, -2, -3 speed grades (11) R CONF Value of I/O pin pull-up resistor before and during configuration V CCIO = 3.0 V (12) V CCIO = 2.375 V (12) 20 30 -10 -10 10 0.2 0.4 0.7 10 10 V V V A A mA 5 mA 50 80 k3/4 k3/4 Table 30. APEX 20K 5.0-V Tolerant Device Capacitance Symbol CIN CINCLK COUT Note (13) Min Max 8 12 8 Parameter Input capacitance Input capacitance on dedicated clock pin Output capacitance Conditions VIN = 0 V, f = 1.0 MHz VIN = 0 V, f = 1.0 MHz VOUT = 0 V, f = 1.0 MHz Unit pF pF pF 64 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Notes to tables: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) See the Operating Requirements for Altera Devices Data Sheet. Minimum DC input is -0.5 V. During transitions, the inputs may undershoot to -2.0 V or overshoot to 5.75 V for input currents less than 100 mA and periods shorter than 20 ns. Numbers in parentheses are for industrial-temperature-range devices. Maximum VCC rise time is 100 ms, and VCC must rise monotonically. All pins, including dedicated inputs, clock I/O, and JTAG pins, may be driven before VCCINT and VCCIO are powered. Typical values are for TA= 25 C, VCCINT = 2.5 V, and VCCIO = 2.5 or 3.3 V. These values are specified in the APEX 20K device recommended operating conditions, shown in Table 26 on page 62. The APEX 20K input buffers are compatible with 2.5-V and 3.3-V (LVTTL and LVCMOS) signals. Additionally, the input buffers are 3.3-V PCI compliant when VCCIO and VCCINT meet the relationship shown in Figure 33 on page 68. The IOH parameter refers to high-level TTL, PCI or CMOS output current. The IOL parameter refers to low-level TTL, PCI, or CMOS output current. This parameter applies to open-drain pins as well as output pins. This value is specified for normal device operation. The value may vary during power-up. Pin pull-up resistance values will be lower if an external source drives the pin higher than VCCIO. Capacitance is sample-tested only. Tables 31 through 34 provide information on absolute maximum ratings, recommended operating conditions, DC operating conditions, and capacitance for 1.8-V APEX 20KE devices. Table 31. APEX 20KE Device Absolute Maximum Ratings Symbol V CCINT V CCIO VI I OUT T STG T AMB TJ DC input voltage DC output current, per pin Storage temperature Ambient temperature Junction temperature No bias Under bias PQFP, RQFP, TQFP, and BGA packages, under bias Ceramic PGA packages, under bias Note (1) Min -0.5 -0.5 -0.5 -25 -65 -65 Parameter Supply voltage Conditions With respect to ground (2) Max 2.5 4.6 4.6 25 150 135 135 150 Unit V V V mA C C C C Altera Corporation 65 APEX 20K Programmable Logic Device Family Data Sheet Table 32. APEX 20KE Device Recommended Operating Conditions Symbol V CCINT V CCIO Parameter Supply voltage for internal logic and input buffers Supply voltage for output buffers, 3.3-V operation Supply voltage for output buffers, 2.5-V operation Supply voltage for output buffers, 1.8-V operation (3), (4) (3), (4) (3), (4) (3), (4) (5), (6) Conditions Min 1.71 (1.71) 3.00 (3.00) 2.375 (2.375) 1.71 (1.71) -0.5 0 Max 1.89 (1.89) 3.60 (3.60) 2.625 (2.625) 1.89 (1.89) 4.1 V CCIO 85 100 40 40 Unit V V V V V V C C ns ns VI VO TJ tR tF Input voltage Output voltage Junction temperature Input rise time Input fall time For commercial use For industrial use 0 -40 66 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 33. APEX 20KE Device DC Operating Conditions Symbol V IH V IL V OH Notes (7), (8), (9) Min 1.7, 0.5 x VCCIO (10) -0.5 Parameter High-level LVTTL, CMOS, or 3.3-V PCI input voltage Low-level LVTTL, CMOS, or 3.3-V PCI input voltage 3.3-V high-level LVTTL output voltage 3.3-V high-level LVCMOS output voltage Conditions Typ Max 4.1 0.8, 0.3 x VCCIO (10) Unit V V V V V I OH = -12 mA DC, V CCIO = 3.00 V (11) I OH = -0.1 mA DC, V CCIO = 3.00 V (11) 2.4 V CCIO - 0.2 0.9 x VCCIO 3.3-V high-level PCI output voltage I OH = -0.5 mA DC, V CCIO = 3.00 to 3.60 V (11) 2.5-V high-level output voltage I OH = -0.1 mA DC, V CCIO = 2.30 V (11) I OH = -1 mA DC, V CCIO = 2.30 V (11) I OH = -2 mA DC, V CCIO = 2.30 V (11) V OL 3.3-V low-level LVTTL output voltage 3.3-V low-level LVCMOS output voltage I OL = 12 mA DC, V CCIO = 3.00 V (12) I OL = 0.1 mA DC, V CCIO = 3.00 V (12) 2.1 2.0 1.7 0.4 0.2 0.1 x VCCIO V V V V V V 3.3-V low-level PCI output voltage I OL = 1.5 mA DC, V CCIO = 3.00 to 3.60 V (12) 2.5-V low-level output voltage I OL = 0.1 mA DC, V CCIO = 2.30 V (12) I OL = 1 mA DC, V CCIO = 2.30 V (12) I OL = 2 mA DC, V CCIO = 2.30 V (12) II I OZ I CC0 Input pin leakage current Tri-stated I/O pin leakage current V CC supply current (standby) (All ESBs in power-down mode) V I = 4.1 to -0.5 V (13) V O = 4.1 to -0.5 V (13) V I = ground, no load, no toggling inputs, -1 speed grade V I = ground, no load, no toggling inputs, -2, -3 speed grades R CONF Value of I/O pin pull-up resistor before and during configuration V CCIO = 3.0 V (14) V CCIO = 2.375 V (14) V CCIO = 1.71 V (14) 20 30 60 -10 -10 10 0.2 0.4 0.7 10 10 V V V A A mA 5 mA 50 80 150 k3/4 k3/4 k3/4 Altera Corporation 67 APEX 20K Programmable Logic Device Family Data Sheet 1 For DC Operating Specifications on APEX 20KE I/O standards, please refer to Application Note 117 (Using Selectable I/O Standards in Altera Devices). Note (15) Conditions VIN = 0 V, f = 1.0 MHz VIN = 0 V, f = 1.0 MHz VOUT = 0 V, f = 1.0 MHz Table 34. APEX 20KE Device Capacitance Symbol CIN CINCLK COUT Parameter Input capacitance Input capacitance on dedicated clock pin Output capacitance Min Max 8 12 8 Unit pF pF pF Notes to tables: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) See the Operating Requirements for Altera Devices Data Sheet. Minimum DC input is -0.5 V. During transitions, the inputs may undershoot to -2.0 V or overshoot to 5.75 V for input currents less than 100 mA and periods shorter than 20 ns. Numbers in parentheses are for industrial-temperature-range devices. Maximum V CC rise time is 100 ms, and VCC must rise monotonically. Minimum DC input is -0.5 V. During transitions, the inputs may undershoot to -2.0 V or overshoot to 4.6 V for input currents less than 100 mA and periods shorter than 20 ns. All pins, including dedicated inputs, clock, I/O, and JTAG pins, may be driven before VCCINT and VCCIO are powered. Typical values are for T A = 25 C, V CCINT = 1.8 V, and V CCIO = 1.8 V, 2.5 V or 3.3 V. These values are specified under the APEX 20KE device recommended operating conditions, shown in Table 28 on page 63. Refer to Application Note 117 (Using Selectable I/O Standards in Altera Devices) for the VIH, VIL, VOH , VOL, and II parameters when VCCIO = 1.8 V. The APEX 20KE input buffers are compatible with 1.8-V, 2.5-V and 3.3-V (LVTTL and LVCMOS) signals. Additionally, the input buffers are 3.3-V PCI compliant. Input buffers also meet specifications for GTL+, CTT, AGP, SSTL-2, SSTL-3, and HSTL. The IOH parameter refers to high-level TTL, PCI, or CMOS output current. The IOL parameter refers to low-level TTL, PCI, or CMOS output current. This parameter applies to open-drain pins as well as output pins. This value is specified for normal device operation. The value may vary during power-up. Pin pull-up resistance values will be lower if an external source drives the pin higher than V CCIO. Capacitance is sample-tested only. (11) (12) (13) (14) (15) Figure 33 shows the relationship between VCCIO and VCCINT for 3.3-V PCI compliance on APEX 20K devices. 68 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 33. Relationship between VCCIO & VCCINT for 3.3-V PCI Compliance 2.7 VCCINT (V) 2.5 PCI-Compliant Region 2.3 3.0 3.1 3.3 3.6 VCCIO (V) Figure 34 shows the typical output drive characteristics of APEX 20K devices with 3.3-V and 2.5-V VCCIO. The output driver is compatible with the 3.3-V PCI Local Bus Specification, Revision 2.2 (when VCCIO pins are connected to 3.3 V). 5-V tolerant APEX 20K devices in the -1 speed grade are 5-V PCI compliant over all operating conditions. Figure 34. Output Drive Characteristics of APEX 20K Device 90 80 70 60 Note (1) 90 80 70 60 IOL IOL Typical IO Output Current (mA) 50 40 30 20 10 VCCINT = 2.5 V VCCIO = 2.5 V Room Temperature Typical IO Output Current (mA) 50 40 30 VCCINT = 2.5 V VCCIO = 3.3 V Room Temperature IOH IOH 20 10 1 2 3 1 2 3 VO Output Voltage (V) VO Output Voltage (V) Note: (1) These are transient (AC) currents. Altera Corporation 69 APEX 20K Programmable Logic Device Family Data Sheet Figure 35 shows the output drive characteristics of APEX 20KE devices. Figure 35. Output Drive Characteristics of APEX 20KE Devices 120 110 100 90 80 Typical IO Output Current (mA) 70 60 50 40 30 20 10 0.5 1 1.5 2 2.5 3 IOH VCCINT = 1.8 V VCCIO = 3.3 V Room Temperature 25 20 15 10 5 0.5 1 1.5 2 2.5 3 Note (1) 60 55 IOL 50 45 40 Typical IO 35 Output Current (mA) 30 IOL VCCINT = 1.8 V VCCIO = 2.5V Room Temperature IOH Vo Output Voltage (V) Vo Output Voltage (V) 26 24 22 20 18 Typical IO 16 Output Current (mA) 14 12 10 8 6 4 2 0.5 1 1.5 2.0 IOH VCCINT = 1.8V VCCIO = 1.8V Room Temperature IOL Vo Output Voltage (V) Note: (1) These are transient (AC) currents. 70 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Timing Model The high-performance FastTrack and MegaLAB interconnect routing resources ensure predictable performance, accurate simulation, and accurate timing analysis. This predictable performance contrasts with that of FPGAs, which use a segmented connection scheme and therefore have unpredictable performance. All specifications are always representative of worst-case supply voltage and junction temperature conditions. All output-pin-timing specifications are reported for maximum driver strength. Figure 36 shows the fMAX timing model for APEX 20K devices. Figure 36. APEX 20K fMAX Timing Model LE tSU tH tCO tLUT ESB Routing Delay t F1--4 t F5--20 tF20+ tESBRC tESBWC tESBWESU tESBDATASU tESBADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO Figure 37 shows the fMAX timing model for APEX 20KE devices. These parameters can be used to estimate fMAX for multiple levels of logic. Quartus II software timing analysis should be used for more accurate timing information. Altera Corporation 71 APEX 20K Programmable Logic Device Family Data Sheet 72 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 37. APEX 20KE fMAX Timing Model LE t SU tH t CO t LUT Routing Delay t F1-4 t F5-20 t F20+ ESB t t t t t ESBARC ESBSRC ESBAWC ESBSWC ESBWASU ESBWDSU ESBSRASU ESBSWDSU ESBWDH ESBRASU ESBRAH ESBWESU ESBWEH ESBDATASU ESBWADDRSU ESBRADDRSU ESBDATACO1 ESBDATACO2 ESBDD PD PTERMSU PTERMCO t t t t t t t t t t t t t t t t t Altera Corporation 73 APEX 20K Programmable Logic Device Family Data Sheet Figures 38 and 39 show the asynchronous and synchronous timing waveforms, respectively, for the ESB macroparameters in Table 35. Figure 38. ESB Asynchronous Timing Waveforms ESB Asynchronous Read RE Rdaddress a0 a1 a2 tESBARC a3 Data-Out d0 d1 d2 d3 ESB Asynchronous Write WE tESBWP tESBWDSU tESBWDH Data-In din0 tESBWASU tESBWCCOMB din1 tESBWAH Wraddress a0 a1 tESBDD a2 Data-Out din0 din1 dout2 74 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Figure 39. ESB Synchronous Timing Waveforms ESB Synchronous Read WE Rdaddress a0 tESBDATASU a1 tESBDATAH a2 tESBARC a3 CLK tESBDATACO2 Data-Out d1 d2 ESB Synchronous Write (ESB Output Registers Used) WE Data-In din1 din2 din3 Wraddress a0 a1 tESBWESU tESBDATASU a2 tESBDATAH a3 tESBWEH a2 CLK tESBSWC tESBDATACO1 Data-Out dout0 dout1 din1 din2 din3 din2 Figure 40 shows the timing model for bidirectional I/O pin timing. Altera Corporation 75 APEX 20K Programmable Logic Device Family Data Sheet Figure 40. Synchronous Bidirectional Pin External Timing OE Register (1) Dedicated Clock D PRN Q tXZBIDIR tZXBIDIR tOUTCOBIDIR Bidirectional Pin CLRN Output IOE Register D PRN Q CLRN IOE Register tINSUBIDIR tINHBIDIR Input Register (1) (2) D PRN Q CLRN Notes: (1) The output enable and input registers are LE registers in the LAB adjacent to a bidirectional row pin. The output enable register is set with "Output Enable Routing= Signal-Pin" option in the Quartus II software. The LAB adjacent input register is set with "Decrease Input Delay to Internal Cells= Off". This maintains a zero hold time for lab adjacent registers while giving a fast, position independent setup time. A faster setup time with zero hold time is possible by setting "Decrease Input Delay to Internal Cells= ON" and moving the input register farther away from the bidirectional pin. The exact position where zero hold occurs with the minimum setup time, varies with device density and speed grade. (2) Table 35 describes the fMAX timing parameters shown in Figure 36. Table 35. APEX 20K fMAX Timing Parameters Symbol tSU tH tCO tLUT tESBRC tESBWC tESBWESU tESBDATASU tESBADDRSU tESBDATACO1 tESBDATACO2 LE register setup time before clock LE register hold time after clock LE register clock-to-output delay LUT delay for data-in ESB Asynchronous read cycle time ESB Asynchronous write cycle time ESB WE setup time before clock when using input register ESB data setup time before clock when using input register ESB address setup time before clock when using input registers ESB clock-to-output delay when using output registers ESB clock-to-output delay without output registers (Part 1 of 2) Parameter 76 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 35. APEX 20K fMAX Timing Parameters Symbol tESBDD tPD tPTERMSU tPTERMCO tF1-4 tF5-20 tF20+ tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP (Part 2 of 2) Parameter ESB data-in to data-out delay for RAM mode ESB macrocell input to non-registered output ESB macrocell register setup time before clock ESB macrocell register clock-to-output delay Fanout delay using local interconnect Fanout delay using MegaLab Interconnect Fanout delay using FastTrack Interconnect Minimum clock high time from clock pin Minimum clock low time from clock pin LE clear pulse width LE preset pulse width Clock high time Clock low time Write pulse width Read pulse width Tables 36 and 37 describe APEX 20K external timing parameters. Table 36. APEX 20K External Timing Parameters Symbol tINSU tINH tOUTCO Note (1) Conditions Clock Parameter Setup time with global clock at IOE register Hold time with global clock at IOE register Clock-to-output delay with global clock at IOE register Table 37. APEX 20K External Bidirectional Timing Parameters Symbol tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR Note to tables: (1) These timing parameters are sample-tested only. Note (1) Condition Parameter Setup time for bidirectional pins with global clock at same-row or samecolumn LE register Hold time for bidirectional pins with global clock at same-row or samecolumn LE register Clock-to-output delay for bidirectional pins with global clock at IOE register Synchronous IOE output buffer disable delay Synchronous IOE output buffer enable delay, slow slew rate = off C1 = 35 pF C1 = 35 pF C1 = 35 pF Altera Corporation 77 APEX 20K Programmable Logic Device Family Data Sheet Table 38 through 41 show APEX 20KE LE, ESB, routing, and functional timing microparameters for the fMAX timing model. Table 38. APEX 20KE LE Timing Microparameters Symbol tSU tH tCO tLUT Parameter LE register setup time before clock LE register hold time after clock LE register clock-to-output delay LUT delay for data-in to data-out Table 39. APEX 20KE ESB Timing Microparameters Symbol tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO Parameter ESB Asynchronous read cycle time ESB Synchronous read cycle time ESB Asynchronous write cycle time ESB Synchronous write cycle time ESB write address setup time with respect to WE ESB write address hold time with respect to WE ESB data setup time with respect to WE ESB data hold time with respect to WE ESB read address setup time with respect to RE ESB read address hold time with respect to RE ESB WE setup time before clock when using input register ESB WE hold time after clock when using input register ESB data setup time before clock when using input register ESB write address setup time before clock when using input registers ESB read address setup time before clock when using input registers ESB clock-to-output delay when using output registers ESB clock-to-output delay without output registers ESB data-in to data-out delay for RAM mode ESB Macrocell input to non-registered output ESB Macrocell register setup time before clock ESB Macrocell register clock-to-output delay 78 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 40. APEX 20KE Routing Timing Microparameters Symbol tF1-4 tF5-20 tF20+ Note (1) Parameter Fanout delay using Local Interconnect Fanout delay estimate using MegaLab Interconnect Fanout delay estimate using FastTrack Interconnect Table 41. APEX 20KE Functional Timing Microparameters Symbol TCH TCL TCLRP TPREP TESBCH TESBCL TESBWP TESBRP Note to Table: (1) These parameters are worst-case values for typical applications. Post-compilation timing simulation and timing analysis are required to determine actual worst-case performance. Parameter Minimum clock high time from clock pin Minimum clock low time from clock pin LE clear Pulse Width LE preset pulse width Clock high time for ESB Clock low time for ESB Write pulse width Read pulse width Tables 42 and 43 describe the APEX 20KE external timing parameters. Table 42. APEX 20KE External Timing Parameters Symbol tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL Note (1) Conditions Clock Parameter Setup time with global clock at IOE input register Hold time with global clock at IOE input register Clock-to-output delay with global clock at IOE output register Setup time with PLL clock at IOE input register Hold time with PLL clock at IOE input register Clock-to-output delay with PLL clock at IOE output register C1 = 35 pF C1 = 35 pF Altera Corporation 79 APEX 20K Programmable Logic Device Family Data Sheet Table 43. APEX 20KE External Bidirectional Timing Parameters Symbol tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL Note to tables: (1) These timing parameters are sample-tested only. Note (1) Condition Parameter Setup time for bidirectional pins with global clock at LAB adjacent Input Register Hold time for bidirectional pins with global clock at LAB adjacent Input Register Clock-to-output delay for bidirectional pins with global clock at IOE output register Synchronous Output Enable Register to output buffer disable delay Synchronous Output Enable Register output buffer enable delay Setup time for bidirectional pins with PLL clock at LAB adjacent Input Register Hold time for bidirectional pins with PLL clock at LAB adjacent Input Register Clock-to-output delay for bidirectional pins with PLL clock at IOE output register Synchronous Output Enable Register to output buffer disable delay with PLL Synchronous Output Enable Register output buffer enable delay with PLL C1 = 35 pF C1 = 35 pF C1 = 35 pF C1 = 35 pF C1 = 35 pF C1 = 35 pF 80 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Tables 44 through 46 show the fMAX timing parameters for EP20K100, EP20K200, and EP20K400 APEX 20K devices. Table 44. EP20K100 fMAX Timing Parameters Symbol -1 Speed Grade Min tSU tH tCO tLUT tESBRC tESBWC tESBWESU tESBDATASU tESBADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO tF1-4 tF5-20 tF20+ tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 2.0 2.0 0.3 0.5 2.0 2.0 1.6 1.0 2.3 1.5 0.5 1.6 2.2 2.5 2.5 0.4 0.5 2.5 2.5 1.9 1.3 3.3 2.2 2.4 1.3 2.6 2.5 2.5 2.6 1.8 0.6 1.7 2.2 3.0 3.0 0.4 0.5 3.0 3.0 2.2 1.4 0.5 0.7 0.3 0.8 1.7 5.7 3.9 2.7 2.9 1.6 3.1 3.3 3.0 3.2 2.1 0.7 1.8 2.3 -2 Speed Grade Min 0.6 0.8 0.4 1.0 2.1 6.9 -3 Speed Grade Min 0.8 1.0 0.5 1.3 2.4 8.1 4.6 3.1 3.3 1.8 3.6 3.6 3.6 Max Max Max Altera Corporation 81 APEX 20K Programmable Logic Device Family Data Sheet Table 45. EP20K200 fMAX Timing Parameters Symbol -1 Speed Grade Min tSU tH tCO tLUT tESBRC tESBWC tESBWESU tESBDATASU tESBADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO tF1-4 tF5-20 tF20+ tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 2.0 2.0 0.3 0.4 2.0 2.0 1.6 1.0 2.3 1.5 0.5 1.6 2.2 2.5 2.5 0.4 0.5 2.5 2.5 1.9 1.3 3.3 2.2 2.4 1.3 2.6 2.5 2.5 2.7 1.8 0.6 1.7 2.2 3.0 3.0 0.4 0.5 3.0 3.0 2.2 1.4 0.5 0.7 0.3 0.8 1.7 5.7 3.9 2.7 2.9 1.6 3.1 3.3 3.0 3.2 2.1 0.7 1.8 2.3 -2 Speed Grade Min 0.6 0.8 0.4 1.0 2.1 6.9 -3 Speed Grade Min 0.8 1.0 0.5 1.3 2.4 8.1 4.6 3.1 3.3 1.8 3.6 3.6 3.6 Max Max Max 82 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 46. EP20K400 fMAX Timing Parameters Symbol -1 Speed Grade Min tSU tH tCO tLUT tESBRC tESBWC tESBWESU tESBDATASU tESBADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO tF1-4 tF5-20 tF20+ tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 2.0 2.0 0.5 0.5 2.0 2.0 1.5 1.0 1.7 1.0 0.4 2.6 3.7 2.5 2.5 0.6 0.5 2.5 2.5 1.9 1.2 3.3 2.2 2.4 1.3 2.5 2.5 2.5 2.1 1.2 0.5 2.8 3.8 3.0 3.0 0.8 0.5 3.0 3.0 2.2 1.4 0.1 0.5 0.1 1.0 1.7 5.7 3.9 2.7 2.9 1.6 3.1 3.3 3.1 2.4 1.4 0.6 2.9 3.9 -2 Speed Grade Min 0.3 0.8 0.4 1.2 2.1 6.9 -3 Speed Grade Min 0.6 0.9 0.6 1.4 2.4 8.1 4.6 3.1 3.3 1.8 3.6 3.6 3.6 Max Max Max Tables 47 through 52 show the I/O external and external bidirectional timing parameter values for EP20K100, EP20K200, and EP20K400 APEX 20K devices. Altera Corporation 83 APEX 20K Programmable Logic Device Family Data Sheet Table 47. EP20K100 External Timing Parameters Symbol -1 Speed Grade Min tINSU (1) tINH (1) tOUTCO (1) tINSU (2) tINH (2) tOUTCO (2) 2.3 0.0 2.0 1.1 0.0 0.5 2.7 4.5 -2 Speed Grade Min 2.8 0.0 2.0 1.2 0.0 0.5 3.1 4.9 -3 Speed Grade Min 3.2 0.0 2.0 - - - 4.8 6.6 Unit Max Max Max ns ns ns ns ns ns Table 48. EP20K100 External Bidirectional Timing Parameters Symbol -1 Speed Grade Min tINSUBIDIR (1) tINHBIDIR (1) tOUTCOBIDIR (1) tXZBIDIR (1) tZXBIDIR (1) tINSUBIDIR (2) tINHBIDIR (2) tOUTCOBIDIR (2) tXZBIDIR (2) tZXBIDIR (2) 1.0 0.0 0.5 2.7 4.3 4.3 2.3 0.0 2.0 4.5 5.0 5.0 1.2 0.0 0.5 3.1 5.0 5.0 -2 Speed Grade Min 2.8 0.0 2.0 4.9 5.9 5.9 -3 Speed Grade Min 3.2 0.0 2.0 6.6 6.9 6.9 - - - - - - Unit Max Max Max ns ns ns ns ns ns ns ns ns ns Table 49. EP20K200 External Timing Parameters Symbol -1 Speed Grade Min tINSU (1) tINH (1) tOUTCO (1) tINSU (2) tINH (2) tOUTCO (2) 1.9 0.0 2.0 1.1 0.0 0.5 2.7 4.6 -2 Speed Grade Min 2.3 0.0 2.0 1.2 0.0 0.5 3.1 5.6 -3 Speed Grade Min 2.6 0.0 2.0 - - - - 6.8 Unit Max Max Max ns ns ns ns ns ns 84 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 50. EP20K200 External Bidirectional Timing Parameters Symbol -1 Speed Grade Min tINSUBIDIR (1) tINHBIDIR (1) tOUTCOBIDIR (1) tXZBIDIR (1) tZXBIDIR (1) tINSUBIDIR (2) tINHBIDIR (2) tOUTCOBIDIR (2) tXZBIDIR (2) tZXBIDIR (2) 1.1 0.0 0.5 2.7 4.3 4.3 1.9 0.0 2.0 4.6 5.0 5.0 1.2 0.0 0.5 3.1 5.0 5.0 -2 Speed Grade Min 2.3 0.0 2.0 5.6 5.9 5.9 -3 Speed Grade Min 2.6 0.0 2.0 6.8 6.9 6.9 - - - - - - Unit Max Max Max ns ns ns ns ns ns ns ns ns ns Table 51. EP20K400 External Timing Parameters Symbol -1 Speed Grade Min tINSU (1) tINH (1) tOUTCO (1) tINSU (2) tINH (2) tOUTCO (2) 1.4 0.0 2.0 0.4 0.0 0.5 3.1 4.9 -2 Speed Grade Min 1.8 0.0 2.0 1.0 0.0 0.5 4.1 6.1 -3 Speed Grade Min 2.0 0.0 2.0 - - - - 7.0 Unit Max Max Max ns ns ns ns ns ns Altera Corporation 85 APEX 20K Programmable Logic Device Family Data Sheet Table 52. EP20K400 External Bidirectional Timing Parameters Symbol -1 Speed Grade Min tINSUBIDIR (1) tINHBIDIR (1) tOUTCOBIDIR (1) tXZBIDIR (1) tZXBIDIR (1) tINSUBIDIR (2) tINHBIDIR (2) tOUTCOBIDIR (2) tXZBIDIR (2) tZXBIDIR (2) Notes to tables: (1) (2) This parameter is measured without using ClockLock or ClockBoost circuits. This parameter is measured using ClockLock or ClockBoost circuits. -2 Speed Grade Min 1.8 0.0 -3 Speed Grade Min 2.0 0.0 Unit Max Max Max ns ns 7.0 10.3 10.3 ns ns ns ns ns - - - ns ns ns 1.4 0.0 2.0 4.9 7.3 7.3 0.5 0.0 0.5 3.1 6.2 6.2 2.0 6.1 8.9 8.9 2.0 1.0 0.0 0.5 4.1 7.6 7.6 - - - Tables 53 through 58 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K30E APEX 20KE devices. Table 53. EP20K30E fMAX LE Timing Microparameters Symbol Min tSU tH tCO tLUT 0.01 0.11 0.32 0.85 -1 Max Min 0.02 0.16 -2 Max Min 0.02 0.23 0.45 1.20 -3 Max Unit ns ns 0.67 1.77 ns ns 86 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 54. EP20K30E fMAX ESB Timing Microparameters Symbol Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 1.04 1.13 1.77 0.00 1.95 0.00 1.96 0.00 1.80 0.00 0.07 0.30 0.37 1.11 2.65 3.88 1.91 1.71 1.34 -1 Max 2.03 2.58 3.88 4.08 2.49 0.00 2.74 0.00 2.75 0.00 2.73 0.00 0.48 0.80 0.90 -2 Min Max 2.86 3.49 5.45 5.35 3.68 0.00 4.05 0.00 4.07 0.00 4.28 0.00 1.17 1.64 1.78 1.32 3.73 5.45 2.69 2.82 -3 Min Max 4.24 5.02 8.08 7.48 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 1.67 5.53 8.08 3.98 1.69 ns ns ns ns ns ns Table 55. EP20K30E fMAX Routing Delays Symbol Min tF1-4 tF5-20 tF20+ -1 Max 0.24 1.03 1.42 -2 Min Max 0.27 1.14 1.54 -3 Min Max 0.31 1.30 1.77 Unit ns ns ns Altera Corporation 87 APEX 20K Programmable Logic Device Family Data Sheet Table 56. EP20K30E Minimum Pulse Width Timing Parameters Symbol Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 0.55 0.55 0.22 0.22 0.55 0.55 1.43 1.15 -1 Max Min 0.78 0.78 0.31 0.31 0.78 0.78 2.01 1.62 -2 Max Min 1.15 1.15 0.46 0.46 1.15 1.15 2.97 2.39 -3 Max Unit ns ns ns ns ns ns ns ns Table 57. EP20K30E External Timing Parameters Symbol Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.02 0.00 2.00 2.11 0.00 0.50 2.60 4.88 -1 Max Min 2.13 0.00 2.00 2.23 0.00 0.50 -2 Max Min 2.24 0.00 5.36 2.00 2.88 - -3 Max Unit ns ns 5.88 ns ns ns ns Table 58. EP20K30E External Bidirectional Timing Parameters Symbol Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 4.12 0.00 0.50 2.60 5.21 5.21 1.85 0.00 2.00 4.88 7.48 7.48 4.24 0.00 0.50 2.88 5.99 5.99 -1 Max Min 1.77 0.00 2.00 -2 Max Min 1.54 0.00 5.36 8.46 8.46 2.00 -3 Max Unit ns ns 5.88 9.83 9.83 ns ns ns ns ns ns ns ns 88 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Tables 59 through 64 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K60E APEX 20KE devices. Table 59. EP20K60E fMAX LE Timing Microparameters Symbol Min tSU tH tCO tLUT 0.17 0.32 0.29 0.77 -1 Max Min 0.15 0.33 -2 Max Min 0.16 0.39 0.40 1.07 -3 Max Unit ns ns 0.60 1.59 ns ns Table 60. EP20K60E fMAX ESB Timing Microparameters Symbol Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 0.99 1.07 1.59 0.00 1.75 0.00 1.76 0.00 1.68 0.00 0.08 0.29 0.36 1.06 2.39 3.50 1.72 1.56 1.26 -1 Max 1.83 2.46 3.50 3.77 2.23 0.00 2.46 0.00 2.47 0.00 2.49 0.00 0.43 0.72 0.81 -2 Min Max 2.57 3.26 4.90 4.90 3.29 0.00 3.62 0.00 3.64 0.00 3.87 0.00 1.04 1.46 1.58 1.24 3.35 4.90 2.41 2.55 -3 Min Max 3.79 4.61 7.23 6.79 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 1.55 4.94 7.23 3.56 1.08 ns ns ns ns ns ns Altera Corporation 89 APEX 20K Programmable Logic Device Family Data Sheet Table 61. EP20K60E fMAX Routing Delays Symbol Min tF1-4 tF5-20 tF20+ -1 Max 0.24 1.45 1.96 -2 Min Max 0.26 1.58 2.14 -3 Min Max 0.30 1.79 2.45 Unit ns ns ns Table 62. EP20K60E Minimum Pulse Width Timing Parameters Symbol Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 2.00 2.00 0.20 0.20 2.00 2.00 1.29 1.04 -1 Max Min 2.50 2.50 0.28 0.28 2.50 2.50 1.80 1.45 -2 Max Min 2.75 2.75 0.41 0.41 2.75 2.75 2.66 2.14 -3 Max Unit ns ns ns ns ns ns ns ns Table 63. EP20K60E External Timing Parameters Symbol Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.03 0.00 2.00 1.12 0.00 0.50 3.37 4.84 -1 Max Min 2.12 0.00 2.00 1.15 0.00 0.50 -2 Max Min 2.23 0.00 5.31 2.00 3.69 - -3 Max Unit ns ns 5.81 ns ns ns ns 90 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 64. EP20K60E External Bidirectional Timing Parameters Symbol Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 3.44 0.00 0.50 3.37 5.00 5.00 2.77 0.00 2.00 4.84 6.47 6.47 3.24 0.00 0.50 3.69 5.82 5.82 -1 Max Min 2.91 0.00 2.00 -2 Max Min 3.11 0.00 5.31 7.44 7.44 2.00 -3 Max Unit ns ns 5.81 8.65 8.65 ns ns ns ns ns ns ns ns Tables 65 through 70 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K100E APEX 20KE devices. Table 65. EP20K100E fMAX LE Timing Microparameters Symbol Min tSU tH tCO tLUT 0.25 0.25 0.28 0.80 -1 Max Min 0.25 0.25 -2 Max Min 0.25 0.25 0.28 0.95 -3 Max Unit ns ns 0.34 1.13 ns ns Altera Corporation 91 APEX 20K Programmable Logic Device Family Data Sheet Table 66. EP20K100E fMAX ESB Timing Microparameters Symbol Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 1.11 1.19 0.56 0.48 0.71 .048 1.57 0.00 1.54 0.00 -0.16 0.12 0.17 1.20 2.54 3.06 1.73 1.26 1.40 -1 Max 1.61 2.57 0.52 3.17 6.41 0.54 0.80 0.54 1.75 0.00 1.72 0.00 -0.20 0.08 0.15 -2 Min Max 1.84 2.97 4.09 3.78 0.63 0.55 0.81 0.55 1.87 0.20 1.80 0.00 -0.20 0.13 0.19 1.39 2.99 3.56 2.02 1.38 -3 Min Max 1.97 3.20 4.39 4.09 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 1.52 3.22 3.85 2.20 1.08 ns ns ns ns ns ns Table 67. EP20K100E fMAX Routing Delays Symbol Min tF1-4 tF5-20 tF20+ -1 Max 0.24 1.04 1.12 -2 Min Max 0.27 1.26 1.36 -3 Min Max 0.29 1.52 1.86 Unit ns ns ns 92 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 68. EP20K100E Minimum Pulse Width Timing Parameters Symbol Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 2.00 2.00 0.20 0.20 2.00 2.00 1.29 1.11 -1 Max Min 2.00 2.00 0.20 0.20 2.00 2.00 1.53 1.29 -2 Max Min 2.00 2.00 0.20 0.20 2.00 2.00 1.66 1.41 -3 Max Unit ns ns ns ns ns ns ns ns Table 69. EP20K100E External Timing Parameters Symbol Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.23 0.00 2.00 1.58 0.00 0.50 2.96 4.86 -1 Max Min 2.32 0.00 2.00 1.66 0.00 0.50 -2 Max Min 2.43 0.00 5.35 2.00 3.29 - -3 Max Unit ns ns 5.84 ns ns ns ns Table 70. EP20K100E External Bidirectional Timing Parameters Symbol Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 4.64 0.00 0.50 2.96 3.10 3.10 2.74 0.00 2.00 4.86 5.00 5.00 5.03 0.00 0.50 3.29 3.42 3.42 -1 Max Min 2.96 0.00 2.00 -2 Max Min 3.19 0.00 5.35 5.48 5.48 2.00 -3 Max Unit ns ns 5.84 5.89 5.89 ns ns ns ns ns ns ns ns Altera Corporation 93 APEX 20K Programmable Logic Device Family Data Sheet Tables 71 through 76 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K160E APEX 20KE devices. Table 71. EP20K160E fMAX LE Timing Microparameters Symbol Min tSU tH tCO tLUT 0.22 0.22 0.25 0.69 -1 Max Min 0.24 0.24 -2 Max Min 0.26 0.26 0.31 0.88 -3 Max Unit ns ns 0.35 1.12 ns ns Table 72. EP20K160E fMAX ESB Timing Microparameters Symbol Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 1.01 1.06 0.54 0.36 0.68 0.36 1.58 0.00 1.41 0.00 -0.02 0.14 0.21 1.04 2.15 2.69 1.55 1.23 1.32 -1 Max 1.65 2.21 3.04 2.81 0.66 0.45 0.81 0.45 1.87 0.00 1.71 0.00 -0.03 0.17 0.27 -2 Min Max 2.02 2.70 3.79 3.56 0.73 0.47 0.94 0.47 2.06 0.01 2.00 0.00 0.09 0.35 0.43 1.30 2.70 3.35 1.93 1.52 -3 Min Max 2.11 3.11 4.42 4.10 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 1.46 3.16 3.97 2.29 1.04 ns ns ns ns ns ns 94 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 73. EP20K160E fMAX Routing Delays Symbol Min tF1-4 tF5-20 tF20+ -1 Max 0.25 1.00 1.95 -2 Min Max 0.26 1.18 2.19 -3 Min Max 0.28 1.35 2.30 Unit ns ns ns Table 74. EP20K160E Minimum Pulse Width Timing Parameters Symbol Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 1.34 1.34 0.18 0.18 1.34 1.34 1.15 0.93 -1 Max Min 1.43 1.43 0.19 0.19 1.43 1.43 1.45 1.15 -2 Max Min 1.55 1.55 0.21 0.21 1.55 1.55 1.73 1.38 -3 Max Unit ns ns ns ns ns ns ns ns Table 75. EP20K160E External Timing Parameters Symbol Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.23 0.00 2.00 2.12 0.00 0.50 3.00 5.07 -1 Max Min 2.34 0.00 2.00 2.07 0.00 0.50 -2 Max Min 2.47 0.00 5.59 2.00 3.35 - -3 Max Unit ns ns 6.13 ns ns ns ns Altera Corporation 95 APEX 20K Programmable Logic Device Family Data Sheet Table 76. EP20K160E External Bidirectional Timing Parameters Symbol Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 4.93 0.00 0.50 3.00 5.36 5.36 2.86 0.00 2.00 5.07 7.43 7.43 5.48 0.00 0.50 3.35 5.99 5.99 -1 Max Min 3.24 0.00 2.00 -2 Max Min 3.54 0.00 5.59 8.23 8.23 2.00 -3 Max Unit ns ns 6.13 8.58 8.58 ns ns ns ns ns ns ns ns Tables 77 through 82 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K200E APEX 20KE devices. Table 77. EP20K200E fMAX LE Timing Microparameters Symbol Min tSU tH tCO tLUT 0.23 0.23 0.26 0.70 -1 Max Min 0.24 0.24 -2 Max Min 0.26 0.26 0.31 0.90 -3 Max Unit ns ns 0.36 1.14 ns ns 96 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 78. EP20K200E fMAX ESB Timing Microparameters Symbol Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 1.00 1.10 0.55 0.36 0.69 0.36 1.61 0.00 1.42 0.00 -0.06 0.11 0.18 1.09 2.19 2.75 1.58 1.22 1.37 -1 Max 1.68 2.27 3.10 2.90 0.67 0.46 0.83 0.46 1.90 0.00 1.71 0.00 -0.07 0.13 0.23 -2 Min Max 2.06 2.77 3.86 3.67 0.74 0.48 0.95 0.48 2.09 0.01 2.01 0.00 0.05 0.31 0.39 1.35 2.75 3.41 1.97 1.51 -3 Min Max 2.24 3.18 4.50 4.21 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 1.51 3.22 4.03 2.33 1.09 ns ns ns ns ns ns Table 79. EP20K200E fMAX Routing Delays Symbol Min tF1-4 tF5-20 tF20+ -1 Max 0.25 1.02 1.99 -2 Min Max 0.27 1.20 2.23 -3 Min Max 0.29 1.41 2.53 Unit ns ns ns Altera Corporation 97 APEX 20K Programmable Logic Device Family Data Sheet Table 80. EP20K200E Minimum Pulse Width Timing Parameters Symbol Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 1.36 1.36 0.18 0.18 1.36 1.36 1.18 0.95 -1 Max Min 2.44 2.44 0.19 0.19 2.44 2.44 1.48 1.17 -2 Max Min 2.65 2.65 0.21 0.21 2.65 2.65 1.76 1.41 -3 Max Unit ns ns ns ns ns ns ns ns Table 81. EP20K200E External Timing Parameters Symbol Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.24 0.00 2.00 2.13 0.00 0.50 3.01 5.12 -1 Max Min 2.35 0.00 2.00 2.07 0.00 0.50 -2 Max Min 2.47 0.00 5.62 2.00 3.36 - -3 Max Unit ns ns 6.11 ns ns ns ns 98 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 82. EP20K200E External Bidirectional Timing Parameters Symbol Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 3.30 0.00 0.50 3.01 5.40 5.40 2.81 0.00 2.00 5.12 7.51 7.51 3.64 0.00 0.50 3.36 6.05 6.05 -1 Max Min 3.19 0.00 2.00 -2 Max Min 3.54 0.00 5.62 8.32 8.32 2.00 -3 Max Unit ns ns 6.11 8.67 8.67 ns ns ns ns ns ns ns ns Tables 83 through 88 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K300E APEX 20KE devices. Table 83. EP20K300E fMAX LE Timing Microparameters Symbol Min tSU tH tCO tLUT 0.16 0.31 0.28 0.79 -1 Max Min 0.17 0.33 -2 Max Min 0.18 0.38 0.38 1.07 -3 Max Unit ns ns 0.51 1.43 ns ns Altera Corporation 99 APEX 20K Programmable Logic Device Family Data Sheet Table 84. EP20K300E fMAX ESB Timing Microparameters Symbol Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 0.96 1.05 1.55 0.00 1.71 0.00 1.72 0.00 1.63 0.00 0.07 0.27 0.34 1.03 2.33 3.41 1.68 1.48 1.22 -1 Max 1.79 2.40 3.41 3.68 2.12 0.00 2.33 0.00 2.34 0.00 2.36 0.00 0.39 0.67 0.75 -2 Min Max 2.44 3.12 4.65 4.68 2.83 0.00 3.11 0.00 3.13 0.00 3.28 0.00 0.80 1.17 1.28 1.20 3.18 4.65 2.29 2.14 -3 Min Max 3.25 4.01 6.20 5.93 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 1.40 4.24 6.20 3.06 1.42 ns ns ns ns ns ns Table 85. EP20K300E fMAX Routing Delays Symbol Min tF1-4 tF5-20 tF20+ -1 Max 0.22 1.33 3.63 -2 Min Max 0.24 1.43 3.93 -3 Min Max 0.26 1.58 4.35 Unit ns ns ns 100 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 86. EP20K300E Minimum Pulse Width Timing Parameters Symbol Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 1.25 1.25 0.19 0.19 1.25 1.25 1.25 1.01 -1 Max Min 1.43 1.43 0.26 0.26 1.43 1.43 1.71 1.38 -2 Max Min 1.67 1.67 0.35 0.35 1.67 1.67 2.28 1.84 -3 Max Unit ns ns ns ns ns ns ns ns Table 87. EP20K300E External Timing Parameters Symbol Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.31 0.00 2.00 1.76 0.00 0.50 2.65 5.29 -1 Max Min 2.44 0.00 2.00 1.85 0.00 0.50 -2 Max Min 2.57 0.00 5.82 2.00 2.95 - -3 Max Unit ns ns 6.24 ns ns ns ns Table 88. EP20K300E External Bidirectional Timing Parameters Symbol Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 2.50 0.00 0.50 2.65 5.00 5.00 2.77 0.00 2.00 5.29 7.59 7.59 2.76 0.00 0.50 2.95 5.43 5.43 -1 Max Min 2.85 0.00 2.00 -2 Max Min 3.11 0.00 5.82 8.30 8.30 2.00 -3 Max Unit ns ns 6.24 9.09 9.09 ns ns ns ns ns ns ns ns Altera Corporation 101 APEX 20K Programmable Logic Device Family Data Sheet Tables 89 through 94 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K400E APEX 20KE devices. Table 89. EP20K400E fMAX LE Timing Microparameters Symbol -1 Speed Grade Min tSU tH tCO tLUT 0.23 0.23 0.25 0.70 -2 Speed Grade Min 0.23 0.23 0.29 0.83 -3 Speed Grade Min 0.23 0.23 0.32 1.01 Unit Max Max Max ns ns ns ns Table 90. EP20K400E fMAX ESB Timing Microparameters Symbol -1 Speed Grade Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 0.92 1.18 0.54 0.36 0.69 0.36 1.61 0.00 1.35 0.00 -0.18 -0.02 0.06 1.16 2.18 2.73 1.57 0.99 1.43 -2 Speed Grade Min Max 1.91 2.66 3.58 3.65 0.63 0.43 0.77 0.43 1.77 0.00 1.47 0.00 -0.30 -0.11 -0.01 1.40 2.55 3.17 1.83 -3 Speed Grade Min Max 1.99 2.93 3.99 4.05 0.65 0.42 0.84 0.42 1.86 0.01 1.61 0.00 -0.27 -0.03 -0.05 1.54 2.85 3.58 2.07 1.18 1.17 Unit Max 1.67 2.30 3.09 3.01 ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 102 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 91. EP20K400E fMAX Routing Delays Symbol -1 Speed Grade Min tF1-4 tF5-20 tF20+ -2 Speed Grade Min Max 0.25 1.12 3.92 -3 Speed Grade Min Max 0.26 1.25 4.17 Unit Max 0.25 1.01 3.71 ns ns ns Table 92. EP20K400E Minimum Pulse Width Timing Parameters Symbol -1 Speed Grade Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 1.36 1.36 0.18 0.18 1.36 1.36 1.17 0.94 -2 Speed Grade Min 2.22 2.26 0.18 0.18 2.26 2.26 1.38 1.09 -3 Speed Grade Min 2.35 2.35 0.19 0.19 2.35 2.35 1.56 1.25 Unit Max Max Max ns ns ns ns ns ns ns ns Table 93. EP20K400E External Timing Parameters Symbol -1 Speed Grade Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.51 0.00 2.00 3.221 0.00 0.50 2.25 5.25 -2 Speed Grade Min 2.64 0.00 2.00 3.38 0.00 0.50 2.45 5.79 -3 Speed Grade Min 2.77 0.00 2.00 6.32 Unit Max Max Max ns ns ns ns ns ns Altera Corporation 103 APEX 20K Programmable Logic Device Family Data Sheet Table 94. EP20K400E External Bidirectional Timing Parameters Symbol -1 Speed Grade Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 4.31 0.00 0.50 2.25 2.94 2.94 2.93 0.00 2.00 5.25 5.95 5.95 4.76 0.00 0.50 2.45 3.43 3.43 -2 Speed Grade Min 3.23 0.00 2.00 5.79 6.77 6.77 -3 Speed Grade Min 3.44 0.00 2.00 6.32 7.12 7.12 - Unit Max Max Max ns ns ns ns ns ns ns ns ns ns Tables 96 through 100 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K600E APEX 20KE devices. Table 95. EP20K600E fMAX LE Timing Microparameters Symbol -1 Speed Grade Min tSU tH tCO tLUT 0.16 0.29 0.65 0.70 -2 Speed Grade Min 0.16 0.33 0.38 1.00 -3 Speed Grade Min 0.17 0.37 0.49 1.30 Unit Max Max Max ns ns ns ns 104 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 96. EP20K600E fMAX ESB Timing Microparameters Symbol -1 Speed Grade Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 0.85 1.03 1.46 0.00 1.60 0.00 1.61 0.00 1.49 0.00 -0.01 0.19 0.25 1.01 2.18 3.19 1.57 1.43 1.21 -2 Speed Grade Min Max 2.39 3.07 4.56 4.62 2.08 0.00 2.29 0.00 2.30 0.00 2.30 0.00 0.35 0.62 0.71 1.19 3.12 4.56 2.25 -3 Speed Grade Min Max 3.11 3.86 5.93 5.72 2.70 0.00 2.97 0.00 2.99 0.00 3.11 0.00 0.71 1.06 1.17 1.37 4.05 5.93 2.92 2.01 1.39 Unit Max 1.67 2.27 3.19 3.51 ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Table 97. EP20K600E fMAX Routing Delays Symbol -1 Speed Grade Min tF1-4 tF5-20 tF20+ -2 Speed Grade Min Max 0.25 1.39 3.88 -3 Speed Grade Min Max 0.26 1.52 4.26 Unit Max 0.22 1.26 3.51 ns ns ns Altera Corporation 105 APEX 20K Programmable Logic Device Family Data Sheet Table 98. EP20K600E Minimum Pulse Width Timing Parameters Symbol -1 Speed Grade Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 2.00 2.00 0.18 0.18 2.00 2.00 1.17 0.95 -2 Speed Grade Min 2.50 2.50 0.26 0.26 2.50 2.50 1.68 1.35 -3 Speed Grade Min 2.75 2.75 0.34 0.34 2.75 2.75 2.18 1.76 Unit Max Max Max ns ns ns ns ns ns ns ns Table 99. EP20K600E External Timing Parameters Symbol -1 Speed Grade Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.74 0.00 2.00 1.86 0.00 0.50 2.62 5.51 -2 Speed Grade Min 2.74 0.00 2.00 1.96 0.00 0.50 2.91 6.06 -3 Speed Grade Min 2.87 0.00 2.00 6.61 Unit Max Max Max ns ns ns ns ns ns Table 100. EP20K600E External Bidirectional Timing Parameters Symbol -1 Speed Grade Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 2.26 0.00 0.50 2.62 3.21 3.21 0.64 0.00 2.00 5.51 6.10 6.10 2.68 0.00 0.50 2.91 3.59 3.59 -2 Speed Grade Min 0.98 0.00 2.00 6.06 6.74 6.74 -3 Speed Grade Min 1.08 0.00 2.00 6.61 7.10 7.10 - Unit Max Max Max ns ns ns ns ns ns ns ns ns ns 106 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Tables 101 through 106 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K1000E APEX 20KE devices. Table 101. EP20K1000E fMAX LE Timing Microparameters Symbol -1 Speed Grade Min tSU tH tCO tLUT 0.25 0.25 0.28 0.80 -2 Speed Grade Min 0.25 0.25 0.32 0.95 -3 Speed Grade Min 0.25 0.25 0.33 1.13 Unit Max Max Max ns ns ns ns Table 102. EP20K1000E fMAX ESB Timing Microparameters Symbol -1 Speed Grade Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 1.08 1.31 0.62 0.41 0.77 0.41 1.74 0.00 2.07 0.00 0.25 0.11 0.14 1.29 2.55 3.12 1.84 1.19 1.53 -2 Speed Grade Min Max 2.02 2.91 4.11 3.84 0.67 0.55 0.79 0.55 1.92 0.01 2.28 0.00 0.27 0.04 0.11 1.50 2.99 3.57 2.13 -3 Speed Grade Min Max 1.95 3.14 4.40 4.16 0.61 0.55 0.81 0.55 1.85 0.23 2.41 0.00 0.29 0.11 0.16 1.63 3.22 3.85 2.32 1.32 1.66 Unit Max 1.78 2.52 3.52 3.23 ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Altera Corporation 107 APEX 20K Programmable Logic Device Family Data Sheet Table 103. EP20K1000E fMAX Routing Delays Symbol -1 Speed Grade Min tF1-4 tF5-20 tF20+ -2 Speed Grade Min Max 0.27 1.63 4.33 -3 Speed Grade Min Max 0.27 1.75 4.97 Unit Max 0.27 1.45 4.15 ns ns ns Table 104. EP20K1000E Minimum Pulse Width Timing Parameters Symbol -1 Speed Grade Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 1.25 1.25 0.20 0.20 1.25 1.25 1.28 1.11 -2 Speed Grade Min 1.43 1.43 0.20 0.20 1.43 1.43 1.51 1.29 -3 Speed Grade Min 1.67 1.67 0.20 0.20 1.67 1.67 1.65 1.41 Unit Max Max Max ns ns ns ns ns ns ns ns Table 105. EP20K1000E External Timing Parameters Symbol -1 Speed Grade Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 2.70 0.00 2.00 1.64 0.00 0.50 2.25 5.75 -2 Speed Grade Min 2.84 0.00 2.00 2.09 0.00 0.50 2.99 6.33 -3 Speed Grade Min 2.97 0.00 2.00 6.90 Unit Max Max Max ns ns ns ns ns ns 108 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 106. EP20K1000E External Bidirectional Timing Parameters Symbol -1 Speed Grade Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 3.25 0.00 0.50 2.25 2.81 2.81 3.22 0.00 2.00 5.75 6.31 6.31 3.26 0.00 0.50 2.99 3.80 3.80 -2 Speed Grade Min 3.33 0.00 2.00 6.33 7.09 7.09 -3 Speed Grade Min 3.51 0.00 2.00 6.90 7.76 7.76 Unit Max Max Max ns ns ns ns ns ns ns ns ns ns Tables 107 through 112 describe fMAX LE Timing Microparameters, fMAX ESB Timing Microparameters, fMAX Routing Delays, Minimum Pulse Width Timing Parameters, External Timing Parameters, and External Bidirectional Timing Parameters for EP20K1500E APEX 20KE devices. Table 107. EP20K1500E fMAX LE Timing Microparameters Symbol -1 Speed Grade Min tSU tH tCO tLUT 0.25 0.25 0.28 0.80 -2 Speed Grade Min 0.25 0.25 0.32 0.95 -3 Speed Grade Min 0.25 0.25 0.33 1.13 Unit Max Max Max ns ns ns ns Altera Corporation 109 APEX 20K Programmable Logic Device Family Data Sheet Table 108. EP20K1500E fMAX ESB Timing Microparameters Symbol -1 Speed Grade Min tESBARC tESBSRC tESBAWC tESBSWC tESBWASU tESBWAH tESBWDSU tESBWDH tESBRASU tESBRAH tESBWESU tESBWEH tESBDATASU tESBWADDRSU tESBRADDRSU tESBDATACO1 tESBDATACO2 tESBDD tPD tPTERMSU tPTERMCO 1.08 1.31 0.62 0.41 0.77 0.41 1.74 0.00 2.07 0.00 0.25 0.11 0.14 1.29 2.55 3.12 1.84 1.19 1.53 -2 Speed Grade Min Max 2.02 2.91 4.11 3.84 0.67 0.55 0.79 0.55 1.92 0.01 2.28 0.00 0.27 0.04 0.11 1.50 2.99 3.57 2.13 -3 Speed Grade Min Max 1.95 3.14 4.40 4.16 0.61 0.55 0.81 0.55 1.85 0.23 2.41 0.00 0.29 0.11 0.16 1.63 3.22 3.85 2.32 1.32 1.66 Unit Max 1.78 2.52 3.52 3.23 ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Table 109. EP20K1500E fMAX Routing Delays Symbol -1 Speed Grade Min tF1-4 tF5-20 tF20+ -2 Speed Grade Min Max 0.28 1.50 4.48 -3 Speed Grade Min Max 0.28 1.62 5.07 Unit Max 0.28 1.36 4.43 ns ns ns 110 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 110. EP20K1500E Minimum Pulse Width Timing Parameters Symbol -1 Speed Grade Min tCH tCL tCLRP tPREP tESBCH tESBCL tESBWP tESBRP 1.25 1.25 0.20 0.20 1.25 1.25 1.28 1.11 -2 Speed Grade Min 1.43 1.43 0.20 0.20 1.43 1.43 1.51 1.29 -3 Speed Grade Min 1.67 1.67 0.20 0.20 1.67 1.67 1.65 1.41 Unit Max Max Max ns ns ns ns ns ns ns ns Table 111. EP20K1500E External Timing Parameters Symbol -1 Speed Grade Min tINSU tINH tOUTCO tINSUPLL tINHPLL tOUTCOPLL 3.09 0.00 2.00 1.94 0.00 0.50 2.67 6.18 -2 Speed Grade Min 3.30 0.00 2.00 2.08 0.00 0.50 2.99 6.81 -3 Speed Grade Min 3.58 0.00 2.00 7.36 Unit Max Max Max ns ns ns ns ns ns Altera Corporation 111 APEX 20K Programmable Logic Device Family Data Sheet Table 112. EP20K1500E External Bidirectional Timing Parameters Symbol -1 Speed Grade Min tINSUBIDIR tINHBIDIR tOUTCOBIDIR tXZBIDIR tZXBIDIR tINSUBIDIRPLL tINHBIDIRPLL tOUTCOBIDIRPLL tXZBIDIRPLL tZXBIDIRPLL 3.05 0.00 0.50 2.67 3.41 3.41 3.47 0.00 2.00 6.18 6.91 6.91 3.26 0.00 0.50 2.99 3.80 3.80 -2 Speed Grade Min 3.68 0.00 2.00 6.81 7.62 7.62 -3 Speed Grade Min 3.99 0.00 2.00 7.36 8.38 8.38 Unit Max Max Max ns ns ns ns ns ns ns ns ns ns Tables 113 and 114 show selectable I/O standard input and output delays for APEX 20KE devices. If you select an I/O standard input or output delay other than LVCMOS, add or subtract the selected speed grade to or from the LVCMOS value. Table 113. Selectable I/O Standard Input Delays Symbol -1 Speed Grade Min LVCMOS LVTTL 2.5 V 1.8 V PCI GTL+ SSTL-3 Class I SSTL-3 Class II SSTL-2 Class I SSTL-2 Class II LVDS CTT AGP -2 Speed Grade Min Max 0.00 0.00 0.04 0.03 0.09 -0.23 -0.21 0.03 -0.06 -0.05 -0.12 0.00 0.00 -3 Speed Grade Min Max 0.00 0.00 0.05 0.04 0.10 -0.19 -0.47 -0.23 -0.32 -0.31 -0.12 0.00 0.00 Unit Min ns ns ns ns ns ns ns ns ns ns ns ns ns Max 0.00 0.00 0.00 -0.11 0.01 -0.24 -0.32 -0.08 -0.17 -0.16 -0.12 0.00 0.00 112 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Table 114. Selectable I/O Standard Output Delays Symbol -1 Speed Grade Min LVCMOS LVTTL 2.5 V 1.8 V PCI GTL+ SSTL-3 Class I SSTL-3 Class II SSTL-2 Class I SSTL-2 Class II LVDS CTT AGP -2 Speed Grade Min Max 0.00 0.00 0.09 2.98 0.17 0.75 1.51 1.23 1.48 1.12 -0.48 0.00 0.00 -3 Speed Grade Min Max 0.00 0.00 0.10 3.03 0.16 0.76 1.50 1.23 1.47 1.12 -0.48 0.00 0.00 Unit Min ns ns ns ns ns ns ns ns ns ns ns ns ns Max 0.00 0.00 0.00 2.49 -0.03 0.75 1.39 1.11 1.35 1.00 -0.48 0.00 0.00 Power Consumption Configuration & Operation To estimate device power consumption, use the interactive power estimator on the Altera web site at http://www.altera.com. The APEX 20K architecture supports several configuration schemes. This section summarizes the device operating modes and available device configuration schemes. Operating Modes The APEX architecture uses SRAM configuration elements that require configuration data to be loaded each time the circuit powers up. The process of physically loading the SRAM data into the device is called configuration. During initialization, which occurs immediately after configuration, the device resets registers, enables I/O pins, and begins to operate as a logic device. The I/O pins are tri-stated during power-up, and before and during configuration. Together, the configuration and initialization processes are called command mode; normal device operation is called user mode. Before and during device configuration, all I/O pins are pulled to VCCIO by a built-in weak pull-up resistor. Altera Corporation 113 APEX 20K Programmable Logic Device Family Data Sheet SRAM configuration elements allow APEX 20K devices to be reconfigured in-circuit by loading new configuration data into the device. Real-time reconfiguration is performed by forcing the device into command mode with a device pin, loading different configuration data, reinitializing the device, and resuming usermode operation. In-field upgrades can be performed by distributing new configuration files. Configuration Schemes The configuration data for an APEX 20K device can be loaded with one of five configuration schemes (see Table 115), chosen on the basis of the target application. An EPC2 or EPC16 configuration device, intelligent controller, or the JTAG port can be used to control the configuration of an APEX 20K device. When a configuration device is used, the system can configure automatically at system power-up. Multiple APEX 20K devices can be configured in any of five configuration schemes by connecting the configuration enable (nCE) and configuration enable output (nCEO) pins on each device. Table 115. Data Sources for Configuration Configuration Scheme Configuration device Passive serial (PS) Passive parallel asynchronous (PPA) Passive parallel synchronous (PPS) JTAG Data Source EPC1, EPC2, EPC16 configuration devices MasterBlaster or ByteBlasterMV download cable or serial data source Parallel data source Parallel data source MasterBlaster or ByteBlasterMV download cable or a microprocessor with a Jam or JBC File f Device Pin-Outs For more information on configuration, see Application Note 116 (Configuring APEX 20K, FLEX 10K, & FLEX 6000 Devices.) See the Altera web site (http://www.altera.com) or the Altera Digital Library for pin-out information 114 Altera Corporation APEX 20K Programmable Logic Device Family Data Sheet Revision History The information contained in the APEX 20K Programmable Logic Device Family Data Sheet version 4.3 supersedes information published in previous versions. Version 4.3 APEX 20K Programmable Logic Device Family Data Sheet version 4.3 contains the following changes: Updated Figure 20. Updated Note (2) to Table 13. Updated notes to Tables 31 through 34. Version 4.2 APEX 20K Programmable Logic Device Family Data Sheet version 4.2 contains the following changes: Updated Figure 29. Updated Note (1) to Figure 29. Version 4.1 APEX 20K Programmable Logic Device Family Data Sheet version 4.1 contains the following changes: tESBWEH added to Figure 37 and Tables 39, 54, 60, 66, 72, 78, 90, 96, 101, and 108. Updated EP20K300E device internal and external timing numbers in Tables 83 through 88. Altera Corporation 115 APEX 20K Programmable Logic Device Family Data Sheet (R) 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com Applications Hotline: (800) 800-EPLD Customer Marketing: (408) 544-7104 Literature Services: lit_req@altera.com Copyright (c) 2002 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the stylized Altera logo, specific device designations, and all other words and logos that are identified as trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera Corporation in the U.S. and other countries. All other product or service names are the property of their respective holders. Altera products are protected under numerous U.S. and foreign patents and pending applications, mask work rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. 116 Altera Corporation |
Price & Availability of EP20K100EQ
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |