1 Serial Configuration ( epcs ) Devices Datasheet Datasheet This Datasheet describes Serial Configuration ( epcs ) Devices . Supported Devices Table 1 lists the supported Altera epcs Devices . Table 1. Altera epcs Devices On-Chip Recommended Memory Size Cascading Device Decompression ISP Support Reprogrammable Operating (bits) Support Support Voltage (V). EPCS1 1,048,576 No Yes No Yes EPCS4 4,194,304 No Yes No Yes EPCS16 16,777,216 No Yes No Yes EPCS64 67,108,864 No Yes No Yes EPCS128 134,217,728 No Yes No Yes f For more information about programming epcs Devices using the Altera Programming Unit (APU) or Master Programming Unit (MPU), refer to the Altera Programming Hardware Datasheet .
2 F The epcs device can be re-programmed in system with ByteBlaster II download cable or an external microprocessor using SRunner. For more information, refer to AN418: SRunner: An Embedded Solution for Serial Configuration Device Programming. Features epcs Devices offer the following features: Supports active Serial (AS) x1 Configuration scheme Easy-to-use four-pin interface Low cost, low pin count, and non-volatile memory Low current during Configuration and near-zero standby mode current to operation EPCS1, EPCS4, and EPCS16 Devices available in 8-pin small-outline integrated circuit (SOIC) package EPCS64 and EPCS128 Devices available in 16-pin SOIC package 2014 Altera Corporation.
3 All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are trademarks of Altera Corporation and registered in the Patent and Trademark Office and in other countries. All other words and logos identified as trademarks or service marks are the property of their respective holders as described at Altera warrants performance of its semiconductor ISO. 101 Innovation Drive products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any 9001:2008. products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use Registered San Jose, CA 95134 of any information, product, or service described herein except as expressly agreed to in writing by Altera.
4 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. April 2014 Altera Corporation Feedback Subscribe Page 2 Functional Description Enables the Nios processor to access unused flash memory through AS memory interface Reprogrammable memory with more than 100,000 erase or program cycles Write protection support for memory sectors using status register bits In-system programming (ISP) support with SRunner software driver ISP support with USB-Blaster , EthernetBlaster, or ByteBlaster II download cables Additional programming support with the APU and programming hardware from BP Microsystems, System General, and other vendors By default, the memory array is erased and the bits are set to 1.
5 Functional Description To configure a system using an SRAM-based device, each time you power on the device, you must load the Configuration data. The epcs device is a flash memory device that can store Configuration data that you use for FPGA Configuration purpose after power on. You can use the epcs device on all FPGA that support AS x1. Configuration scheme. For an 8-pin SOIC package, you can migrate vertically from the EPCS1 device to the EPCS4 or EPCS16 device. For a 16-pin SOIC package, you can migrate vertically from the EPCS64 device to the EPCS128 device. With the new data decompression feature supported, you can determine using which epcs device to store the Configuration data for configuring your FPGA.
6 Example 1 shows how you can calculate the compression ratio to determine which epcs device is suitable for the FPGA. Example 1. Compression Ratio Calculation EP4 SGX530 = 189,000,000 bits EPCS128 = 134,217,728 bits Preliminary data indicates that compression typically reduces the Configuration bitstream size by 35% to 55%. Assume worst case that is 35%. decompression. 189,000,000 bits x = 122,850,000 bits The EPCS128 device is suitable. f For more information about the FPGA decompression feature, refer to the Configuration chapter in the appropriate device handbook. Serial Configuration ( epcs ) Devices Datasheet April 2014 Altera Corporation Active Serial FPGA Configuration Page 3.
7 Figure 1 shows the epcs device block diagram. Figure 1. epcs Device Block Diagram epcs Device nCS. Control Logic DCLK. DATA. I/O Shift ASDI. Register Address Counter Data Buffer Status Register Decode Logic Memory Array Accessing Memory in epcs Devices You can access the unused memory locations of the epcs device to store or retrieve data through the Nios processor and SOPC Builder. SOPC Builder is an Altera tool for creating bus-based (especially microprocessor-based) systems in Altera Devices . SOPC Builder assembles library components such as processors and memories into custom microprocessor systems. SOPC Builder includes the epcs device controller core, which is an interface core designed specifically to work with the epcs device.
8 With this core, you can create a system with a Nios embedded processor that allows software access to any memory location within the epcs device. Active Serial FPGA Configuration The following Altera FPGAs support the AS Configuration scheme with epcs Devices : Arria series Cyclone series All device families in the Stratix series except the Stratix device family There are four signals on the epcs device that interface directly with the FPGA's control signals. The epcs device signals are DATA, DCLK, ASDI, and nCS interface with the DATA0, DCLK, ASDO, and nCSO control signals on the FPGA, respectively. 1 For more information about the epcs device pin description, refer to Table 23 on page 36.
9 April 2014 Altera Corporation Serial Configuration ( epcs ) Devices Datasheet Page 4 Active Serial FPGA Configuration Figure 2 shows the Configuration of an FPGA device in the AS Configuration scheme with an epcs device using a download cable. Figure 2. Altera FPGA Configuration in AS Mode Using a Download Cable (1), (4). VCC (1) VCC (1) VCC (1). 10 k 10 k 10 k . Altera FPGA. CONF_DONE. nSTATUS nCEO nCONFIG. epcs Device (2). nCE MSEL (3). 10 k . DATA DATA0. DCLK DCLK. nCS nCSO. ASDI ASDO. Pin 1 VCC (1). Notes to Figure 2: (1) For more information about the VCC value, refer to the Configuration chapter in the appropriate device handbook. (2) epcs Devices cannot be cascaded.
10 (3) Connect the MSEL input pins to select the AS Configuration mode. For more information, refer to the Configuration chapter in the appropriate device handbook. (4) For more information about Configuration pin I/O requirements in an AS Configuration scheme for an Altera FPGA, refer to the Configuration chapter in the appropriate device handbook. Serial Configuration ( epcs ) Devices Datasheet April 2014 Altera Corporation Active Serial FPGA Configuration Page 5. Figure 3 shows the Configuration of an FPGA device in the AS Configuration scheme with an epcs device using the APU or a third-party programmer. Figure 3. Altera FPGA Configuration in AS Mode Using APU or a Third-party Programmer (1), (4).