Practical Aspects Of Logic Gates

Similar documents
In this experiment you will study the characteristics of a CMOS NAND gate.

Note that none of the above MAY be a VALID ANSWER.

Chapter 6 DIFFERENT TYPES OF LOGIC GATES

4-bit counter circa bit counter circa 1990

Chapter 15 Integrated Circuits

Chapter 6 DIFFERENT TYPES OF LOGIC GATES

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

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

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

Quad 2-Input NAND Gate High-Voltage Silicon-Gate CMOS

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

4-bit counter circa bit counter circa 1990

VLSI Design I; A. Milenkovic 1

Digital Circuits and Operational Characteristics

ECE/CoE 0132: FETs and Gates

ECE520 VLSI Design. Lecture 5: Basic CMOS Inverter. Payman Zarkesh-Ha

Microcontroller Systems. ELET 3232 Topic 13: Load Analysis

TC74ACT540P,TC74ACT540F,TC74ACT540FW,TC74ACT540FT TC74ACT541P,TC74ACT541F,TC74ACT541FW,TC74ACT541FT

Lecture Summary Module 1 Switching Algebra and CMOS Logic Gates

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

Digital Electronics Part II - Circuits

TC4011BP,TC4011BF,TC4011BFN,TC4011BFT

1 IC Logic Families and Characteristics

74ALVC Low Voltage 16-Bit Bidirectional Transceiver with 3.6V Tolerant Inputs and Outputs and 26Ω Series Resistors in A Port Outputs

Lab 7 (Hands-On Experiment): CMOS Inverter, NAND Gate, and NOR Gate

UT54LVDM031LV Low Voltage Bus-LVDS Quad Driver Data Sheet September, 2015

Logic families (TTL, CMOS)

Exercise 2: Source and Sink Current

Digital logic families

CD74HCT4514, CD74HCT LINE TO 16-LINE DECODERS/DEMULTIPLEXERS WITH INPUT LATCHES

74VHCT244ATTR OCTAL BUS BUFFER WITH 3 STATE OUTPUTS (NON INVERTED)

DO NOT COPY DO NOT COPY

Department of EECS. University of California, Berkeley. Logic gates. September 1 st 2001

Basic Characteristics of Digital ICs

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

Place answers on the supplied BUBBLE SHEET only nothing written here will be graded.

Unit 1 Session - 3 TTL Parameters

FAMILIARIZATION WITH DIGITAL PULSE AND MEASUREMENTS OF THE TRANSIENT TIMES

74ACT240TTR OCTAL BUS BUFFER WITH 3 STATE OUTPUTS (INVERTED)

AVC Logic Family Technology and Applications

74VHCT16244ATTR 16-BIT BUS BUFFER WITH 3-STATE OUTPUTS (NON INVERTED)

SN54LS06, SN74LS06, SN74LS16 HEX INVERTER BUFFERS/DRIVERS WITH OPEN-COLLECTOR HIGH-VOLTAGE OUTPUTS

M74HCT244TTR OCTAL BUS BUFFER WITH 3 STATE OUTPUTS (NON INVERTED)

74V1T126CTR SINGLE BUS BUFFER (3-STATE)

NTE74S188 Integrated Circuit 256 Bit Open Collector PROM 16 Lead DIP Type Package

DS75451/2/3 Series Dual Peripheral Drivers

Digital Microelectronic Circuits ( ) Terminology and Design Metrics. Lecture 2: Presented by: Adam Teman

Digital Electronic Circuits

Implications of Slow or Floating CMOS Inputs

UT54LVDM055LV Dual Driver and Receiver Data Sheet June, 2016

PO74G2308A FEATURES: DESCRIPTION: Description. 700MHz TTL/CMOS Potato Chip. BUF_IN OUTPUT 1 to OUTPUT 8. Outputs. 1.2V - 3.6V 1:8 CMOS Clock Driver

NTE74HC40105 Integrated Circuit TTL High Speed CMOS, 4 Bit x 16 Word FIFO Register

TC74AC14P,TC74AC14F,TC74AC14FN,TC74AC14FT

Obsolete Product(s) - Obsolete Product(s)

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

14-Bit Registered Buffer PC2700-/PC3200-Compliant

M74HCT241B1R 74HCT241 OCTAL TRI-STATE BUFFER (DIL20) M74HCT244B1R 74HCT244 OCTAL TRI-STATE BUFFER (DIL20)

DS in-1 Low Voltage Silicon Delay Line

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input

ECE 334: Electronic Circuits Lecture 10: Digital CMOS Circuits

IC Logic Families and Characteristics. Dr. Mohammad Najim Abdullah

74ACT00B QUAD 2-INPUT NAND GATE

ECE 484 VLSI Digital Circuits Fall Lecture 02: Design Metrics

TC7WH04FU,TC7WH04FK TC7WH04FU/FK. Triple Inverter. Features. Marking. Pin Assignment (top view)

Obsolete Product(s) - Obsolete Product(s)

Chapter 6 Digital Circuit 6-6 Department of Mechanical Engineering

74LCX244TTR LOW VOLTAGE CMOS OCTAL BUS BUFFER (3-STATE) WITH 5V TOLERANT INPUTS AND OUTPUTS

INTEGRATED CIRCUITS. 74LVC00A Quad 2-input NAND gate. Product specification Supersedes data of 1997 Aug 11 IC24 Data Handbook.

TC74ACT139P,TC74ACT139F,TC74ACT139FN,TC74ACT139FT

74V1T00CTR SINGLE 2-INPUT NAND GATE

Obsolete Product(s) - Obsolete Product(s)

500MHz TTL/CMOS Potato Chip

HCF4010B HEX BUFFER/CONVERTER (NON INVERTING)

EECS150 - Digital Design Lecture 2 - Synchronous Digital Systems Review Part 1. Outline

Classification of Digital Circuits

M74HCT04. Hex inverter. Features. Description

PC accounts for 353 Cory will be created early next week (when the class list is completed) Discussions & Labs start in Week 3

74V1T07CTR SINGLE BUFFER (OPEN DRAIN)

54LVTH PRELIMINARY. 3.3V 16-Bit Transparent D-Type Latches. Memory DESCRIPTION: FEATURES: Logic Diagram

74ACT541TTR OCTAL BUS BUFFER WITH 3 STATE OUTPUTS (NON INVERTED)

TC74VHC14F,TC74VHC14FN,TC74VHC14FT,TC74VHC14FK

Obsolete Product(s) - Obsolete Product(s)

74AC244B OCTAL BUS BUFFER WITH 3 STATE OUTPUTS (NON INVERTED)

TC74AC00P,TC74AC00F,TC74AC00FN,TC74AC00FT

54LVTH PRELIMINARY. 3.3V 16-Bit Transparent D-Type Latches. Memory DESCRIPTION: FEATURES: Logic Diagram

TC74HC240AP,TC74HC240AF,TC74HC240AFW TC74HC241AP,TC74HC241AF TC74HC244AP,TC74HC244AF,TC74HC244AFW

15 A Low-Side RF MOSFET Driver IXRFD615

Obsolete Product(s) - Obsolete Product(s)

FSTD Bit Bus Switch with Level Shifting

8-BIT SERIAL-INPUT SHIFT REGISTER WITH LATCHED 3-STATE OUTPUTS High-Performance Silicon-Gate CMOS

Programmable RS-232/RS-485 Transceiver

UT54LVDS031 Quad Driver Data Sheet September,

DS Tap High Speed Silicon Delay Line

74AC20M DUAL 4-INPUT NAND GATE

Obsolete Product(s) - Obsolete Product(s)

Using IBIS Models for Timing Analysis

ECE 301 Digital Electronics

ICS Low Skew Fan Out Buffers. Integrated Circuit Systems, Inc. General Description. Pin Configuration. Block Diagram. 28-Pin SSOP & TSSOP

SN75374 QUADRUPLE MOSFET DRIVER

Electronic Circuits EE359A

Transcription:

Practical Aspects Of Logic Gates Introduction & Objectives Logic gates are physically implemented as Integrated Circuits (IC). Integrated circuits are implemented in several technologies. Two landmark IC technologies are the TTL and the CMOS technologies. Major physical properties of a digital IC depend on the implementation technology. In this lesson, the following major properties of digital IC s are described: 1. Allowed physical range of voltages for logic 0 and logic 1, 2. Gate propagation delay/ speed, 3. The fanin and fanout of a gate, 4. The use of buffers, and 5. Tri-State drivers Allowed Voltage Levels Practically, logic 0 is represented by a certain RANGE of rather than by a single voltage level..in other words, if the voltage level of a signal falls in this range, the signal has a logic 0 value. Likewise, logic 1 is represented by a different RANGE of valid voltages. The range of voltages between the highest logic 0 voltage level and the lowest logic 1 voltage level is an Illegal Voltage Range. No signal is allowed to assume a voltage value in this range. Input & Output Voltage Ranges Inputs and outputs of IC s do not have the same allowed range of voltages neither for logic 0 nor for logic 1. VIL is the maimum input voltage that considered a Logic 0. VOL is the maimum output voltage that considered a Logic 0. VOL must be lower than VIL to guard against noise disturbance. Valid Logic 1 Invalid Range Of Valid Logic 0

Why is V IL > V OL? Consider the case of connecting the output of gate A to the input of another gate B: The logic 0 output of A must be within the range of acceptable logic 0 voltages of gate B inputs. Voltage level at the input of B = Voltage level at the output of A + Noise Voltage If the highest logic 0 output voltage of A (VOL) is equal to the highest logic 0 input voltage of B (VIL), then the noise signal can cause the actual voltage at the input of B to fall in the invalid range of voltages. Valid Logic 1 Maimum Tolerable noise V IL Invalid Range Of Valid Logic 0 Output V OL Valid Logic 0 Input Accordingly, VOL is designed to be lower than VIL to allow for some noise margin. The difference (VIL - VOL) is thus known as the noise margin for logic 0 (NM 0 ). VIH is the minimum input voltage that considered a Logic 1. VOH is the minimum output voltage that considered a Logic 1. VOH must be higher than VIH to guard against noise signals.

Why is V OH > V IH? A V OH =2.4v Allowed Noise Margin of 0.4v... V IH =2v B Consider the case of connecting the output of gate A to the input of another gate B: The logic 1 output of A must accepted as logic 1 by the input of gate B. Thus, the logic 1 output of A must be within the range of voltages which are acceptable as logic 1 input for gate B. If the lowest logic 1 output voltage of A (VOH) is equal to the lowest logic 1 input voltage of B (VIH), then noise signals can cause the actual voltage at the input of B to fall in the invalid range of input voltages. Valid Logic 1 Output V OH Valid Logic 1 Input Maimum Tolerable noise V IH Invalid Range Of Valid Logic 0 Input Accordingly, VOH is designed to be higher than VIH to allow for some noise margin. The difference (VOH - VIH) is thus known as the noise margin for logic 1 (NM 1 ). Definition Noise margin is the maimum noise voltage that can be added to the input signal of a digital circuit without causing an undesirable change in the circuit output..

Valid Logic 1 Valid Logic 1 V OH V IH NM 1 V IL Valid Logic 0 NM 0 Valid Logic 0 V OL INPUT VOLTAGES OUTPUT VOLTAGES Propagation Delay X = X Consider the shown inverter with input X and output. A change in the input (X) from 0 to 1 In general, causes the inverter output () to change from 1 to 0. The change in the output (), however is not instantaneous. Rather, it occurs slightly after the input change. This delay between an input signal change and the corresponding output signal change is what is known as the propagation delay. A signal change on the input of some IC takes a finite amount of time to cause a corresponding change on the output. This finite delay time is known as Propagation Delay. Faster circuits are characterized by smaller propagation delays. Higher performance systems require higher speeds (smaller propagation delays). X τ Propagation Delay = τ

Timing Diagrams A timing diagram shows the logic values of signals in a circuit versus time. A signal shape versus time is typically referred to as Waveform. Eample The figure shows the timing diagram of a 2-input AND gate. The gate is assumed to have a propagation delay of τ. X Y Propagation Delay =τ The timing diagram shown Figure illustrates the waveforms of signals X, Y, and. Note how the output is delayed from changes of the input signals X & Y by the amount of the gate Propagation Delay τ. X Y τ τ τ τ Fanin Limitations The fanin of a gate is the number of inputs of this gate. Thus, a 4-input AND gate is said to have a fanin of 4. t Time A physical gate cannot have a large number of inputs (fanin).

For CMOS technology, the more inputs a gate has the slower it is (larger propagation delay). For eample, a 4-input AND gate is slower than a 2- input one. In CMOS technology, no more than 4-input gates are typically built since more than 4 inputs makes the devices too slow. TTL gates can have more inputs (e.g, 8 input NAND 7430). Fanout Limitations If the output of some gate A is connected to the input of another gate B, gate A is said to be driving gate, while gate B is said to be the load gate. As the Figure shows, a driver gate may have more than one load gate. There is a limit to the number of gate inputs that a single output can drive. The fanout of a gate is the largest number of gate inputs this gate can drive. For TTL, the fanout limit is based on CURRENT. Driver Gate A TTL output can supply a maimum current I OL = 16 ma (milliamps) A TTL input requires a current of I IL =1.6mA. Thus, the fanout for TTL is 16mA/1.6 ma = 10 loads. For CMOS, the limit is based on SPEED/propagation delay. A CMOS input resembles a capacitive load ( 10 pf - picofarads). The more inputs tied to a single output, the higher the capacitive load. The HIGHER the capacitive load, the SLOWER the propagation delay. 1 2 n Load Gates

Typically, it is advisable to avoid loads much higher than about 8 loads. Q. What is meant by the DRIVE of a gate? A. It is the CURRENT driving-ability of a gate. In other words, it is the amount of current the gate can deliver to its load devices. A gate with high-drive is capable of driving more load gates than another with low-drive. Q. How to drive a number of load gates that is larger than the fanout of the driver gate? A. In this case, we can use one of two methods: 1. Use high drive buffers 2. Use multiple drivers. Use of High-Drive Buffers: A buffer is a single input, single output gate where the logic value of the output equals that of the input. The logic symbol of the buffer is shown in the Figure. The buffer provides the necessary drive capability which allows driving larger loads. Note that the symbol of the buffer resembles the inverter symbol ecept that it does not have the inverting circle that the inverter symbol has. The figure shows how the buffer is used to drive the large load. High Drive Buffer Buffer Symbol = 1 Use of Multiple Drivers: The Figure shows the case of 2 identical drivers driving the load gates. In general, the large number of load D Driver Gate 2 n Load Gates n> fanout (D)

gates is divided among more than one driver such that each of the identical drivers is driving no more than the fanout. The multiple driver gates (D1, D2) are of identical type and should be connected to the same input signals Tri-State Outputs D1 Driver Gate 1 D2 Driver Gate 2 1 2 m m+1 m+2 n Load Gates n> fanout Q. Can the outputs of 2 ICs, or 2 gates, be directly connected? A. Generally, Nooooooooooo!!! This is only possible if special types of gates are used. Q. Why cann t the outputs of 2 normal gates be directly connected? A. Because this causes a short Circuit that results in huge current flow with a subsequent potential for damaging the circuit. This is obvious since one output may be at logic 1 (High voltage), while the other output may be at logic 0 (Low voltage). Furthermore, the common voltage level of the shorted outputs will most likely fall in the invalid range of voltage levels. 0 1 Short Circuit Huge Current 1 0

Q. What are the types of IC output pins that can be directly connected? A. These are pins/gates with special output drivers. The two main types are: Open-Collector outputs this will not be discussed in this course. Outputs with Tri-State capability. Gates with Tri-State Outputs These gates can be in one of 2 possible states: 1. An enabled state where the output may assume one of two possible values: Logic 0 value (low voltage) Logic 1 value (high voltage) 2. A disabled state where the gate output is in a the Hi-impedance (Hi-) state. In this case, the gate output is disconnected (opencircuit) from the wire it is driving. An enable input (E) is used to control the gate into either the enabled or disabled state. The enable input (E) may be either active high or active low. Any gate or IC output may be provided with tri-state capability. Output State Illustrations A generalized output driver can be simply modeled using 2 switches S 1 and S 0 as shown in Figure. The output state is defined by the state of the 2 switches (closed -open) If S 1 is closed and S 0 is open, the output is high (logic 1) since it is connected to the power supply (V DD ). Power Supply V DD S 1 S 0 GND Output

If S 1 is open and S 0 is closed, the output is low (logic 0) since it is connected to the ground voltage (0 volt). Power Supply V DD S 1 Closed Output = High = Logic1 S 0 Open If, however, both S 1 is and S 0 are open, then the output is neither connected to ground nor to the power supply. In this case, the output node is floating or is in the Hi-Impedance (Hi-) state. GND Power Supply V DD S 1 Open Output = Low = Logic 0 S 0 Closed Eamples a) Tri-State Inverter with active high enable GND Power Supply V DD E S 1 Open Logic Symbol G1 S 0 Open Output = Hi-Impedance (Hi-) Truth Table Tri-State Inverter with active-high enable E 1 0 1 1 1 0 0 0 Hi- 0 1 Hi- GND

E =1 Enabled State G1 = G2 Tri-State Inverter with active-high enable E =0 Open Circuit (Hi-Impedance) Floating Line Disconnected from G1 G1 G2 Disabled State E =0 Tri-State Inverter with active-high enable Floating Line Disconnected from G1 G2 In Hi- State G1 is Open Circuit (Disconnected from Output line) b) Tri-State Inverter with active low enable E Logic Symbol G1 Tri-State Inverter with active-low enable

Truth Table E 0 0 1 0 1 0 1 0 Hi- 1 1 Hi- E = 0 Enabled State G1 = G2 Tri-State Inverter with active-low enable E =1 Open Circuit (Hi-Impedance) Floating Line Disconnected from G1 G1 G2 Disabled State E =1 Tri-State Inverter with active-low enable Floating Line Disconnected from G1 G2 In Hi- State G1 is Open Circuit (Disconnected from Output line)

Condition for Connecting Outputs of Tri-State Gates Two or more tri-state outputs may be connected provided that at most one of these outputs is enabled while all others are in the Hi- state. This avoids conflict situations where one gate output is high while another is low. Circuit Eamples The shown circuit has tri-state inverters with active high enable inputs. The outputs of these 2 inverters are shorted together as a common output signal The 2 gates are NEVER enabled at the same time. G1 is enabled when E=1, while G2 is enabled when E=0 The circuit performs the function: = E + E y