GALRA High-Speed Asynchronous E CMOS D Generic Array Logic Features Functional Block Diagram HGH PERFORMANCE E CMOS TECHNOLOGY 7.5 ns Maximum Propagation Delay Fmax = 3.3 MHz 9 ns Maximum from Clock nput to Data Output TTL Compatible ma Outputs UltraMOS Advanced CMOS Technology 5% to % REDUCTON N POWER FROM BPOLAR ma Typical cc ACTVE PULL-UPS ON ALL PNS E CELL TECHNOLOGY Reconfigurable Logic Reprogrammable Cells % Tested/% Yields High Speed Electrical Erasure (< ms) Year Data Retention TEN OUTPUT LOGC MACROCELLS ndependent Programmable Clocks ndependent Asynchronous Reset and Preset Registered or Combinatorial with Polarity Full Function and Parametric Compatibility with PALRA PROGRAMMABLE AND-ARRAY (X) PRELOAD AND POWER-ON RESET OF ALL REGSTERS % Functional Testability APCATONS NCLUDE: State Machine Control Standard Logic Consolidation Multiple Clock Logic Designs ELECTRONC SGNATURE FOR DENTFCATON Description The GALRA combines a high performance CMOS process with electrically erasable (E ) floating gate technology to provide the highest speed performance available in the D market. Lattice Semiconductor s E CMOS circuitry achieves power levels as low as ma typical CC which represents a substantial savings in power when compared to bipolar counterparts. E technology offers high speed (<ms) erase times providing the ability to reprogram, reconfigure or test the devices quickly and efficiently. The generic architecture provides maximum design flexibility by allowing the Output Logic Macrocell () to be configured by the user. The GALRA is a direct parametric compatible CMOS replacement for the PALRA device. Unique test circuitry and reprogrammable cells allow complete AC, DC, and functional testing during manufacturing. Therefore, Lattice Semiconductor delivers % field programmability and functionality of all GAL products. n addition, erase/write cycles and data retention in excess of years are specified. Pin Configuration NC 5 7 9 CC NC GND NC Vcc GALRA Top View 6 5 9 6 3 NC GND 6 DP GAL RA 3 Vcc Copyright 997 Lattice Semiconductor Corp. All brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice. LATTCE SEMCONDUCTOR CORP., 5555 Northeast Moore Ct., Hillsboro, Oregon 97, U.S.A. July 997 Tel. (53) 6-; --LATTCE; FAX (53) 66; http://www.latticesemi.com ra_
Specifications GALRA GALRA Ordering nformation Commercial Grade Specifications T pd (ns) T su (ns) T co (ns) cc (ma) Ordering # 7.5 3 9 GALRAB-7LJ GALRAB-LP GALRAB-LJ 5 7 5 GALRAB-5LP GALRAB-5LJ GALRAB-LP GALRAB-LJ 3 3 GALRAB-3LP GALRAB-3LJ -Lead CC -Pin Plastic DP -Lead CC -Pin Plastic DP -Lead CC -Pin Plastic DP -Lead CC -Pin Plastic DP -Lead CC Package ndustrial Grade Specifications T pd (ns) T su (ns) T co (ns) cc (ma) Ordering # GALRAB-LP GALRAB-LJ -Pin Plastic DP -Lead CC Package Part Number Description XXXXXXXX _ XX X X X GALRAB Device Name Speed (ns) Grade Blank = Commercial = ndustrial L = Low Power Power Package P = Plastic DP J = CC
Specifications GALRA Output Logic Macrocell () The GALRA consists of D flip-flops with individual asynchronous programmable reset, preset and clock product terms. The sum of four product terms and an Exclusive-OR provide a programmable polarity D-input to each flip-flop. An output enable term combined with the dedicated output enable pin provides tri-state control of each output. Each has a flip-flop bypass, allowing any combination of registered or combinatorial outputs. The GALRA has dedicated input pins and programmable /O pins, which can be either inputs, outputs, or dynamic / O. Each pin has a unique path to the logic array. All macrocells have the same type and number of data and control product terms, allowing the user to exchange /O pin assignments without restriction. ndependent Programmable Clocks An independent clock control product term is provided for each GALRA macrocell. Data is clocked into the flip-flop on the active edge of the clock product term. The use of individual clock control product terms allow up to ten separate clocks. These clocks can be derived from any pin or combination of pins and/or feedback from other flip-flops. Multiple clock sources allow a number of asynchronous register functions to be combined into a single GALRA. This allows the designer to combine discrete logic functions into a single device. Programmable Polarity The polarity of the D-input to each macrocell flip-flop is individually programmable to be active high or low. This is accomplished with a programmable Exclusive-OR gate on the D-input of each flipflop. The polarity of the pin is active low when XOR bit is programmed (or zero) and is active high when XOR bit is erased (or one). Because of the inverted output buffer, the XOR gate output node is opposite polarity from the pin. t should be noted that the programmable polarity only affects the data latched into the flip-flop on the active edge of the clock product term. The reset, preset and preload will alter the state of the flip-flop independent of the state of programmable polarity bit. The ability to program the active polarity of the D-inputs can be used to reduce the total number of product terms used, by allowing the DeMorganization of the logic functions. This logic reduction is accomplished by the logic compiler, and does not require the designer to define the polarity. Output Enable The output of each GALRA macrocell is controlled by the AND ing of an independent output enable product term and a common active low output enable pin (pin 3 on DP package / pin 6 on CC package). The output is enabled while the output enable product term is active and the output enable pin is low. This output control structure allows several output enable alternatives. Asynchronous Reset and Preset Each GALRA macrocell has an independent asynchronous reset and preset control product term. The reset and preset product terms are level sensitive, and will hold the flip-flop in the reset or preset state while the product term is active independent of the clock or D-inputs. t should be noted that the reset and preset term alter the state of the flip-flop whose output is inverted by the output buffer. A reset of the flip-flop will result in the output pin becoming a logic high and a preset will result in a logic low. RESET PRESET FUNCTON Registered function of data product term Reset register to "" (device pin = "") Preset register to "" (device pin = "") Register-bypass (combinatorial output) Combinatorial Control The register in each GALRA macrocell may be bypassed by asserting both the reset and preset product terms. While both product terms are active the flip-flop is bypassed and the D- input is presented directly to the inverting output buffer. This provides the designer the ability to dynamically configure any macrocell as a combinatorial output, or to fix the macrocell as combinatorial only by forcing both reset and preset product terms active. Some logic compilers will configure macrocells as registered or combinatorial based on the logic equations, others require the designer to force the reset and preset product terms active for combinatorial macrocells. Parallel Flip-Flop Preload The flip-flops of a GALRA can be reset or preset from the /O pins by applying a logic low to the preload pin (pin on DP package / pin on CC package) and applying the desired logic level to each /O pin. The /O pins must remain valid for the preload setup and hold time. All flip-flops are reset or preset during preload, independent of all other inputs. A logic low on an /O pin during preload will preset the flip-flop, a logic high will reset the flip-flop. The output of any flip-flop to be preloaded must be disabled. Enabling the output during preload will maintain the current logic state. t should be noted that the preload alters the state of the flip-flop whose output is inverted by the output buffer. A reset of the flip-flop will result in the output pin becoming a logic high and a preset will result in a logic low. Note that the common output enable pin will disable all outputs of the GALRA when held high. 3
Specifications GALRA Output Logic Macrocell Diagram AR PD D Q XOR (n) AP Output Logic Macrocell Configuration (Registered With Polarity) AR PD XOR (n) D AP Q Output Logic Macrocell Configuration (Combinatorial With Polarity) XOR (n)
Specifications GALRA GALRA Logic Diagram DP (CC) Package Pinouts () (3) 6 3 36 XOR - 3 3 (7) 3 () 3 6 XOR - 3 (6) (5) 6 9 XOR - 3 (5) 5 (6) 96 XOR - 33 () 6 (7) 56 XOR - 3 9 (3) 7 (9) 6 XOR - 35 () () 9 XOR - 36 7 () 9 () 5 XOR - 37 6 (9) () 56 XOR - 3 5 () (3) 36 XOR - 39 (7) 3 (6) MSB 6-USER ELECTRONC SGNATURE FUSES 3, 3,...... 37, 373 Byte7 Byte6...... Byte Byte LSB 5
Specifications GALRAB Absolute Maximum Ratings () Supply voltage V CC... -.5 to +7V nput voltage applied... -.5 to V CC +.V Off-state output voltage applied... -.5 to V CC +.V Storage Temperature... -65 to 5 C Ambient Temperature with Power Applied... to 5 C.Stresses above those listed under the Absolute Maximum Ratings may cause permanent damage to the device. These are stress only ratings and functional operation of the device at these or at any other conditions above those indicated in the operational sections of this specification is not implied (while programming, follow the programming specifications). Recommended Operating Conditions Commercial Devices: Ambient Temperature (T A )... to + C Supply voltage (V CC ) with Respect to Ground... +. to +5.5V ndustrial Devices: Ambient Temperature (T A )...- to +5 C Supply voltage (V CC ) with Respect to Ground... +.5 to +5.5V DC Electrical Characteristics Over Recommended Operating Conditions (Unless Otherwise Specified) SYMBOL PARAMETER CONDTON MN. TYP. 3 MAX. UNTS VL nput Low Voltage Vss.5. V VH nput High Voltage. Vcc+ V L nput or /O Low Leakage Current V VN VL (MAX.) - µa H nput or /O High Leakage Current 3.5V VN VCC µa VOL Output Low Voltage OL = MAX. Vin = VL or VH.5 V VOH Output High Voltage OH = MAX. Vin = VL or VH. V OL Low Level Output Current ma OH High Level Output Current -3. ma OS Output Short Circuit Current VCC = 5V VOUT =.5V T A = 5 C -5-35 ma COMMERCAL CC Operating Power VL =.5V VH = 3.V L -7/-/-5/-/-3 ma Supply Current ftoggle = 5MHz Outputs Open NDUSTRAL CC Operating Power VL =.5V VH = 3.V L - ma Supply Current ftoggle = 5MHz Outputs Open ) The leakage current is due to the internal pull-up resistor on all pins. See nput Buffer section for more information. ) One output at a time for a maximum duration of one second. Vout =.5V was selected to avoid test problems caused by tester ground degradation. Characterized but not % tested. 3) Typical values are at Vcc = 5V and TA = 5 C 6
Specifications GALRAB AC Switching Characteristics Over Recommended Operating Conditions COM COM COM COM / ND COM TEST -7 - -5 - -3 PARAM. DESCRPTON UNTS COND. MN. MAX. MN. MAX. MN. MAX. MN. MAX. MN. MAX. tpd A nput or /O to Combinatorial Output 7.5 5 3 ns tco A Clock to Output Delay 9 5 3 ns tsu Setup Time, nput or Fdbk before Clk 3 7 ns th Hold Time, nput or Fdbk after Clk 3 3 3 ns fmax 3 A Maximum Clock Frequency with 3.3 66.7 5. 33.3. MHz External Feedback, /(tsu + tco) A Maximum Clock Frequency with 3.3 7. 5..7 5. MHz No Feedback twh Clock Pulse Duration, High 6 7 ns twl Clock Pulse Duration, Low 6 7 ns ten/tdis B,C or /O to Output Enabled / Disabled 7.5 5 3 ns ten/tdis B,C to Output Enabled / Disabled 5 9 5 ns tar/tap A nput or /O to Async. Reset / Preset 9 5 3 ns tarw/tapw Async. Reset / Preset Pulse Duration 6 5 ns tarr/tapr Async. Reset / Preset Recovery Time 7 7 ns twp Preload Pulse Duration 5 3 ns tsp Preload Setup Time 5 7 5 5 ns thp Preload Hold Time 5 7 5 5 ns ) Refer to Switching Test Conditions section. ) Refer to fmax Descriptions section. Capacitance (T A = 5 C, f =. MHz) SYMBOL PARAMETER MAXMUM* UNTS TEST CONDTONS C nput Capacitance pf V CC = 5.V, V =.V C /O /O Capacitance pf V CC = 5.V, V /O =.V *Characterized but not % tested. 7
Specifications GALRA Switching Waveforms NPUT or /O FEEDBACK COMBNATORAL OUTPUT Combinatorial Output VALD NPUT tpd NPUT or /O FEEDBACK CLK REGSTERED OUTPUT VALD NPUT tsu th VALD CLOCK VALD CLOCK tco NPUT or /O FEEDBACK Registered Output OUTPUT tdis ten NPUT or /O FEEDBACK VALD NPUT tar nput or /O to Output Enable/Disable Q-OUTPUT OF REGSTER CLK twh twl REGSTERED OUTPUT PN tap Clock Width Q-OUTPUT OF REGSTER twp REGSTERED OUTPUT PN ALL /O PNS tsp Parallel Preload thp NPUT or /O FEEDBACK DRVNG AP or AR CLK Asynchronous Reset and Preset VALD NPUT tapw/arw tapr/arr tdis ten Asynchronous Reset and Preset Recovery OUTPUT to Enable / Disable
Specifications GALRA fmax Descriptions CLK CLK LOGC ARRAY REGSTER LOGC ARRAY REGSTER tsu tco fmax with External Feedback /(tsu+tco) Note: fmax with external feedback is calculated from measured tsu and tco. fmax with No Feedback Note: fmax with no feedback may be less than /(twh + twl). This is to allow for a clock duty cycle of other than 5%. Switching Test Conditions nput Pulse Levels GND to 3.V nput Rise and -7/- ns % 9% +5V Fall Times -5/-/-3 3ns % 9% nput Timing Reference Levels.5V R Output Timing Reference Levels.5V Output Load See Figure 3-state levels are measured.5v from steady-state active level. Output Load Conditions (see figure) FROM OUTPUT (O/Q) UNDER TEST R C * L TEST PONT Test Condition R R CL A 7Ω 39Ω 5pF B Active High 39Ω 5pF Active Low 7Ω 39Ω 5pF C Active High 39Ω 5pF Active Low 7Ω 39Ω 5pF *C L NCLUDES TEST FXTURE AND PROBE CAPACTANCE 9
Specifications GALRA Electronic Signature An electronic signature word is provided in every GALRA device. t contains 6 bits of reprogrammable memory that contains user defined data. Some uses include user D codes, revision numbers, pattern identification or inventory control codes. The signature data is always available to the user independent of the state of the security cell. NOTE: The electronic signature bits if programmed to any value other then zero() will alter the checksum of the device. Security Cell A security cell is provided in every GALRA device as a deterrent to unauthorized copying of the device pattern. Once programmed, this cell prevents further read access of the device pattern information. This cell can be only be reset by reprogramming the device. The original pattern can never be examined once this cell is programmed. The Electronic Signature is always available regardless of the security cell state. Latch-Up Protection GALRA devices are designed with an on-board charge pump to negatively bias the substrate. The negative bias is of sufficient magnitude to prevent input undershoots from causing the circuitry to latch. Additionally, outputs are designed with n-channel pullups instead of the traditional p-channel pullups to eliminate any possibility of SCR induced latching. Device Programming GAL devices are programmed using a Lattice Semiconductorapproved Logic Programmer, available from a number of manufacturers (see the the GAL Development Tools section). Complete programming of the device takes only a few seconds. Erasing of the device is transparent to the user, and is done automatically as part of the programming cycle. nput Buffers GALRA devices are designed with TTL level compatible input buffers. These buffers have a characteristically high impedance and present a much lighter load to the driving logic than traditional bipolar devices. GALRA input buffers have active pull-ups within their input structure. As a result, unused inputs and /Os will float to a TTL high (logical ). Lattice Semiconductor recommends that all unused inputs and tri-stated /O pins be connected to another active input, Vcc, or GND. Doing this will tend to improve noise immunity and reduce cc for the device. nput Current (ua) - - Typical nput Pull-up Characteristic -6.. 3.. 5. nput Voltage (Volts)
Specifications GALRA Power-Up Reset Vcc Vcc (min.) tsu CLK twl NTERNAL REGSTER Q - OUTPUT tpr nternal Register Reset to Logic "" FEEDBACK/EXTERNAL OUTPUT REGSTER Device Pin Reset to Logic "" Circuitry within the GALRA provides a reset signal to all registers during power-up. All internal registers will have their Q outputs set low after a specified time (tpr, µs MAX). As a result, the state on the registered output pins (if they are enabled) will be high on power-up, because of the inverting buffer on the output pins. This feature can greatly simplify state machine design by providing a known state on power-up. The timing diagram for power-up is shown to the right. Because of the asynchronous nature of system power-up, some conditions must be met to provide a valid power-up reset of the GALRA. First, the Vcc rise must be monotonic. Second, the clock input must be at a static TTL level as shown in the diagram during power up. The registers will reset within a maximum of µs. As in normal system operation, avoid clocking the device until all input and feedback path setup times have been met. The clock must also meet the minimum pulse width requirements. nput/output Equivalent Schematics PN Feedback PN (Vref Typical = 3.V) Vcc ESD Protection Circuit Active Pull-up Circuit Vref Vcc Vcc Tri-State Control Vcc Active Pull-up Circuit Vref (Vref Typical = 3.V) PN Data Output PN ESD Protection Circuit Feedback (To nput Buffer) Typical nput Typical Output
Specifications GALRA GALRAB-7/-: Typical AC and DC Characteristic Diagrams Normalized Tpd vs Vcc Normalized Tco vs Vcc Normalized Tsu vs Vcc... Normalized Tpd..9 Normalized Tco..9 Normalized Tsu.....6.5. 5. 5.5 5.5.5. 5. 5.5 5.5.5. 5. 5.5 5.5 Normalized Tpd vs Temp Normalized Tco vs Temp Normalized Tsu vs Temp.3.3.6 Normalized Tpd...9. Normalized Tco...9. Normalized Tsu....7-5.7 5 5 5-5.6 5 5 5-5 5 5 5 Delta Tpd vs # of Outputs Switching Delta Tco vs # of Outputs Switching Delta Tpd (ns) -.5 - Delta Tco (ns) -.5 - -.5 -.5-3 5 6 7 9 3 5 6 7 9 Number of Outputs Switching Number of Outputs Switching Delta Tpd vs Output Loading Delta Tco vs Output Loading Delta Tpd (ns) 6 - RSE Delta Tco (ns) 6 - RSE - 5 5 Output Loading (pf) - 5 5 Output Loading (pf)
Specifications GALRA GALRAB-7/-: Typical AC and DC Characteristic Diagrams Vol vs ol Voh vs oh Voh vs oh 5. 3. Vol (V).6. Voh (V) 3 Voh (V) 3.5. 3.5 3 3 3 5 6 7... 3.. ol (ma) oh(ma) oh(ma) Normalized cc vs Vcc Normalized cc vs Temp Normalized cc vs Freq...3. Normalized cc..9 Normalized cc...9. Normalized cc.3....9..7..5. 5. 5.5 5.5-5 5 5 5 5 Frequency (MHz) Delta cc vs Vin ( input) nput Clamp (Vik) Delta cc (ma) 6 ik (ma) 3 5 6 7..7..7..7 3. 3.7 9 -. -.5 -. -.5. Vin (V) Vik (V) 3
Specifications GALRA GALRAB-5/-/-3: Typical AC and DC Characteristic Diagrams Normalized Tpd vs Vcc Normalized Tco vs Vcc Normalized Tsu vs Vcc...6 Normalized Tpd..9 PT H->L PT L->H Normalized Tco.5.95 RSE Normalized Tsu....6..5. 5. 5.5 5.5.9.5. 5. 5.5 5.5..5. 5. 5.5 5.5 Normalized Tpd vs Temp Normalized Tco vs Temp Normalized Tsu vs Temp.3.3. Normalized Tpd...9. PT H->L PT L->H Normalized Tco...9. RSE Normalized Tsu.3...9..7.7-5.7 5 5 9 5-5.6 5 5 9 5-5 5 5 9 5 Delta Tpd vs # of Outputs Switching Delta Tco vs # of Outputs Switching Delta Tpd (ns) -. -. -.6 -. - RSE Delta Tco (ns) -. -. -.6 -. - RSE -. -. 3 5 6 7 9 3 5 6 7 9 Number of Outputs Switching Number of Outputs Switching Delta Tpd vs Output Loading Delta Tco vs Output Loading Delta Tpd (ns) 6 RSE - - 5 5 5 3 Delta Tco (ns) 6 - - RSE 5 5 5 3 Output Loading (pf) Output Loading (pf)
Specifications GALRA GALRAB-5/-/-3: Typical AC and DC Characteristic Diagrams Vol vs ol Voh vs oh Voh vs oh 3 5 3. Vol (V).5.5.5 Voh (V) 3 Voh (V) 3.65 3.5 3.3... 6..... 3.. 5. 6. 3.5... 3.. ol (ma) oh(ma) oh(ma) Normalized cc vs Vcc Normalized cc vs Temp Normalized cc vs Freq.... Normalized cc...9 Normalized cc..9 Normalized cc.3....9..5. 5. 5.5 5.5. -5 5 5 5. 5 5 Frequency (MHz) Delta cc vs Vin ( input) nput Clamp (Vik) Delta cc (ma) 5 3..5..5..5 3. 3.5. Vin (V) ik (ma) 3 5 6 7 9 -. -.. Vik (V) 5