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. 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.
circuit (SOIC) package
ISO
9001:2008
Registered
Subscribe
Page 2Functional Description
■ Enables the Nios
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
■ 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
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.
processor to access unused flash memory through AS memory
, EthernetBlaster, or ByteBlaster II download cables
1
With the new data decompression feature supported, you can determine using which
EPCS device to store the configuration data for configuring your FPGA.
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
EP4SGX530 = 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 w orst case that is 35%
decompression.
189,000,000 bits x 0.65 = 122,85 0,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 DatasheetJanuary 2012 Altera Corporation
Active Serial FPGA ConfigurationPage 3
Figure 1 shows the EPCS device block diagram.
Figur e 1. EPCS Device Bl ock Diagram
EPCS Device
nCS
DCLK
Control
Logic
Decode Logic
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.
I/O Shift
Register
Data Buffer
Memory
Array
DATA
ASDI
Status RegisterAddress Counter
SOPC Builder includes the EPCS device controller core, which is an interface core
designed specifically to work with the EPCS device. 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
■ Cyclone
■ All device families in the Stratix
There are four signals on the EPCS device that interface directly with the FPGA’s
control signals. The EPCS device signals are
the
1For more information about the EPCS device pin description, refer to Table 22 on
page 36.
series
series
DATA0, DCLK, ASDO
, and
nCSO
series except the Stratix device family
DATA, DCLK, ASDI
, and
nCS
interface with
control signals on the FPGA, respectively.
Serial Configuration (EPCS) Devices DatasheetJanuary 2012 Altera Corporation
Page 4Active 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.
Figur e 2. Alt era FPGA Configuration in AS Mode Using a Download Cable
VCC (1) VCC (1) VCC (1)
10 kΩ10 kΩ10 kΩ
CONF_DONE
nSTATUS
nCONFIG
EPCS Device (2)
nCE
10 kΩ
DATA
DCLK
nCS
ASDI
Pin 1
DATA0
DCLK
nCSO
ASDO
V
(1)
CC
(1), (4)
Altera FPGA
nCEO
MSEL[]
N.C.
(3)
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.
(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 DatasheetJanuary 2012 Altera Corporation
Active Serial FPGA ConfigurationPage 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.
Figur e 3. Alt era FPGA Configuration in AS Mode Usin g APU or a Thir d-party Programmer
VCC (1) VCC (1) VCC (1)
10 kΩ10 kΩ10 kΩ
Altera FPGA
CONF_DONE
nSTATUS
nCONFIG
EPCS Device (2)
nCE
DATA
DCLK
nCS
ASDI
Notes to Figure 3:
(1) For more information about the VCC value, refer to the configuration chapter in the appropriate device handbook.
(2) EPCS devices cannot be cascaded.
(3) Connect the
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.
MSEL[]
input pins to select the AS configuration mode. For more information, refer to the configuration chapter in the appropriate
DATA0
DCLK
nCSO
ASDO
(1) , (4)
nCEO
MSEL[]
N.C.
(3)
In an AS configuration, the FPGA acts as the configuration master in the
configuration flow and provides the clock to the EPCS device. The FPGA enables the
EPCS device by pulling the
nCS
signal low using the
nCSO
signal as shown in Figure 2
and Figure 3. Then, the FPGA sends the instructions and addresses to the EPCS device
using the
configuration data to the FPGA’s
latched into the FPGA on the next
ASDO
signal. The EPCS device responds to the instructions by sending the
DATA0
pin on the falling edge of
DCLK
signal’s falling edge.
DCLK
. The data is
1Before the FPGA enters configuration mode, ensure that VCC of the EPCS device is
ready. If VCC is not ready, you must hold
nCONFIG
low until all power rails of EPCS
device are ready.
The FPGA controls the
mode. If the
CONF_DONE
signal goes high too early, the FPGA pulses its
reconfiguration. If the configuration is successful, the FPGA releases the
pin, allowing the external 10-k resistor to pull the
initialization begins after the
nSTATUS
and
CONF_DONE
pins during configuration in the AS
signal does not go high at the end of configuration, or if the
nSTATUS
pin low to start a
CONF_DONE
CONF_DONE
CONF_DONE
pin goes high. After the initialization, the
signal high. The FPGA
FPGA enters user mode.
f For more information about configuring the FPGAs in AS configuration mode or
other configuration modes, refer to the configuration chapter in the appropriate
device handbook.
Serial Configuration (EPCS) Devices DatasheetJanuary 2012 Altera Corporation
Page 6Active Serial FPGA Configuration
DATA
DCLK
nCS
ASDI
DATA0
DCLK
nCSO
nCE
nCONFIG
nSTATUS
MSEL[ ]
nCEO
CONF_DONE
ASDO
VCC (1)
10 kΩ
VCC (1)
10 kΩ
VCC (1)
10 kΩ
(3)
Altera FPGA (Master)
DATA0
DCLK
nCE
nCONFIG
nSTATUS
MSEL[ ]
nCEO
CONF_DONE
(4)
Altera FPGA (Slave)
EPCS Device (2)
N.C.
You can configure multiple devices with a single EPCS device. However, you cannot
cascade EPCS devices. To ensure that the programming file size of the cascaded
FPGAs does not exceed the capacity of an EPCS device, refer to Table 1 on page 1.
Figure 4 shows the AS configuration scheme with multiple FPGAs in the chain. The
first FPGA is the configuration master and its
following FPGAs are configuration slave devices and their
MSEL[]
pins are set to AS mode. The
MSEL[]
pins are set to PS
mode.
Figure 4. Multiple Devices in AS Mode
(1), (5)
Notes to Figure 4:
(1) For more information about the VCC value, refer to the configuration chapter in the appropriate device handbook.
(2) EPCS devices cannot be cascaded.
(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) Connect the
MSEL[]
input pins to select the PS configuration mode. For more information, refer to the configuration chapter in the appropriate
device handbook.
(5) 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 DatasheetJanuary 2012 Altera Corporation
EPCS Device Memory AccessPage 7
EPCS Device Memory Access
This section describes the memory array organization and operation codes of the
EPCS device. For the timing specifications, refer to “Timing Information” on page 29.
Memory Array Organization
Ta b l e 2 lists the memory array organization details in EPCS128, EPCS64, EPCS16,
EPCS4, and EPCS1 devices.
Table 2. Memory Ar ray Organizat ion in EPCS Devices
DetailsEPCS128EPCS64EPCS16EPCS4EPCS1
Bytes
Number of sect ors641283284
Bytes per sector
Pages per sector1,024256256256128
Total number of
pages
Bytes per page256 bytes256 bytes256 bytes256 bytes256 bytes
16,777,216 bytes
(128 Mb)
262,144 by tes
(2 Mb)
65,53632,7688,1922,048512
8,388,608 bytes
(64 Mb)
65,536 bytes
(512 Kb)
2,097,152 bytes
(16 Mb)
65,536 bytes
(512 Kb)
524,288 bytes
(4 Mb)
65,536 bytes
(512 Kb)
131,072 bytes
(1 Mb)
32,768 bytes
(256 Kb)
Ta b l e 3 through Table 7 on page 15 list the address range for each sector in EPCS128,
EPCS64, EPCS16, EPCS4, and EPCS1 devices.
Table 3. Address Range for Sectors in EPCS128 Devices (Part 1 of 3)
Sector
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
Address Range (Byte Addresses in HEX)
StartEnd
H'FC0000H'FFFFFF
H'F80000H'FBFFFF
H'F40000H'F7FFFF
H'F00000H'F3FFFF
H'EC0000H'EFFFFF
H'E80000H'EBFFFF
H'E40000H'E7FFFF
H'E00000H'E3FFFF
H'DC0000H'DFFFFF
H'D80000H'DBFFFF
H'D40000H'D7FFFF
H'D00000H'D3FFFF
H'CC0000H'CFFFFF
H'C80000H'CBFFFF
H'C40000H'C7FFFF
H'C00000H'C3FFFF
H'BC0000H'BFFFFF
Serial Configuration (EPCS) Devices DatasheetJanuary 2012 Altera Corporation
Page 8EPCS Device Memory Access
Table 3. Address Range for Sectors in EPCS128 Devices (Part 2 of 3)
Sector
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
Address Range (Byte Addresses in HEX)
StartEnd
H'B80000H'BBFFFF
H'B40000H'B7FFFF
H'B00000H'B3FFFF
H'AC0000H'AFFFFF
H'A80000H'ABFFFF
H'A40000H'A7FFFF
H'A00000H'A3FFFF
H'9C0000H'9FFFFF
H'980000H'9BFFFF
H'940000H'97FFFF
H'900000H'93FFFF
H'8C0000H'8FFFFF
H'880000H'8BFFFF
H'840000H'87FFFF
H'800000H'83FFFF
H'7C0000H'7FFFFF
H'780000H'7BFFFF
H'740000H'77FFFF
H'700000H'73FFFF
H'6C0000H'6FFFFF
H'680000H'6BFFFF
H'640000H'67FFFF
H'600000H'63FFFF
H'5C0000H'5FFFFF
H'580000H'5BFFFF
H'540000H'57FFFF
H'500000H'53FFFF
H'4C0000H'4FFFFF
H'480000H'4BFFFF
H'440000H'47FFFF
H'400000H'43FFFF
H'3C0000H'3FFFFF
H'380000H'3BFFFF
H'340000H'37FFFF
H'300000H'33FFFF
H'2C0000H'2FFFFF
H'280000H'2BFFFF
H'240000H'27FFFF
Serial Configuration (EPCS) Devices DatasheetJanuary 2012 Altera Corporation
EPCS Device Memory AccessPage 9
Table 3. Address Range for Sectors in EPCS128 Devices (Part 3 of 3)
Sector
8
7
6
5
4
3
2
1
0
Address Range (Byte Addresses in HEX)
StartEnd
H'200000H'23FFFF
H'1C0000H'1FFFFF
H'180000H'1BFFFF
H'140000H'17FFFF
H'100000H'13FFFF
H'0C0000H'0FFFFF
H'080000H'0BFFFF
H'040000H'07FFFF
H'000000H'03FFFF
Serial Configuration (EPCS) Devices DatasheetJanuary 2012 Altera Corporation
Page 10EPCS Device Memory Access
Table 4. Address Range for Sectors in EPCS64 Devices (Part 1 of 4)
Sector
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
Address Range (Byte Addresses in HEX)
StartEnd
H'7F0000H'7FFFFF
H'7E0000H'7EFFFF
H'7D0000H'7DFFFF
H'7C0000H'7CFFFF
H'7B0000H'7BFFFF
H'7A0000H'7AFFFF
H'790000H'79FFFF
H'780000H'78FFFF
H'770000H'77FFFF
H'760000H'76FFFF
H'750000H'75FFFF
H'740000H'74FFFF
H'730000H'73FFFF
H'720000H'72FFFF
H'710000H'71FFFF
H'700000H'70FFFF
H'6F0000H'6FFFFF
H'6E0000H'6EFFFF
H'6D0000H'6DFFFF
H'6C0000H'6CFFFF
H'6B0000H'6BFFFF
H'6A0000H'6AFFFF
H'690000H'69FFFF
H'680000H'68FFFF
H'670000H'67FFFF
H'660000H'66FFFF
H'650000H'65FFFF
H'640000H'64FFFF
H'630000H'63FFFF
H'620000H'62FFFF
H'610000H'61FFFF
H'600000H'60FFFF
H'5F0000H'5FFFFF
H'5E0000H'5EFFFF
H'5D0000H'5DFFFF
H'5C0000H'5CFFFF
H'5B0000H'5BFFFF
H'5A0000H'5AFFFF
Serial Configuration (EPCS) Devices DatasheetJanuary 2012 Altera Corporation
EPCS Device Memory AccessPage 11
Table 4. Address Range for Sectors in EPCS64 Devices (Part 2 of 4)
Sector
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
Address Range (Byte Addresses in HEX)
StartEnd
H'590000H'59FFFF
H'580000H'58FFFF
H'570000H'57FFFF
H'560000H'56FFFF
H'550000H'55FFFF
H'540000H'54FFFF
H'530000H'53FFFF
H'520000H'52FFFF
H'510000H'51FFFF
H'500000H'50FFFF
H'4F0000H'4FFFFF
H'4E0000H'4EFFFF
H'4D0000H'4DFFFF
H'4C0000H'4CFFFF
H'4B0000H'4BFFFF
H'4A0000H'4AFFFF
H'490000H'49FFFF
H'480000H'48FFFF
H'470000H'47FFFF
H'460000H'46FFFF
H'450000H'45FFFF
H'440000H'44FFFF
H'430000H'43FFFF
H'420000H'42FFFF
H'410000H'41FFFF
H'400000H'40FFFF
H'3F0000H'3FFFFF
H'3E0000H'3EFFFF
H'3D0000H'3DFFFF
H'3C0000H'3CFFFF
H'3B0000H'3BFFFF
H'3A0000H'3AFFFF
H'390000H'39FFFF
H'380000H'38FFFF
H'370000H'37FFFF
H'360000H'36FFFF
H'350000H'35FFFF
H'340000H'34FFFF
Serial Configuration (EPCS) Devices DatasheetJanuary 2012 Altera Corporation
Page 12EPCS Device Memory Access
Table 4. Address Range for Sectors in EPCS64 Devices (Part 3 of 4)
Sector
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
Address Range (Byte Addresses in HEX)
StartEnd
H'330000H'33FFFF
H'320000H'32FFFF
H'310000H'31FFFF
H'300000H'30FFFF
H'2F0000H'2FFFFF
H'2E0000H'2EFFFF
H'2D0000H'2DFFFF
H'2C0000H'2CFFFF
H'2B0000H'2BFFFF
H'2A0000H'2AFFFF
H'290000H'29FFFF
H'280000H'28FFFF
H'270000H'27FFFF
H'260000H'26FFFF
H'250000H'25FFFF
H'240000H'24FFFF
H'230000H'23FFFF
H'220000H'22FFFF
H'210000H'21FFFF
H'200000H'20FFFF
H'1F0000H'1FFFFF
H'1E0000H'1EFFFF
H'1D0000H'1DFFFF
H'1C0000H'1CFFFF
H'1B0000H'1BFFFF
H'1A0000H'1AFFFF
H'190000H'19FFFF
H'180000H'18FFFF
H'170000H'17FFFF
H'160000H'16FFFF
H'150000H'15FFFF
H'140000H'14FFFF
H'130000H'13FFFF
H'120000H'12FFFF
H'110000H'11FFFF
H'100000H'10FFFF
H'0F0000H'0FFFFF
H'0E0000H'0EFFFF
Serial Configuration (EPCS) Devices DatasheetJanuary 2012 Altera Corporation
Loading...
+ 28 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.