UNIT IV. Logic families can be classified broadly according to the technologies they are built with. The various technologies are listed below.

Similar documents
DIGITAL LOGIC CIRCUITS

Module-1: Logic Families Characteristics and Types. Table of Content

Lecture 12 Memory Circuits. Memory Architecture: Decoders. Semiconductor Memory Classification. Array-Structured Memory Architecture RWM NVRWM ROM

Objective Questions. (a) Light (b) Temperature (c) Sound (d) all of these

Module-3: Metal Oxide Semiconductor (MOS) & Emitter coupled logic (ECL) families

DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES FACULTY NAME/DESIGNATION: SUGAPRIYAA.THA / LECTURER

Logic Families. Describes Process used to implement devices Input and output structure of the device. Four general categories.

CS302 - Digital Logic Design Glossary By

FPGA Based System Design

Abu Dhabi Men s College, Electronics Department. Logic Families

Memory Basics. historically defined as memory array with individual bit access refers to memory with both Read and Write capabilities

Lecture 02: Logic Families. R.J. Harris & D.G. Bailey

Fan in: The number of inputs of a logic gate can handle.

In this lecture: Lecture 8: ROM & Programmable Logic Devices

Electronic Circuits EE359A

Logic Families. A-PDF Split DEMO : Purchase from to remove the watermark. 5.1 Logic Families Significance and Types. 5.1.

The entire range of digital ICs is fabricated using either bipolar devices or MOS devices or a combination of the two. Bipolar Family DIODE LOGIC

PE713 FPGA Based System Design

Digital logic families

2009 Spring CS211 Digital Systems & Lab 1 CHAPTER 3: TECHNOLOGY (PART 2)

Code No: R Set No. 1

Basic Logic Circuits

Architecture of Computers and Parallel Systems Part 9: Digital Circuits

IES Digital Mock Test

Classification of Digital Circuits

Engr354: Digital Logic Circuits

Propagation Delay, Circuit Timing & Adder Design. ECE 152A Winter 2012

Propagation Delay, Circuit Timing & Adder Design

EE 330 Lecture 44. Digital Circuits. Dynamic Logic Circuits. Course Evaluation Reminder - All Electronic

IC Logic Families and Characteristics. Dr. Mohammad Najim Abdullah

UNIT-II LOW POWER VLSI DESIGN APPROACHES

A Survey of the Low Power Design Techniques at the Circuit Level

Chapter 2 : Semiconductor Materials & Devices (II) Feb

電子電路. Memory and Advanced Digital Circuits

EEC 118 Lecture #12: Dynamic Logic

Preface to Third Edition Deep Submicron Digital IC Design p. 1 Introduction p. 1 Brief History of IC Industry p. 3 Review of Digital Logic Gate

Homework 10 posted just for practice. Office hours next week, schedule TBD. HKN review today. Your feedback is important!

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

ECE380 Digital Logic

CMOS Digital Logic Design with Verilog. Chapter1 Digital IC Design &Technology

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

Microcontroller Systems. ELET 3232 Topic 13: Load Analysis

Digital Design and System Implementation. Overview of Physical Implementations

Lecture 6: Electronics Beyond the Logic Switches Xufeng Kou School of Information Science and Technology ShanghaiTech University

Memory, Latches, & Registers

CHAPTER 6 DIGITAL CIRCUIT DESIGN USING SINGLE ELECTRON TRANSISTOR LOGIC

BICMOS Technology and Fabrication

MODULE-4 Memory and programmable logic

IC Logic Families. Wen-Hung Liao, Ph.D. 5/16/2001

Device Technologies. Yau - 1

ECE/CoE 0132: FETs and Gates

TECHNO INDIA BATANAGAR (DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING) QUESTION BANK- 2018

EE 42/100 Lecture 23: CMOS Transistors and Logic Gates. Rev A 4/15/2012 (10:39 AM) Prof. Ali M. Niknejad

PROGRAMMABLE ASICs. Antifuse SRAM EPROM

Output Circuit of the TTL Gate

EE 330 Lecture 43. Digital Circuits. Other Logic Styles Dynamic Logic Circuits

UNIT-III GATE LEVEL DESIGN

Static Random Access Memory - SRAM Dr. Lynn Fuller Webpage:

CPE/EE 427, CPE 527 VLSI Design I: Homeworks 3 & 4

Memory (Part 1) RAM memory

Digital Electronics Part II - Circuits

Module -18 Flip flops

16 Multiplexers and De-multiplexers using gates and ICs. (74150, 74154)

Digital Integrated Circuits - Logic Families (Part II)

Am27C Megabit (524,288 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM

DIGITAL INTEGRATED CIRCUITS A DESIGN PERSPECTIVE 2 N D E D I T I O N

Reference. Wayne Wolf, FPGA-Based System Design Pearson Education, N Krishna Prakash,, Amrita School of Engineering

EE 330 Lecture 44. Digital Circuits. Other Logic Styles Dynamic Logic Circuits

Chapter 3. H/w s/w interface. hardware software Vijaykumar ECE495K Lecture Notes: Chapter 3 1

EE 330 Lecture 44. Digital Circuits. Ring Oscillators Sequential Logic Array Logic Memory Arrays. Final: Tuesday May 2 7:30-9:30

A HIGH SPEED & LOW POWER 16T 1-BIT FULL ADDER CIRCUIT DESIGN BY USING MTCMOS TECHNIQUE IN 45nm TECHNOLOGY

INTRODUCTION TO DIGITAL CONCEPT

Basic Characteristics of Digital ICs

36 Logic families and

Unit level 4 Credit value 15. Introduction. Learning Outcomes

INTEGRATED-CIRCUIT LOGIC FAMILIES

1. Short answer questions. (30) a. What impact does increasing the length of a transistor have on power and delay? Why? (6)

Digital Electronics 8. Multiplexer & Demultiplexer

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

ECE 172 Digital Systems. Chapter 2 Digital Hardware. Herbert G. Mayer, PSU Status 6/30/2018

HIGH LOW Astable multivibrators HIGH LOW 1:1

4-bit counter circa bit counter circa 1990

Chapter 1 Introduction

CMOS the Ideal Logic Family

DIGITAL ELECTRONICS. Digital Electronics - B1 28/04/ DDC Storey 1. Group B: Digital circuits and devices

BEE 2233 Digital Electronics. Chapter 1: Introduction

Chapter 4 Combinational Logic Circuits

EE 330 Lecture 43. Digital Circuits. Other Logic Styles Dynamic Logic Circuits

INTEGRATED CIRCUITS. AN243 LVT (Low Voltage Technology) and ALVT (Advanced LVT)

Lecture Perspectives. Administrivia

Chapter 3 Digital Logic Structures

2 MARK QUESTIONS & ANSWERS UNIT1-MOS TRANSISTOR PRINCIPLE

Digital Microelectronic Circuits ( ) CMOS Digital Logic. Lecture 6: Presented by: Adam Teman

A Novel Low-Power Scan Design Technique Using Supply Gating

Combinational Circuits: Multiplexers, Decoders, Programmable Logic Devices

Leakage Power Minimization in Deep-Submicron CMOS circuits

A Robust Low Power Static Random Access Memory Cell Design

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700: Digital Logic Design Fall Notes - Unit 3

Power Spring /7/05 L11 Power 1

Lecture 30. Perspectives. Digital Integrated Circuits Perspectives

Transcription:

UNIT IV Digital Logic Families Logic families can be classified broadly according to the technologies they are built with. The various technologies are listed below. DL : Diode Logic. RTL : Resistor Transistor Logic. DTL : Diode Transistor Logic. HTL : High threshold Logic. TTL : Transistor Transistor Logic. I 2 L : Integrated Injection Logic. ECL : Emitter coupled logic. MOS : Metal Oxide Semiconductor Logic (PMOS and NMOS). CMOS : Complementary Metal Oxide Semiconductor Logic. Among these, only CMOS is most widely used by the ASIC (Chip) designers. Introduction, a Quick Comparison between digital logic families RTL and DTL Circuits Have only historical significance No longer used in digital systems Transistor-Transistor Logic (TTL) A modified DTL and has replaced it Common, relatively cheapest Emitter-Coupled Logic (ECL) High-speed application but requires power Metal-Oxide Semiconductor (MOS) Desirable for its Small area, low power, large fan-out, good noise margin Complementary MOS (CMOS) Most common, less power than TTL CMOS Transmission Gate Circuits Basic Concepts o o o Fan-in. Fan-out. Noise Margin.

o o o o o Power Dissipation. Gate Delay. Wire Delay. Skew. Voltage threshold Fan in: Fan-in is the number of inputs a gate has, like a two input AND gate has fan-in of two, a three input NAND gate as a fan-in of three. So a NOT gate always has a fan-in of one. The figure below shows the effect of fan-in on the delay offered by a gate for a CMOS based gate. Normally delay increases following a quadratic function of fan-in. Fan out: The number of gates that each gate can drive, while providing voltage levels in the guaranteed range, is called the standard load or fan-out. The fan-out really depends on the amount of electric current a gate can source or sink while driving other gates. The effects of loading a logic gate output with more than its rated fan-out has the following effects. o o o o o In the LOW state the output voltage VOL may increase above VOLmax. In the HIGH state the output voltage VOH may decrease below VOHmin. The operating temperature of the device may increase thereby reducing the reliability of the device and eventually causing the device failure. Output rise and fall times may increase beyond specifications The propagation delay may rise above the specified value. Normally as in the case of fan-in, the delay offered by a gate increases with the increase in fan-out.

Gate Delay Gate delay is the delay offered by a gate for the signal appearing at its input, before it reaches the gate output. The figure below shows a NOT gate with a delay of "Delta", where output X' changes only after a delay of "Delta". Gate delay is also known as propagation delay. Wire Delay Gate delay is not the same for both transitions, i.e. gate delay will be different for low to high transition, compared to high to low transition.low to high transition delay is called turn-on delay and High to low transition delay is called turn-off delay. Gates are connected together with wires and these wires do delay the signal they carry, these delays become very significant when frequency increases, say when the transistor sizes are sub-micron. Sometimes wire delay is also called flight time (i.e. signal flight time from point A to B). Wire delay is also known as transport delay.

Skew The same signal arriving at different parts of the design with different phase is known as skew. Skew normally refers to clock signals. In the figure below, clock signal CLK reaches flip-flop FF0 at time t0, so with respect to the clock phase at the source, it has at FF0 input a clock skew of t0 time units. Normally this is expressed in nanoseconds. The waveform below shows how clock looks at different parts of the design. Logic levels

Logic levels are the voltage levels for logic high and logic low. VO Hmin : The minimum output voltage in HIGH state (logic '1'). VO Hmin is 2.4 V for TTL and 4.9 V for CMOS. VO Lmax : The maximum output voltage in LOW state (logic '0'). VO Lmax is 0.4 V for TTL and 0.1 V for CMOS. VI Hmin : The minimum input voltage guaranteed to be recognised as logic 1. VI Hmin is 2 V for TTL and 3.5 V for CMOS. VI Lmax : The maximum input voltage guaranteed to be recognised as logic 0. VI Lmax is 0.8 V for TTL and 1.5 V for CMOS. Current levels IO Hmin : The maximum current the output can source in HIGH state while still maintaining the output voltage above VO Hmin. IO Lmax : The maximum current the output can sink in LOW state while still maintaining the output voltage below VO Lmax. I Imax : The maximum current that flows into an input in any state (1µA for CMOS). Noise Margin Gate circuits are constructed to sustain variations in input and output voltage levels. Variations are usually the result of several different factors. Batteries lose their full potential, causing the supply voltage to drop High operating temperatures may cause a drift in transistor voltage and current characteristics Spurious pulses may be introduced on signal lines by normal surges of current in neighbouring supply lines. All these undesirable voltage variations that are superimposed on normal operating voltage levels are called noise. All gates are designed to tolerate a certain amount of noise on their input and output ports. The maximum noise voltage level that is tolerated by a gate is called noise margin. It derives from I/P-O/P voltage characteristic, measured under different operating conditions. It's normally supplied from manufacturer in the gate documentation. LNM (Low noise margin): The largest noise amplitude that is guaranteed not to change the output voltage level when superimposed on the input voltage of the logic gate (when this voltage is in the LOW interval). LNM=VI Lmax -VO Lmax. HNM (High noise margin): The largest noise amplitude that is guaranteed not to change the output voltage level if superimposed on the input voltage of the logic gate (when this voltage is in the HIGH interval). HNM=VO Hmin -VI Hmin

t r (Rise time) t f (Fall time) The time required for the output voltage to increase from V IL max to V IH min. The time required for the output voltage to decrease from V IH min to V IL max. t p (Propagation delay) The time between the logic transition on an input and the corresponding logic transition on the output of the logic gate. The propagation delay is measured at midpoints. Power Dissipation Each gate is connected to a power supply VCC (VDD in the case of CMOS). It draws a certain amount of current during its operation. Since each gate can be in a High, Transition or Low state, there are three different currents drawn from power supply. ICCH: Current drawn during HIGH state. ICCT: Current drawn during HIGH to LOW, LOW to HIGH transition. ICCL: Current drawn during LOW state. For TTL, ICCT the transition current is negligible, in comparison to ICCH and ICCL. If we assume that ICCH and ICCL are equal then, Average Power Dissipation = Vcc * (ICCH + ICCL)/2 For CMOS, ICCH and ICCL current is negligible, in comparison to ICCT. So the Average power dissipation is calculated as below. Average Power Dissipation = Vcc * ICCT. So for TTL like logics family, power dissipation does not depend on frequency of operation, and for CMOS the power dissipation depends on the operation frequency. Power Dissipation is an important metric for two reasons. The amount of current and power available in a battery is nearly constant. Power dissipation of a circuit or system defines battery life: the greater the power dissipation, the shorter the battery life. Power dissipation is proportional to the heat generated by the chip or system; excessive heat dissipation may increase operating temperature and cause gate circuitry to drift out of its normal operating range; will cause gates to generate improper output values. Thus power dissipation of any gate implementation must be kept as low as possible. Moreover, power dissipation can be classified into Static power dissipation and Dynamic power dissipation.

Thus Diode Logic Ps (Static Power Dissipation): Power consumed when the output or input are not changing or rather when clock is turned off. Normally static power dissipation is caused by leakage current. (As we reduce the transistor size, i.e. below 90nm, leakage current could be as high as 40% of total power dissipation). Pd (Dynamic Power Dissipation): Power consumed during output and input transitions. So we can say Pd is the actual power consumed i.e. the power consumed by transistors + leakage current. Total power dissipation = static power dissipation + dynamic power dissipation. In DL (diode logic), all the logic is implemented using diodes and resistors. One basic thing about the diode is that diode needs to be forward biased to conduct. Below is the example of a few DL logic circuits. When no input is connected or driven, output Z is low, due to resistor R1. When high is applied to X or Y, or both X and Y are driven high, the corresponding diode get forward biased and thus conducts. When any diode conducts, output Z goes high. Resistor Transistor Logic In RTL (resistor transistor logic), all the logic are implemented using resistors and transistors. One basic thing about the transistor (NPN), is that HIGH at input causes output to be LOW (i.e. like a inverter). Below is the example of a few RTL logic circuits.

A basic circuit of an RTL NOR gate consists of two transistors Q1 and Q2, connected as shown in the figure above. When either input X or Y is driven HIGH, the corresponding transistor goes to saturation and output Z is pulled to LOW. Diode Transistor Logic In DTL (Diode transistor logic), all the logic is implemented using diodes and transistors. A basic circuit in the DTL logic family is as shown in the figure below. Each input is associated with one diode. The diodes and the 4.7K resistor form an AND gate. If input X, Y or Z is low, the corresponding diode conducts current, through the 4.7K resistor. Thus there is no current through the diodes connected in series to transistor base. Hence the transistor does not conduct, thus remains in cut-off, and output out is high. If all the inputs X, Y, Z are driven high, the diodes in series conduct, driving the transistor into saturation. Thus output out is Low.

Transistor Transistor Logic In Transistor Transistor logic or just TTL, logic gates are built only around transistors. TTL was developed in 1965. Through the years basic TTL has been improved to meet performance requirements. There are many versions or families of TTL. Standard TTL. High Speed TTL Low Power TTL Schhottky TTL TTL families have three configurations for outputs. Totem - Pole output. Open Collector Output. Tristate Output. The input stage, which is used with almost all versions of TTL, consists of an input transistor and a phase splitter transistor. Input stage consists of a multi emitter transistor as shown in the figure below. When any input is driven low, the emitter base junction is forward biased and input transistor conducts. This in turn drives the phase splitter transistor into cut-off.

Totem - Pole Output Below is the circuit of a totem-pole NAND gate, which has got three stages. Input Stage Phase Splitter Stage Output Stage Input stage and Phase splitter stage have already been discussed. Output stage is called Totem-Pole because transistor Q3 sits upon Q4. Q2 provides complementary voltages for the output transistors Q3 and Q4, which stack one above the other in such a way that while one of these conducts, the other is in cut-off. Q4 is called pull-down transistor, as it pulls the output voltage down, when it saturates and the other is in cut-off (i.e. Q3 is in cut-off). Q3 is called pull-up transistor, as it pulls the output voltage up, when it saturates and the other is in cut-off (i.e. Q4 is in cut-off). Diodes in input are protection diodes which conduct when there is large negative voltage at input, shorting it to the ground.

Tristate Output. Normally when we have to implement shared bus systems inside an ASIC or externally to the chip, we have two options: either to use a MUX/DEMUX based system or to use a tristate base bus system. In the latter, when logic is not driving its output, it does not drive LOW neither HIGH, which means that logic output is floating. Well, one may ask, why not just use an open collector for shared bus systems? The problem is that open collectors are not so good for implementing wire-ands. The circuit below is a tri-state NAND gate; when Enable En is HIGH, it works like any other NAND gate. But when Enable En is driven LOW, Q1 Conducts, and the diode connecting Q1 emitter and Q2 collector, conducts driving Q3 into cut-off. Since Q2 is not conducting, Q4 is also at cut-off. When both pull-up and pull-down transistors are not conducting, output Z is in high-impedance state.

Emitter coupled logic Emitter coupled logic (ECL) is a non saturated logic, which means that transistors are prevented from going into deep saturation, thus eliminating storage delays. Preventing the transistors from going into saturation is accomplished by using logic levels whose values are so close to each other that a transistor is not driven into saturation when its input switches from low to high. In other words, the transistor is switched on, but not completely on. This logic family is faster than TTL. Voltage level for high is -0.9 Volts and for low is -1.7V; thus biggest problem with ECL is a poor noise margin. A typical ECL OR gate is shown below. When any input is HIGH (-0.9v), its connected transistor will conduct, and hence will make Q3 off, which in turn will make Q4 output HIGH. When both inputs are LOW (-1.7v), their connected transistors will not conduct, making Q3 on, which in turn will make Q4 output LOW. Metal Oxide Semiconductor Logic MOS or Metal Oxide Semiconductor logic uses nmos and pmos to implement logic gates. One needs to know the operation of FET and MOS transistors to understand the operation of MOS logic circuits. The basic NMOS inverter is shown below: when input is LOW, NMOS transistor does not conduct, and thus output is HIGH. But when input is HIGH, NMOS transistor conducts and thus output is LOW.

Normally it is difficult to fabricate resistors inside the chips, so the resistor is replaced with an NMOS gate as shown below. This new NMOS transistor acts as resistor. Complementary Metal Oxide Semiconductor Logic CMOS or Complementary Metal Oxide Semiconductor logic is built using both NMOS and PMOS. Below is the basic CMOS inverter circuit, which follows these rules: NMOS conducts when its input is HIGH. PMOS conducts when its input is LOW. So when input is HIGH, NMOS conducts, and thus output is LOW; when input is LOW PMOS conducts and thus output is HIGH. MEMORIES Semiconductor memories are classified in different ways. A distinction is made between readonly (ROM) and read-write (RWM) memories. The contents RWMs can be changed in a short time for a virtually unlimited number of times and contents of ROMs are mostly useful for frequent reading and occasional writing. Since RWM memories use active circuitry (transistors) to store the information, they belong to the class of called volatile memories. This is because the

data would be lost when the supply voltage is turned off. Read-only memories, on the other hand, encode information by the presence or absence of devices. Their data cannot be modified and they belong to the class of nonvolatile memories. That means the stored data is lost by the disconnection of supply voltage. Table 1 : Classification Semiconductor Memories Random Access RWM Non Random Access NVRWM ROM SRAM DRAM FIFO Shift Register EPROM E2PROM FLASH Mask-programmed ROM Programmable ROM Based on the access pattern, RWMs are classified as random access class and serial memories. FIFO (first-in-first-out) is an example for serial memories. Most memories belong to the random access class, which means memory locations can be read or written in random order. One would expect memories of this class to be called RAM (random access memory); nevertheless for historic reasons, RAM has been reserved for random access RWM memories. That means though most ROM units also provide random access, but the acronym RAM should not be used for them. VOLATILE MEMORIES Static Random Access Memory (SRAM) and Dynamic Random Access Memory (DRAM) are volatile memories. SRAM is used as a cache memory in computers since it offers the fastest write/read (~8ns) speed among all memories. Hardware design of a single SRAM cell consists of 6 transistors. A DRAM cell consists of one transistor and one capacitor and it is based on the charge stored in a capacitor. It is superior to SRAM because of its low cost per bit storage; nevertheless it is slower (`50ns). In DRAM, the stored charge in the capacitor can be maintained only for few milli-seconds and therefore, an extra hardware circuit is needed to periodically refresh the data periodically. Static Random Access Memory (SRAM) A single SRAM memory cell is shown in Fig. 5. Two NMOS and two PMOS transistors (M 1 to M 4 ) forms the simple latch to store the data and two pass NMOS transistors (M 5 and M 6 ) are controlled by Word Line to pass Bit Line and into the cell.

A Write operation is performed by first charging the Bit Line and with values that are desired to be stored in the memory cell. Setting the Word Line high performs the actual write operation, and the new data is latched into the circuit. A Read operation is initiated by pre-charging both Bit Line and to logic 1. Word Line is set high to close NMOS pass transistors to put the contents stored in the cell on the Bit Line and. Transistors M 1 to M 4 constitute the latch and are constantly toggling back and forth. During these switching the power consumption in CMOS circuits takes place and therefore, the sizes of these transistors are kept as small as possible. NMOS transistors are basically switches opening and closing access to the SRAM cell. To minimize the propagation delay caused by these transistors their sizes are kept relatively larger. Dynamic Random Access Memory (DRAM) DRAM stores each bit in a storage cell consisting of a capacitor and a transistor. Capacitors tend to lose their charge rather quickly; thus, the need for recharging. The presence or absence of charge in the capacitor determines whether the cell contains a '1' or a '0'. The Read operation begins by precharging the bit line to an intermediate value,. The word line is raised to a high potential and the charge stored on capacitor is shared with that on the bit line. The change in the bit line voltage is given by the change on the bit line capacitor when the charge stored on capacitor C is shared with the bit line. During the ' Write 1 ' operation, the word line is driven high, the bit line is tied to V DD corresponding to a 1, and voltage across C rises toward V DD - V tn. To ' Write 0' in the cell, the bit line is grounded during the write operation and 0V is stored on capacitor C.

NON-VOLATILE MEMORIES Based on the programmability of the devices non-volatile memories are categorized as follows. Writing data into ROMs is possible only at the time of manufacturing the devices and used only for reading the data stored. Even though these devices are less in cost the constraint that they are to be programmed at the time of manufacturing is an inconvenience. PROM devices are one time programmable ROM. At the time of device manufacturing every cell is stored with "1" and can be programmed by customer once. But, single write phase makes them unattractive. For instance, a single error in the programming process or application makes the device unusable. EPROM is Erasable PROM. Multiple times programming feature is added in EPROM. In this case, first whole memory is to be erased by shining ultraviolet light. The erase process is slow and can take from seconds to several minutes, depending on the intensity of the UV source. Programming takes several (5-10) /word. EPROM cell is extremely simple and dense, making it possible to fabricate large memories at a low cost. EPROMs were therefore attractive in applications that not require frequent programming. Electrically-Erasable PROM (EEPROM) can be erased without removing from board, unlike in UV erasable where memory must be removed from the board. The voltage approximately applied for programming is 18V. In addition, it is a reverse process; means by applying high negative voltage at gate can erase the cell. Another advantage over EPROM is that EEPROM can be programmed for 10 5 cycles. Flash Electrically Erasable PROM Technically the Flash EEPROM is a combination of the EPROM and EEPROM approaches. The main difference is that erasure can be performed for the complete chip, or for a sub-section of the memory. The control circuits on the memory chip can be regularly checked for the value of the threshold during erasure, and the erasure time can be

adjusted dynamically. Flash technology has three basic weaknesses. First, its bulk erase nature prevents the use of normal byte-oriented update. Second, Based on the architecture used write and erase operations take different time and consume more power than read. Finally, each flashmemory block has a limitation on the erase cycle count. Although transistors are used for realization of Read Only Memory, the functioning of Rom can be easily understood by diode matrix network depicted in Fig. 6. In this network, whichever switch is closed, those diodes will conduct and the output will be high (logic 1), sections where there is no diode connected there will be no current flowing and the output will be low (logic 0). For instance, when switch S5 is closed, the diodes D6 and D7 are on and therefore both output 1 and output 3 are at logic 1 and both output 2 and output 4 are at logic 0. Hence the corresponding binary number is 0101 and its decimal value is 5. The disadvantage of a diode cell is that it does not isolate the bit line from the word line. For better isolation the diode can be replaced by gate-source connection of a NMOS transistor. Moreover, in order to achieve the programmability i.e. for multiple read write capability a modified transistor known as Floating Gate (FG) Transistor is employed. The structure is similar to a traditional MOS device, except that an extra gate is inserted between gate and channel. The threshold voltage of the FG is programmable and corresponding to its different values the level 0 and level 1 can be identified. Fig. 6 : A Diode ROM Matrix Flash memory cells can be arranged in two popular architectures; the NOR and the NAND architectures as explained in the following sections. NOR ARCHITECTURE

Here every cell is connected in NOR fashioned manner as shown in Fig. 4(a). Note that the transistors used are FG type and two gates can be seen in their symbols. Every source terminal of the transistor is connected to ground in NOR architecture. Metal lines are required between each individual cell to run the ground in NOR architectures and therefore they occupy more area. NOR-based flash has long erase and write times, but has a full address/data (memory) interface that allows random access to any location. This makes it suitable for storage of program code that needs to be infrequently updated, such as computers' BIOS. NAND ARCHITECTURE In the NAND structure, a series of floating gate transistors are connected between the bit line and ground line. This organization allows the elimination of all contacts to ground line and thus reducing the area by 40% compared to NOR architecture. It has faster erase and write times, higher density, and lower cost per bit than NOR flash. This can be obtained by arranging 8 to 16 floating gate transistors connected in series as shown in the Fig. 4(b). However, its I/O interface allows only sequential to data. This makes it suitable for mass-storage devices such as PC cards and various memory stick cards. Programmable Logic devices

The main differences in programmable devices are between: mask-programmable and field-programmable erasable and non-erasable The mask-programmable types are programmed when they are manufactured whereas the user sets up the field-programmable device with some form of programmer.mask-programmable devices are expensive in low production runs but are relatively cheap for large production runs, which is opposite for the field-programmable devices. An erasable device allows the stored setup to be changed whereas the non-erasable type is permanent. Programmable Read Only Memory First type of user-programmable chip Device has a fixed, fully decoded AND plane and a programmable OR plane One-time programmable A logic circuit can be implemented by using the PROM s address lines as the circuit s inputs, and the circuit s outputs are then defined by the stored bits.

Any truth table function can be implemented in this way. Two basic versions of PROM : 1) Mask-Programmable : can be programmed Only by the manufacturer. Maskprogrammable chip has less delay because connections within the device can be hardwired during manufacture. 2) Field-Programmable : can be programmed by the end-user. Field programmable chips are less expensive, and can be programmed immediately. The Field Programmable PROM developed into two types, the Erasable Programmable Read-Only Memory (EPROM) and the Electrically Erasable Programmable Read-Only Memory (EEPROM). The EEPROM has the advantage of being erasable and reprogrammable many times.

(Programmable Logic Array) A PLA consists of two levels of logic gates: a programmable, wired AND-plane followed by a programmable, wired OR-plane. A PLA's structure allows any of its inputs (or their complements) to be AND-ed together in the AND plane; each AND plane output can thus correspond to any product term of the inputs. Similarly, users can configure each OR plane output to produce the logical sum of any AND plane output. With this structure, PLAs are wellsuited for implementing logic functions in sum-of-products form. They are also quite versatile, since both the AND and OR terms can have many inputs (product literature often calls this feature "wide AND and OR gates") In a PLA, the number of AND functions is independent of the number of inputs, and the number of OR functions is independent of both the number of inputs and the number of AND functions. Also, SPLDs need not have AND input arrays feeding OR output arrays; some devices have two NAND arrays, others have two NOR arrays, and some have a NAND array driving a NOR array. (Programmable Array Logic) It consists of Programmable AND-Plane followed by a fixed OR-Plane.The number of products in an SOP form will be limited to a fixed number (usually 4-10 product terms). The

number of variables in each product term limited by number of input pins (>=10 inputs).the number of independent functions limited by number of output pins. CPLD also known as: EPLD (Erasable Programmable Logic Device) PEEL (Programmable Electrically Erasable Logic) EEPLD (Electrically-Erasable Programmable Logic Device) MAX (Multiple Array matrix, Altera) CPLDs consist of multiple PAL-like logic blocks interconnected with a programmable switch matrix. Typically, each logic block contains 4 to 16 macrocells depending on the vendor and the architecture. A macrocell on most modern CPLDs contains a sum-of-products combinatorial logic function and an optional flip-flop. The combinatorial logic function typically supports our to 16 product terms with wide fan-in. In other words, a macrocell function can have

many inputs, but the complexity of the logic function is limited. Contrast this structure to an FPGA logic block where complexity is unlimited, but the lookup table has only four inputs. CPLDs are based on one of three process technologies EPROM, EEPROM, or FLASH. EPROM-based CPLDs are usually one-time programmable (OTP) unless they come in a UV-erasable windowed package. EEPROM and FLASH processes are erasable technologies. However, not all EEPROM- and FLASH-based devices are programmable while soldered on a board. In-system programmability (ISP) requires special on-chip programming logic, and not all CPLDs come with it, even when built with EEPROM and FLASH technologies. You can erase and program those lacking that circuitry in a device programmer.

FPGA Like MPGA, an FPGA consists of an array of uncommitted elements that can be interconnected in general way. Like a PAL, the interconnections between elements are user-programmable. FPGAs are approximately 10 times less dense \ and 3 times slower than MPGAs. Consist of an array of logic blocks, surrounded by programmable I/O blocks, and connected with programmable interconnect.

It consists of a two-dimensional array of logic blocks that can be connected by general interconnection resources. The interconnect comprises segments of wire, where the segments may be of various length. Present in the interconnect are the programmable switches that serve to connect the logic blocks to the wire segments, or one wire segment to another. Logic Block The structure and content of a logic block is called its architecture. Logic block architecture can be designed in many different ways. There are two primary classes of FPGA architectures: First, coarse-grained architectures consist of fairly large logic blocks, often containing two or more lookup tables and two or more flip-flops. In these architectures, a 4-input lookup table (think of it as a 16 x 1 ROM) implements the actual logic.

The other architecture is called Fine-grained. These devices hold a large number of relatively simple logic blocks. Each block usually contains a flip-flop and either a 2-input logic function or a 4:1 multiplexer.

mmable Logic Array (PLA) Progra Introduction

One way to design a combinational logic circuit it to get gates and connect them with wires. One disadvantage with this way of designing circuits is its lack of portability. You can now get chips called PLA (programmable logic arrays) and "program" them to implement Boolean functions. I'll explain what it means to program a PLA. Fortunately, a PLA is quite simple to learn, and produces nice neat circuits too. Starting Out The first part of a PLA looks like: Each variable is hooked to a wire, and to a wire with a NOT gate. So the top wire is x 2 and the one just below is its negation, \x 2. Then there's x 1 and just below it, its negation, \x 1. The next part is to draw a vertical wire with an AND gate. I've drawn 3 of them.

Let's try to implement a truth table with a PLA. x 2 x 1 x 0 z 1 z 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 1 1 0 1 0 0 1 1 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 Each of the vertical lines with an AND gate corresponds to a minterm. For example, the first AND gate (on the left) is the minterm: \x 2 \x 1 x 0. The second AND gate (from the left) is the minterm: \x 2 x 1 x 0. The third AND gate (from the left) is the minterm: x 2 \x 1 \x 0. I've added a fourth AND gate which is the minterm: x 2 x 1 x 0. The first three minterms are used to implement z 1. The third and fourth minterm are used to implement z 0. This is how the PLA looks after we have all four minterms.

Now you might complain. How is it possible to have a one input AND gate? How can three inputs be hooked to the same wire to an AND gate? Isn't that invalid for combinational logic circuits? That's true, it is invalid. However, the diagram is merely a simplification. I've drawn the each of AND gate with three input wires, which is what it is in reality (there is as many input wires as variables). For each connection (shown with a black dot), there's really a separate wire. We draw one wire just to make it look neat. The vertical wires are called the AND plane. We often leave out the AND gates to make it even easier to draw. We then add OR gates using horizontal wires, to connect the minterms together. Again, a single wire into the OR gate is really 4 wires. We use the same simplification to make it easier to read. The horizontal wires make up the OR plane.

This is how the PLA looks when we leave out the AND gates and the OR gates. It's not that the AND gates and OR gates aren't there---they are, but they've been left out to make the PLA even easier to draw. Minterms? Given n variables, it would seem necessary to have 2 n vertical wires (for the AND gates), one for each possible minterm. However, 2 n grows VERY quickly. So, sometimes there aren't 2 n vertical wires. You can generally get around the problem by not connecting the wire to each of the three variables. For example, you could just have a product term x 2 \x 0 or even simply \x 1. For the purpose of implementing truth tables, we'll usually tell you not to simplify, and to let each vertical line be a minterm. Programming? What does it mean to program a PLA? See the black dots? Those are connections made between wires. In effect "programming" the wires means to make the connections within the PLA. Configurable might be a better word than programmable, but that's the name that stuck. Summary Programming a PLA is pretty simple. It simply involves filling out black dots for the minterms in the AND plane and connecting the minterms together in the OR plane.