background image

4

AT40K Series Configuration

1009B–FPGA–03/02

M

0

, M

1

, M

2

The mode pins are dedicated TTL threshold inputs that determine the configuration
mode to be used. Table 1 lists the states for each configuration mode. The mode pins
should not be changed during power-on-reset, manual reset, or configuration download.
The user may change the mode pins during configuration idle. These pins have no pull-
up resistors to VDD, so they need to be driven by the user or tied off.

CCLK

CCLK is the configuration clock pin. It is an input or output depending on the mode of
operation. During power-on-reset or manual reset, it is a tri-stated output. During config-
uration download and in Mode 0, it is an output with a typical frequency of 1 MHz. During
configuration download and in all other modes, it is a Schmitt trigger input with approxi-
mately 1V of hysteresis for noise immunity. It is an input during configuration idle, but is
ignored. It is pulled to VDD with a nominal 50K internal resistor.

RESET

RESET is the FPGA configuration manual reset pin. It is available during all configura-
tion states. It initiates a configuration clear cycle and, if operating in Mode 0, an auto-
configuration. It is a dedicated Schmitt trigger input with approximately 1V of hysteresis
for noise immunity. It is pulled to VDD with a nominal 50K internal resistor.

INIT

INIT is a multi-function pin. During power-on-reset and manual reset, the pin functions
as an open drain bi-directional I/O which releases High when the configuration clear
cycle is complete, but can be held Low to hold the configuration in a reset state. Once
released, the FPGA will proceed to either configuration download or idle, as appropriate.
During configuration download, the INIT pin is again an open drain bi-directional pin
which signals if an error is encountered during the download of a configuration bit-
stream. In addition, during the Check Function, the INIT pin drives Low for any
configuration SRAM mismatch (see the description of the Check Function on page 16
for more details). While in open drain mode, the pin is pulled to VDD with a nominal 20K
internal resistor. When not configuring, the INIT pin becomes a fully functional user I/O.

CON

CON is the FPGA configuration start and status pin. It is a dedicated open drain bi-direc-
tional pin. During power-on-reset or manual reset, CON is driven Low by the FPGA. In
Modes 2, 6, or 7, when the FPGA has finished the configuration clear cycle, CON is
released to indicate the device is ready for the user to initiate configuration download.
The user may then drive CON Low to initiate a configuration download. After three clock
cycles, CON is then driven Low by the FPGA until it finishes the download, and it is then
released. In Mode 0, CON is not released by the FPGA at the end of power-on-reset or
manual reset. Instead, CON is controlled by the FPGA until the end of the auto-configu-
ration process. CON is released at the end of configuration download in Mode 0, and the
user may then initiate a manual configuration download by driving CON Low. While in
open drain mode, the pin is pulled to VDD with a nominal 10K internal resistor.

HDC

HDC

(1)

is the FPGA “High During Configuration” pin. It is an output, driven High by the

FPGA during power-on-reset, manual reset, and configuration download. During config-
uration idle, the pin is a fully functional user I/O.

Note:

1. All user I/O default to inputs with pull-ups “on”. The HDC pin transitions from driving a

strong “1” to a pull-up “1” after reset. The HDC pin will transition from driving a strong
“1” to the user programmed state at the end of configuration download. If not pro-
grammed, the default state is input with pull-up.

           

Summary of Contents for AT40K

Page 1: ...power is first applied to the part The FPGA initiates a complete clearing of all internal configuration SRAM configuration clear cycle The second manual reset occurs when the RESET pin is driven Low...

Page 2: ...e or 16 bit wide parallel data In Slave Parallel Up Mode the device receives either 8 bit or 16 bit wide parallel data and generates a 20 bit address up counter for use in addressing memories CCLK is...

Page 3: ...Trigger Input 50K Pull up Schmitt Trigger Input 50K Pull up Schmitt Trigger Input 50K Pull up Schmitt Trigger Input 50K Pull up HDC Output Output Output Output Output Output User I O User I O LDC Out...

Page 4: ...ain an open drain bi directional pin which signals if an error is encountered during the download of a configuration bit stream In addition during the Check Function the INIT pin drives Low for any co...

Page 5: ...D15 pins will transition from the user programmed state to CMOS inputs with nominal 20K internal pull up resistors as the SRAM at those locations is cleared by the configuration clear cycle When in M...

Page 6: ...ces causes the INIT pin to go Low During power on reset or manual reset CHECK is controlled by the configura tion SRAM The CHECK pin will transition from the user programmed state to a CMOS input with...

Page 7: ...ation clear cycle Once INIT goes High the mode pins are sampled If Mode 0 is detected the part proceeds to the configuration download state CON is held Low by the FPGA HDC remains High LDC remains Low...

Page 8: ...ce Array Size Clear Cycle Time Units Min Typ Max AT40K05 16 x 16 137 228 365 s AT40K10 24 x 24 197 328 525 s AT40K20 32 x 32 257 428 685 s AT40K30 40 x 40 317 528 845 s AT40K40 48 x 48 377 628 1005 s...

Page 9: ...tegration a bit in the control register CR31 may be set which com mands all I O pins not part of the configuration interface to go tri stated This bit is set at the start of configuration so the very...

Page 10: ...esigner IDS Software Options section Go to the Options menu on the IDS Figaro main window and select Options Choose AT40K Bitstream from the topics list 1 Note 1 IDS uses names B0 B31 for CR0 CR31 for...

Page 11: ...pin an input which controls the global tri state control for all user I O CR7 0 8 bit data access 1 16 bit Wide data access CR7 is the Wide data control bit Setting this bit immediately enables bits...

Page 12: ...he fast clocks The clock buffers are enabled and disabled synchronously with the rising edge of the respec tive FCLK signal and stop in a High 1 state Setting one of these bits disables the appropriat...

Page 13: ...tream is clocked into the device Figure 6 dis plays a sample 8 bit wide bitstream for an AT40K series device Figure 3 Configuration Download State Machine Idle Power on or Manual Reset No Yes No Hold...

Page 14: ...ach other Each of these areas is known as a window After the control register the device loads the number of configuration windows A single bitstream can have up to 64K windows The minimum data block...

Page 15: ...gister Once set the configuration claims the upper 8 dual use I O data pins D8 D15 This implies that at the start of a parallel download in which the user wants wide data bandwidth and D8 D15 as user...

Page 16: ...and compared to the bitstream on a byte by byte basis in the configuration logic Any differences are reported by driving the INIT pin Low The INIT pin will lower two clocks after the miscompare The Ch...

Page 17: ...nated all config uration pins are released by the configuration logic and the configuration state returns to Idle A bad preamble causes the INIT pin to be driven Low and causes the bitstream to be ter...

Page 18: ...in system level integration AT40K series devices have available a number of bits in the control register which cause the I O pins to tri state the Global Set Reset network to activate Low and the Glob...

Page 19: ...al after CON is driven Low The nets are forced High for glitch less suppression of activity 2 User I O are tri stated on the first rising edge of CCLK after CON has been driven Low CCLK CON GLOBAL SET...

Page 20: ...LY TRI STATED DURING CONFIGURATION GLOBAL SET RESET NET 3 GCLK 1 FCLK 1 INTERNAL CLOCK NET USER CONTROL OPTIONALLY FORCED ON LOW DURING CONFIGURATION OPTIONALLY DISABLED DURING CONFIGURATION tHGF USER...

Page 21: ...At the end of power on reset or manual reset CON is not pulsed High For the AT40K series devices either the RESET or INIT pin is tied to the Configurator OE RESET pin and CON is tied to the Configura...

Page 22: ...Serial Start of Auto configuration Download Note 1 Parameter tOE is taken from the AT17 series datasheet 50K PULL UP INTERNAL tPCCLK tICCLK 20K PULL UP INTERNAL tOE 1 tHCD tSCD BITSTREAM BIT 0 BIT 1 B...

Page 23: ...ly but the FPGA will not claim the configuration interface until after the first ris ing edge of CCLK after CON goes Low The D0 pin is a dual use I O but must remain an input in order for re configura...

Page 24: ...edge of CON to first rising edge of CCLK to start recognition 0 6 1 1 6 s tSCCCLK Setup time for CHECK with respect to rising edge of CCLK at the start of a configuration download 6 10 16 ns tDCI Dela...

Page 25: ...on with a Mode 1 device serial EEPROM in a cascade chain with a Mode 0 device as the master in the chain Configuration Data Source Serial EEPROM Microprocessor Dedicated Configuration Pins RESET CON M...

Page 26: ...l use I O pin is required as a chip select to enable the part to claim the con figuration so care must be taken by the user not to use the CS0 pin in such a manner that the part may not be reconfigure...

Page 27: ...usion if the FPGA does drive the pin Low 2 For configuration interface inputs tDCI indicates the time for the user I O to tri state 3 The pins CSOUT and CHECK are claimed by the configuration interfac...

Page 28: ...ror shown The proper value is 1 The error is shown for timing purposes only under normal circumstances the bitstream download would terminate prematurely 2 The pins CSOUT and CHECK are claimed by the...

Page 29: ...CCLK Setup time for CHECK with respect to rising edge of CCLK at the start of a configuration download 6 10 16 ns tDCI Delay from rising edge of CCLK to activation of configuration interface at the st...

Page 30: ...ed CON is released by the FPGA indicating the device is completely ready for user operation Configuration time depends on the frequency of the external clock driving CCLK The maximum frequency in whic...

Page 31: ...usion if the FPGA does drive the pin Low 2 For configuration interface inputs tDCI indicates the time for the user I O to tri state 3 The pins CSOUT and CHECK are claimed by the configuration interfac...

Page 32: ...led 1000 ns tSCC Setup time for CON with respect to rising edge of CCLK 6 10 16 ns tSCD Setup time for data with respect to rising edge of CCLK 6 10 16 ns tHCD Hold time for data with respect to risin...

Page 33: ...ation time depends on the frequency of the external clock driving CCLK The maximum frequency in which a Mode 6 device can be downloaded is 33 MHz A full bitstream for the AT40K20 can be downloaded in...

Page 34: ...w 2 For configuration interface inputs tDCI indicates the time for the user I O to tri state 3 The pins CSOUT and CHECK are claimed by the configuration interface only if enabled by the control regist...

Page 35: ...a with respect to rising edge of CCLK 6 10 16 ns tHCD Hold time for data with respect to rising edge of CCLK 0 0 0 ns tSCCCLK Setup time for CHECK with respect to rising edge of CCLK at the start of a...

Page 36: ...y downstream from a Mode 6 device see Figure 22 Configuration Data Source Microprocessor Parallel EEPROM EPROM PROM Dedicated Configuration Pins RESET CON M0 M1 M2 CCLK Dual use I O D0 D7 INIT LDC HDC...

Page 37: ...15 shows the config uration timing specifications pertaining to these timing diagrams Note that all D0 D7 inputs for the FPGAs in the cascade chain are tied in parallel The upstream device does not ac...

Page 38: ...drive the pin Low 2 For configuration interface inputs tDCI indicates the time for the user I O to tri state 3 The pins CSOUT and CHECK are claimed by the configuration interface only if enabled by t...

Page 39: ...igure 25 Cascade Chain Interface Timing Diagram 1 Notes 1 Cascade bitstream is formed by simple concentration of upstream and downstream bitstreams 2 INIT of upstream and downstream devices are tied t...

Page 40: ...edge of CCLK 0 0 0 ns tSCCCLK Setup time for CHECK with respect to rising edge of CCLK at the start of a configuration download 6 10 16 ns tDCI Delay from rising edge of CCLK to activation of configu...

Page 41: ...3551 FAX 81 3 3523 7581 Memory Atmel Corporate 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 436 4270 FAX 1 408 436 4314 Microcontrollers Atmel Corporate 2325 Orchard Parkway San Jose CA 95131 TEL...

Reviews: