Rainbow Electronics ATF1508ASL User Manual

Features

High-density, High-performance, Electrically-erasable Complex
Programmable Logic Device
– 128 Macrocells – 5 Product Terms per Macrocell, Expandable up to 40 per Macrocell – 84, 100, 160 Pins – 7.5 ns Maximum Pin-to-pin Delay – Registered Operation up to 125 MHz – Enhanced Routing Resources
Flexible Logic Macrocell
– D/T/Latch Configured Flip-flops – Global and Individual Register Control Signals – Global and Individual Output Enable – Programmable Output Slew Rate – Programmable Output Open Collector Option – Maximum Logic Utilization by Burying a Register within a COM Output
Advanced Power Management Features
– Automatic 10 µA Standby for “L” Version – Pin-controlled 1 mA Standby Mode – Programmable Pin-keeper Inputs and I/Os – Reduced-power Feature per Macrocell
Available in Commercial and Industrial Temperature Ranges
Available in 84-lead PLCC, 100-lead PQFP, 100-lead TQFP and 160-lead PQFP Packages
Advanced EE Technology
– 100% Tested – Completely Reprogrammable – 10,000 Program/Erase Cycles – 20-year Data Retention – 2000V ESD Protection – 200 mA Latch-up Immunity
JTAG Boundary-scan Testing to IEEE Std. 1149.1-1990 and 1149.1a-1993 Supported
Fast In-System Programmability (ISP) via JTAG
PCI-compliant
3.3 or 5.0V I/O Pins
Security Fuse Feature
High­performance EE PLD
ATF1508AS ATF1508ASL

Enhanced Features

Improved Connectivity (Additional Feedback Routing, Alternate Input Routing)
Output Enable Product Terms
Transparent-latch Mode
Combinatorial Output with Registered Feedback within Any Macrocell
Three Global Clock Pins
ITD (Input Transition Detection) Circuits on Global Clocks, Inputs and I/O
Fast Registered Input from Product Term
Programmable “Pin-keeper” Option
V
Power-up Reset Option
CC
Pull-up Option on JTAG Pins TMS and TDI
Advanced Power Management Features
– Edge-controlled Power-down “L” – Individual Macrocell Power Option – Disable ITD on Global Clocks, Inputs and I/O for “Z” Parts
Rev. 0784O–PLD–09/02
1
I/O/PD1
VCCIO I/O/TDI
GND
I/O/TMS
VCCIO
GND
84-lead PLCC
Top View
I/O
I/O
I/O
I/O
GND
I/O
I/O
I/O
VCCINT
INPUT/OE2/GCLK2
INPUT/GCLR
INPUT/OE1
INPUT/GCLK1
987654321
11
10
12 13 14 15
I/O
16
I/O
17
I/O
18
I/O
19 20
I/O
21
I/O
22
I/O
23 24
I/O
25
I/O
26 27
I/O
28
I/O
29
I/O
30
I/O
31
I/O
32
333435363738394041424344454647484950515253
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
VCCIO
GND
848382818079787776
I/O
I/O
GND
I/O/PD2
VCCINT
I/O/GCLK3
I/O
I/O
I/O
I/O
GND
VCCIO
I/O
I/O
I/O
I/O
I/O
I/O
75 74
73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54
VCCIO
I/O I/O GND I/O/TDO I/O I/O I/O I/O VCCIO I/O I/O I/O I/O/TCK I/O I/O GND I/O I/O I/O I/O I/O
I/O/PD1
VCCIO I/O/TDI
GND
I/O/TMS
VCCIO
GND
100-lead PQFP
Top View
I/O
I/O
I/O
GND
I/O
I/O
I/O
VCCINT
INPUT/OE2/GCLK2
INPUT/GCLR
99989796959493929190898887868584838281
100
1
I/O
2
I/O
3 4
I/O
5 6 7
I/O
8
I/O
9
I/O
10
I/O
11
I/O
12
I/O
13 14
I/O
15
I/O
16
I/O
17 18
I/O
19
I/O
20 21
I/O
22
I/O
23
I/O
24
I/O
25
I/O
26
I/O
27
I/O
28 29
I/O
30
I/O
31323334353637383940414243444546474849
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
GND
VCCIO
INPUT/OE1
INPUT/GCLK1
GND
I/O
I/O/PD2
VCCINT
I/O/GCLK3
I/O
I/O
I/O
I/O
GND
VCCIO
I/O
I/O
I/O
I/O
80
I/O
79
I/O
78
I/O
77
I/O
76
GND
75
I/O/TDO
74
I/O
73
I/O
72
I/O
71
I/O
70
I/O
69
I/O
68
VCCIO
67
I/O
66
I/O
65
I/O
64
I/O/TCK
63
I/O
62
I/O
61
GND
60
I/O
59
I/O
58
I/O
57
I/O
56
I/O
55
I/O
54
I/O
53
VCCIO
52
I/O
51
I/O
50
I/O
I/O
I/O
I/O/PD1
VCCIO I/O/TDI
GND
I/O/TMS
VCCIO
100-lead TQFP
Top View
I/O
I/O
I/O
I/O
I/O
GND
I/O
I/O
I/O
VCCINT
INPUT/OE2/GCLK2
INPUT/GCLR
INPUT/OE1
INPUT/GCLK1
GND
I/O/GCLK3
9998979695949392919089888786858483828180797877
100
1 2
I/O
3 4 5
I/O
6
I/O
7
I/O
8
I/O
9
I/O
10
I/O
11 12
I/O
13
I/O
14
I/O
15 16
I/O
17
I/O
18 19
I/O
20
I/O
21
I/O
22
I/O
23
I/O
24
I/O
25
I/O
26272829303132333435363738394041424344454647484950
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
GND
VCCIO
GND
I/O
VCCINT
I/O/PD2
160-lead PQFP
Top View
I/O
I/O/PD2
I/O
N/C
N/C
N/C
N/C
I/O
I/O
I/O
I/O
I/O
GND
I/O
I/O
I/O
I/O
VCCINT
INPUT/OE2/GCLK2
INPUT/GCLR
INPUT/OE1
INPUT/GCLK1
GND
I/O/GCLK3
I/O
I/O
I/O
VCCIO
I/O
I/O
I/O
I/O
I/O
N/C
N/C
N/C
N/C
I/O
I/O
I/O
160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
1
I/O
I/O
VCCIO
I/O
I/O
I/O
I/O
I/O
I/O
76
75
I/O
74
GND
73
I/O/TDO
72
I/O
71
I/O
70
I/O
69
I/O
68
I/O
67
I/O
66
VCCIO
65
I/O
64
I/O
63
I/O
62
I/O/TCK
61
I/O
60
I/O
59
GND
58
I/O
57
I/O
56
I/O
55
I/O
54
I/O
53
I/O
52
I/O
51
VCCIO
I/O
I/O
I/O
I/O
I/O
I/O
I/O
GND
I/O
N/C
2
N/C
3
N/C
4
N/C
5
N/C
6
N/C
7
N/C
8
VCCIO
9
I/O/TDI
10
I/O
11
I/O
12
I/O
13
I/O
14
I/O
15
I/O
16
I/O
17
GND
18
I/O
19
I/O
20
I/O
21
I/O
22
I/O/TMS
23
I/O
24
I/O
25
I/O
26
VCCIO
27
I/O
28
I/O
29
I/O
30
I/O
31
I/O
32
I/O
33
I/O
34
N/C
35
N/C
36
N/C
37
N/C
38
N/C
39
N/C
40
N/C
414243444546474849505152535455565758596061626364656667686970717273747576777879
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
N/C
N/C
N/C
N/C
GND
VCCIO
GND
VCCINT
I/O/PD1
I/O
GND
I/O
I/O
I/O
I/O
I/O
I/O
I/O
N/C
N/C
N/C
N/C
119
N/C
118
N/C
117
N/C
116
N/C
115
N/C
114
N/C
113
GND
112
I/O/TDO
111
I/O
110
I/O
109
I/O
108
I/O
107
I/O
106
I/O
105
I/O
104
VCCIO
103
I/O
102
I/O
101
I/O
100
I/O
99
I/O/TCK
98
I/O
97
I/O
96
I/O
95
GND
94
I/O
93
I/O
92
I/O
91
I/O
90
I/O
89
I/O
88
I/O
87
N/C
86
N/C
85
N/C
84
N/C
83
N/C
82
N/C
81
N/C
80
I/O
I/O
N/C
VCCIO
2
ATF1508AS(L)
0784O–PLD–09/02

Block Diagram

8to12
ATF1508AS(L)
16
0784O–PLD–09/02
3

Description The ATF1508AS is a high-performance, high-density complex programmable logic device

(CPLD) that utilizes Atmel’s proven electrically-erasable technology. With 128 logic macrocells and up to 100 inputs, it easily integrates logic from several TTL, SSI, MSI, LSI and classic PLDs. The ATF1508AS’s enhanced routing switch matrices increase usable gate count and increase odds of successful pin-locked design modifications.
The ATF1508AS has up to 96 bi-directional I/O pins and four dedicated input pins, depending on the type of device package selected. Each dedicated pin can also serve as a global control signal, register clock, register reset or output enable. Each of these control signals can be selected for use individually within each macrocell.
Each of the 128 macrocells generates a buried feedback that goes to the global bus. Each input and I/O pin also feeds into the global bus. The switch matrix in each logic block then selects 40 individual signals from the global bus. Each macrocell also generates a foldback logic term that goes to a regional bus. Cascade logic between macrocells in the ATF1508AS allows fast, efficient generation of complex logic functions. The ATF1508AS contains eight suchlogicchains,eachcapableofcreatingsumtermlogicwithafan-inofupto40product terms.
The ATF1508AS macrocell, shown in Figure 1, is flexible enough to support highly-complex logic functions operating at high speed. The macrocell consists of five sections: product terms and product term select multiplexer; OR/XOR/CASCADE logic, a flip-flop, output select and enable, and logic array inputs.
Unused macrocells are automatically disabled by the compiler to decrease power consump­tion. A security fuse, when programmed, protects the contents of the ATF1508AS. Two bytes (16 bits) of User Signature are accessible to the user for purposes such as storing project name, part number, revision or date. The User Signature is accessible regardless of the state of the security fuse.

Product Terms and Select Mux

OR/XOR/ CASCADE Logic

The ATF1508AS device is an in-system programmable (ISP) device. It uses the industry-stan­dard 4-pin JTAG interface (IEEE Std. 1149.1), and is fully compliant with JTAG’s Boundary­scan Description Language (BSDL). ISP allows the device to be programmed without remov­ing it from the printed circuit board. In addition to simplifying the manufacturing flow, ISP also allows design modifications to be made in the field via software.
Each ATF1508AS macrocell has five product terms. Each product term receives as its inputs all signals from both the global bus and regional bus.
The product term select multiplexer (PTMUX) allocates the five product terms as needed to the macrocell logic gates and control signals. The PTMUX programming is determined by the design compiler, which selects the optimum macrocell configuration.
The ATF1508AS’s logic structure is designed to efficiently support all types of logic. Within a single macrocell, all the product terms can be routed to the OR gate, creating a 5-input AND/OR sum term. With the addition of the CASIN from neighboring macrocells, this can be expanded to as many as 40 product terms with a little small additional delay.
The macrocell’s XOR gate allows efficient implementation of compare and arithmetic func­tions. One input to the XOR comes from the OR sum term. The other XOR input can be a product term or a fixed high- or low-level. For combinatorial outputs, the fixed level input allows polarity selection. For registered functions, the fixed levels allow DeMorgan minimiza­tion of product terms. The XOR gate is also used to emulate T- and JK-type flip-flops.
4
ATF1508AS(L)
0784O–PLD–09/02
ATF1508AS(L)

Flip-flop The ATF1508AS’s flip-flop has very flexible data and control functions. The data input can

come from either the XOR gate, from a separate product term or directly from the I/O pin. Selecting the separate product term allows creation of a buried registered feedback within a combinatorial output macrocell. (This feature is automatically implemented by the fitter soft­ware). In addition to D, T, JK and SR operation, the flip-flop can also be configured as a flow­through latch. In this mode, data passes through when the clock is high and is latched when the clock is low.
The clock itself can be either the Global CLK Signal (GCK) or an individual product term. The flip-flop changes state on the clock’s rising edge. When the GCK signal is used as the clock, one of the macrocell product terms can be selected as a clock enable. When the clock enable function is active and the enable signal (product term) is low, all clock edges are ignored. The flip-flop’s asynchronous reset signal (AR) can be either the Global Clear (GCLEAR), a product term, or always off. AR can also be a logic OR of GCLEAR with a product term. The asynchro­nous preset (AP) can be a product term or always off.

Extra Feedback The ATF15xxSE Family macrocell output can be selected as registered or combinatorial. The

extra buried feedback signal can be either combinatorial or a registered signal regardless of whether the output is combinatorial or registered. (This enhancement function is automatically implemented by the fitter software.) Feedback of a buried combinatorial output allows the cre­ation of a second latch within a macrocell.

I/O Control The output enable multiplexer (MOE) controls the output enable signal. Each I/O can be indi-

vidually configured as an input, output or for bi-directional operation. The output enable for each macrocell can be selected from the true or compliment of the two output enable pins, a subset of the I/O pins, or a subset of the I/O macrocells. This selection is automatically done by the fitter software when the I/O is configured as an input, all macrocell resources are still available, including the buried feedback, expander and cascade logic.

Global Bus/Switch Matrix

The global bus contains all input and I/O pin signals as well as the buried feedback signal from all 128 macrocells. The switch matrix in each logic block receives as its inputs all signals from the global bus. Under software control, up to 40 of these signals can be selected as inputs to the logic block.

Foldback Bus Each macrocell also generates a foldback product term. This signal goes to the regional bus

and is available to 16 macrocells. The foldback is an inverse polarity of one of the macrocell’s product terms. The 16 foldback terms in each region allows generation of high fan-in sum terms (up to 21 product terms) with a little additional delay.

3.3V or 5.0V I/O Operation

Open-collector Output Option

The ATF1508AS device has two sets of VCCpins viz, V always be connected to a 5.0V power supply. V patible” with both 3.3V and 5.0V inputs. V connected for 3.3/5.0V power supply.
This option enables the device output to provide control signals such as an interrupt that can be asserted by any of the several devices.
CCIO
pins are for input buffers and are “com-
CCINT
pins are for I/O output drives and can be
CCINT
and V
CCIO.VCCINT
pins must
0784O–PLD–09/02
5
Figure 1. ATF1508AS Macrocell

Programmable Pin-keeper Option for Inputs and I/Os

Input Diagram

The ATF1508AS offers the option of programming all input and I/O pins so that “pin-keeper” circuits can be utilized. When any pin is driven high or low and then subsequently left floating, it will stay at that previous high- or low-level. This circuitry prevents unused input and I/O lines from floating to intermediate voltage levels, which causes unnecessary power consumption and system noise. The keeper circuits eliminate the need for external pull-up resistors and eliminate their DC power consumption.
6
ATF1508AS(L)
0784O–PLD–09/02
ATF1508AS(L)

Speed/Power Management

I/O Diagram

The ATF1508AS has several built-in speed and power management features. The ATF1508AS contains circuitry that automatically puts the device into a low-power stand-by mode when no logic transitions are occurring. This not only reduces power consumption dur­ing inactive periods, but also provides proportional power-savings for most applications running at system speeds below 5 MHz.
To further reduce power, each ATF1508AS macrocell has a Reduced-power bit feature. This feature allows individual macrocells to be configured for maximum power savings. This feature may be selected as a design option.
All ATF1508 also have an optional power-down mode. In this mode, current drops to below 10 mA. When the power-down option is selected, either PD1 or PD2 pins (or both) can be used to power down the part. The power-down option is selected in the design source file. When enabled, the device goes into power-down when either PD1 or PD2 is high. In the power-down mode, all internal logic signals are latched and held, as are any enabled outputs.
All pin transitions are ignored until the PD pin is brought low. When the power-down feature is enabled, the PD1 or PD2 pin cannot be used as a logic input or output. However, the pin’s macrocell may still be used to generate buried foldback and cascade logic signals.
All power-down AC characteristic parameters are computed from external input or I/O pins, with Reduced-power Bit turned on. For macrocells in reduced-power mode (Reduced-power bit turned on), the reduced-power adder, tRPA, must be added to the AC parameters, which include the data paths t
Each output also has individual slew rate control. This may be used to reduce system noise by slowing down outputs that do not need to operate at maximum speed. Outputs default to slow switching, and may be specified as fast switching in the design file.
LAD,tLAC,tIC,tACL,tACH
and t
SEXP
.
0784O–PLD–09/02
7
Design Software
ATF1508AS designs are supported by several third-party tools. Automated fitters allow logic synthesis using a variety of high level description languages and formats.
Support

Power-up Reset The ATF1508AS is designed with a power-up reset, a feature critical for state machine initial-

ization. At a point delayed slightly from V the state of each output will depend on the polarity of its buffer. However, due to the asynchro­nous nature of reset and uncertainty of how V conditions are required:
1. The V
2. After reset occurs, all input and feedback setup times must be met before driving the clock pin high, and,
3. The clock must remain stable during T
The ATF1508AS has two options for the hysteresis about the reset level, V Large. During the fitting process users may configure the device with the Power-up Reset hys­teresis set to Large or Small. Atmel POF2JED users may select the Large option by including the flag “-power_reset” on the command line after “filename.POF”. To allow the registers to be properly reinitialized with the Large hysteresis option selected, the following condition is added:
4. If V
When the Large hysteresis option is active, I well.
rise must be monotonic,
CC
falls below 2.0V, it must shut off completely before the device is turned on again.
CC
crossing V
CC
actually rises in the system, the following
CC
.
D
is reduced by several hundred microamps as
CC
, all registers will be initialized, and
RST
RST
, Small and

Security Fuse Usage

A single fuse is provided to prevent unauthorized copying of the ATF1508AS fuse patterns. Once programmed, fuse verify is inhibited. However, User Signature and device ID remains accessible.

Programming ATF1508AS devices are in-system programmable (ISP) devices utilizing the 4-pin JTAG pro-

tocol. This capability eliminates package handling normally required for programming and facilitates rapid design iterations and field changes.
Atmel provides ISP hardware and software to allow programming of the ATF1508AS via the PC. ISP is performed by using either a download cable or a comparable board tester or a sim­ple microprocessor interface.
To allow ISP programming support by the Automated Test Equipment (ATE) vendors, Serial Vector Format (SVF) files can be created by the Atmel ISP Software. Conversion to other ATE tester format beside SVF is also possible
ATF1508AS devices can also be programmed using standard third-party programmers. With third-party programmer, the JTAG ISP port can be disabled thereby allowing four additional I/Opinstobeusedforlogic.
Contact your local Atmel representatives or Atmel PLD applications for details.
8
ATF1508AS(L)
0784O–PLD–09/02
ATF1508AS(L)

ISP Programming Protection

JTAG-BST Overview

The ATF1508AS has a special feature that locks the device and prevents the inputs and I/O from driving if the programming process is interrupted for any reason. The inputs and I/O default to high-Z state during such a condition. In addition the pin-keeper option preserves the former state during device programming.
All ATF1508AS devices are initially shipped in the erased state thereby making them ready to use for ISP.
Note: For more information refer to the “Designing for In-System Programmability with Atmel CPLDs”
application note.
The JTAG boundary-scan testing is controlled by the Test Access Port (TAP) controller in the ATF1508AS. The boundary-scan technique involves the inclusion of a shift-register stage (contained in a boundary-scan cell) adjacent to each component so that signals at component boundaries can be controlled and observed using scan testing principles. Each input pin and I/O pin has its own boundary-scan cell (BSC) in order to support boundary-scan testing. The ATF1508AS does not currently include a Test Reset (TRST) input pin because the TAP con­troller is automatically reset at power-up. The six JTAG BST modes supported include: SAMPLE/PRELOAD, EXTEST, BYPASS and IDCODE. BST on the ATF1508AS is imple­mented using the Boundary-scan Definition Language (BSDL) described in the JTAG specification (IEEE Standard 1149.1). Any third-party tool that supports the BSDL format can be used to perform BST on the ATF1508AS.
The ATF1508AS also has the option of using four JTAG-standard I/O pins for In-System pro­gramming (ISP). The ATF1508AS is programmable through the four JTAG pins using programming compatible with the IEEE JTAG Standard 1149.1. Programming is performed by using 5V TTL-level programming signals from the JTAG ISP interface. The JTAG feature is a programmable option. If JTAG (BST or ISP) is not needed, then the four JTAG control pins are available as I/O pins.

JTAG Boundary-scan Cell (BSC) Testing

The ATF1508AS contains up to 96 I/O pins and four input pins, depending on the device type and package type selected. Each input pin and I/O pin has its own boundary-scan cell (BSC) in order to support boundary-scan testing as described in detail by IEEE Standard 1149.1. A typical BSC consists of three capture registers or scan registers and up to two update regis­ters. There are two types of BSCs, one for input or I/O pin, and one for the macrocells. The BSCs in the device are chained together through the (BST) capture registers. Input to the cap­ture register chain is fed in from the TDI pin while the output is directed to the TDO pin. Capture registers are used to capture active device data signals, to shift data in and out of the device and to load data into the update registers. Control signals are generated internally by the JTAG TAP controller. The BSC configuration for the input and I/O pins and macrocells are shown below.
0784O–PLD–09/02
9
Loading...
+ 21 hidden pages