Classification of Digital Circuits

Similar documents
Digital logic families

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

Basic Characteristics of Digital ICs

Digital Circuits and Operational Characteristics

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

IES Digital Mock Test

Lab Project #2: Small-Scale Integration Logic Circuits

Lecture Summary Module 1 Switching Algebra and CMOS Logic Gates

Chapter 6 Digital Circuit 6-6 Department of Mechanical Engineering

Microcontroller Systems. ELET 3232 Topic 13: Load Analysis

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

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

Propagation Delay, Circuit Timing & Adder Design

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

DO NOT COPY DO NOT COPY

DO NOT COPY DO NOT COPY DO NOT COPY

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

Unit 1 Session - 3 TTL Parameters

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

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

Module -18 Flip flops

CD74HC73, CD74HCT73. Dual J-K Flip-Flop with Reset Negative-Edge Trigger. Features. Description. Ordering Information. Pinout

Practice Homework Problems for Module 1

1 IC Logic Families and Characteristics

DS75451/2/3 Series Dual Peripheral Drivers

MM74HC132 Quad 2-Input NAND Schmitt Trigger

Digital Electronics - B1 18/03/ /03/ DigElnB DDC. 18/03/ DigElnB DDC. 18/03/ DigElnB DDC

74VHC4046 CMOS Phase Lock Loop

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

DS DS Series Dual Peripheral Drivers

CD54/74HC74, CD54/74HCT74

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

CD4541BC Programmable Timer

MM74HC132 Quad 2-Input NAND Schmitt Trigger

INTEGRATED-CIRCUIT LOGIC FAMILIES

ISO-9001 AS9120certi cation ClassQ Military

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

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

MM74HCU04 Hex Inverter

Logic families (TTL, CMOS)

DM74ALS169B Synchronous Four-Bit Up/Down Counters

74LVT LVTH16374 Low Voltage 16-Bit D-Type Flip-Flop with 3-STATE Outputs

CD74HC534, CD74HCT534, CD74HC564, CD74HCT564

COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA

EECE 143 Lecture 0: Intro to Digital Laboratory

ADC Bit µp Compatible A/D Converter

Electronic Circuits EE359A

4-bit counter circa bit counter circa 1990

CD4069UBC Inverter Circuits

DM74AS169A Synchronous 4-Bit Binary Up/Down Counter

CD4069, CD4069-SMD Inverter Circuits

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

DC Electrical Characteristics of MM74HC High-Speed CMOS Logic

CD54HC273, CD74HC273, CD54HCT273, CD74HCT273

CD4538 Dual Precision Monostable

74AC74B DUAL D-TYPE FLIP FLOP WITH PRESET AND CLEAR

4-bit counter circa bit counter circa 1990

M74HCT574TTR OCTAL D-TYPE FLIP FLOP WITH 3 STATE OUTPUT NON INVERTING

Obsolete Product(s) - Obsolete Product(s)

DM74ALS14 Hex Inverter with Schmitt Trigger Inputs

Appendix B Page 1 54/74 FAMILIES OF COMPATIBLE TTL CIRCUITS PIN ASSIGNMENT (TOP VIEWS)

QS54/74FCT373T, 2373T. High-Speed CMOS Bus Interface 8-Bit Latches MDSL QUALITY SEMICONDUCTOR, INC. 1 DECEMBER 28, 1998

CD54/74HC139, CD54/74HCT139

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

Obsolete Product(s) - Obsolete Product(s)

Basic Logic Circuits

MM74HC14 Hex Inverting Schmitt Trigger

CD54/74HC221, CD74HCT221

IC Logic Families and Characteristics. Dr. Mohammad Najim Abdullah

74ABT273 Octal D-Type Flip-Flop

CMOS the Ideal Logic Family

TC74AC14P,TC74AC14F,TC74AC14FN,TC74AC14FT

Lecture Summary Module 1 Switching Algebra and CMOS Logic Gates

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics

CD74HC221, CD74HCT221

FACT Descriptions and Family Characteristics

CS302 - Digital Logic Design Glossary By

MM74HC00 Quad 2-Input NAND Gate

ENGINEERING TRIPOS PART II A ELECTRICAL AND INFORMATION ENGINEERING TEACHING LABORATORY EXPERIMENT 3B2-B DIGITAL INTEGRATED CIRCUITS

DM74LS161A DM74LS163A Synchronous 4-Bit Binary Counters

Low Power Quint 2-Input OR/NOR Gate

Digital Logic Circuits

AC/DC to Logic Interface Optocouplers Technical Data

CD54/74HC374, CD54/74HCT374, CD54/74HC574, CD54/74HCT574

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

Low Power Hex ECL-to-TTL Translator

74HCT138. Description. Pin Assignments. Features. Applications 3 TO 8 LINE DECODER DEMULTIPLEXER 74HCT138

CD74HC374, CD74HCT374, CD74HC574, CD74HCT574

HCF4017B DECADE COUNTER WITH 10 DECODED OUTPUTS

CMOS Digital Integrated Circuits Analysis and Design

Electronics. Digital Electronics

Chapter 15 Integrated Circuits

DM74AS651 DM74AS652 Octal Bus Transceiver and Register

74ACTQ74 Quiet Series Dual D-Type Positive Edge-Triggered Flip-Flop

DM Segment Decoder/Driver/Latch with Constant Current Sink Outputs

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

Chapter 3 Digital Logic Structures

Low Power Hex TTL-to-ECL Translator

HCF4040B RIPPLE-CARRY BINARY COUNTER/DIVIDERS 12 STAGE

74ALVC16500 Low Voltage 18-Bit Universal Bus Transceivers with 3.6V Tolerant Inputs and Outputs

Transcription:

Classification of Digital Circuits Combinational logic circuits. Output depends only on present input. Sequential circuits. Output depends on present input and present state of the circuit.

Combinational Logic Design Procedure Start with the problem statement. Determine the number of inputs variables and the required number of output variables. Derive a truth table that defines the required relationship between input and output. Simplify each output function (Karnaugh maps). Draw the logic diagram.

Half Adder Design Example A half adder computes the sum of two one bit Boolean inputs, which can be at most 10 2. This requires two outputs. Inputs: X, and Y. Outputs: S and C. X Y C S 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0

Half Adder Design Example C = XY S = X Y

Decoders A decoder is a multiple-input multiple-output logic circuit that converts coded inputs into coded outputs, where the inputs and outputs codes are different.

Function Realization With Decoders The outputs of a binary decoder provides 2 n minterms for its n inputs, and a Boolean functions can be represented as a sum of minterms, therefore a decoder and one or more OR gates can be used to realize sums of minterms of n variables.

Multiplexers Combinational logic circuit that selects binary information from one of many input lines and directs it to a single output line. The input is selected by the binary value on the select lines.

Demultiplexers Combinational logic circuit that receives binary information on a single input and sends this information to one of many possible output lines. The output is selected by the binary value on the select lines.

Function Realization With Multiplexers A multiplexer is basically a binary decoder whose outputs were ORed together and some extra input lines were added to each product term.

Function Realization With Multiplexers A sum of minterms can be realized by setting the corresponding input line of the chosen minterms to 1 and setting the input lines of the remaining minterms to 0.

Transition Time Time interval between two reference points on a waveform. These reference points are usually 10% and 90% of the voltage change. Rise time( t r ) Time interval when waveform is changing from a logic low to a logic high level. Fall time( t r ) Time interval when waveform is changing from a logic high to a logic low level.

Propagation Delay Time it takes for a change at the input of a device to produce a change at the output of the same. t plh is the propagation delay when the output changes from LOW to HIGH. t phl is the propagation delay when the output changes from HIGH to LOW. t plh and t phl are not necessarily equal, and their values depends on the logic family.

Propagation Delay and Transition Time

Fanout The number of gate inputs that a single output can drive or operate without exceeding its worst case loading specifications. I ILMax is the maximum current supplied by an input when a LOW logic level voltage is applied to that input. I IHMax is the maximum current required by an input when a HIGH logic level voltage is applied to that input. I OLMax is the maximum current into an output when this output is in the LOW state. I OHMax is the maximum current provided by an output when this output is in the HIGH state.

Fanout

Fanout LS fanout = I I OL IL HS fanout = I I OH IH fanout = min{ LS fanout, HS fanout}

Power Dissipation The power consumed by the gate that must be available from the power supply. This does not include the power delivered from another gate. V CC : supply voltage. I CCH : current drawn by the circuit when the output of the gate is HIGH. I CCL : current drawn by the circuit when the output of the gate is LOW. I CC : average current drawn by the circuit. P D : average power dissipation.

Power Dissipation I CC = I CCH + 2 I CCL P D = V CC I CC

DC Noise Margins The maximum amount of voltage variation (noise) that may be permitted from LOW or HIGH voltage levels. V OHMin : the minimum output voltage in the HIGH state. V IHMin : the minimum input voltage guaranteed to be recognized as a HIGH. V ILMax : the maximum input voltage guaranteed to be recognized as a LOW. V OLMax : the maximum output voltage in the LOW state.

DC Noise Margins Low-State = V ILMax V OLMax High-State = V OHMin V IHMin

Unused Inputs Handle them as follows: Tie them to a used input in the same gate. Tie them to logic 1 through a pull-up resistor for AND & NAND gates. Tie them to logic 0 through a pull-down resistor for OR & NOR gates.

Logic Families Transistor Transistor Logic (TTL) is one of the most popular and widespread of all logic families. Very high number of SSI and MSI devices available in the market. Several number of sub-families that provide a wide range of speed and power consumption. Sub families: 74xx : The original TTL family. These devices had a propagation delay of 10ns and a power consumption of 10mW, and they were introduced in the early 60 s.

Logic Families Sub families: 74Hxx : High speed. Speed was improved by reducing the internal resistors. Note that this improvement caused an increase in the power consumption. 74Lxx : Low power. Power consumption was improved by increasing the internal resistances, and the speed decreased.

Logic Families Sub families: 74Sxx : Schottky. The use of Schottky transistors improved the speed. The power dissipation is less than the 74Hxx sub-family. 74LSxx : Low power Schottky. Uses Schottky transistors to improve speed. High internal resistances improves power consumption.

Logic Families Sub families: 74ASxx : Advanced Schottky. Twice as fast as 74Sxx with approximately the same power dissipation. 74ALSxx : Advanced Low power Schottky. Lower power consumption and higher speed than 74LSxx. 74Fxx : Fast. Performance is between 74ASxx and 74ALSxx.

Logic Families Note that parameters like V OHMin, V IHMin, V ILMax, and V OLMax are all the same for the different sub-families, but parameters like I ILMax, I IHMax, I OLMax, and I OHMax may differ. Most TTL sub-families have a corresponding 54-series (military) version, and these series operate in a wider temperature and voltage ranges.

Logic Families Complementary metal oxide semiconductor (CMOS) replaced TTL devices in the 90 s due to advances in the design of MOS circuits made in mid 80 s. Advantages: Operate with a wider range of voltages that any other logic family. Has high noise immunity. Dissipates very low power at low frequencies. It requires an extremely low driving current. High fanout.

Logic Families Disadvantages: Power consumption increases with frequency. Susceptible to ESD - electrostatic discharges. Sub-families: 40xx : Original CMOS family. Fairly slow, but it has a low power dissipation. 74HCxx : High speed CMOS. Better current sinking and sourcing than 40xx. It uses voltage supply between 2 and 6 volts. Higher voltage higher speed. Lower voltage lower power consumption.

Logic Families Sub-families: 74HCTxx : High speed CMOS, TTL compatible. Better current sinking and sourcing than 40xx. It uses voltage supply of 5V. Compatible with TTL family. 74ACxx : Advanced CMOS. Very fast. It can source and sink high currents. Not TTL compatible. 74ACTxx : Advanced CMOS, TTL compatible. Same as 74ACxx, but it is compatible with TTL family.

Logic Families Sub-families: 74FCTxx : Fast CMOS, TTL compatible. It is faster and has lower power dissipation than the 74ACxx and 74ACTxx sub-families. Compatible with TTL family. Prefixes, usually added to device designation to identify the manufacturer. SN : Texas Instrument. MN : Motorola. DM : National N : Signetics P : Intel H : Harris AMD : Advanced Micro Devices

Logic Families Prefixes, usually added to device designation to identify the manufacturer. SN : Texas Instrument. MN : Motorola. DM : National N : Signetics P : Intel H : Harris AMD : Advanced Micro Devices Suffixes, identifies the packaging. N : Plastic DIP (dual in-line package) P : Plastic DIP J : Ceramic DIP W : Ceramic flat package. D : Plastic small outline package

Latches and Flip-Flops These sequential devices differ in the way their outputs are changed: The output of a latch changes independent of a clocking signal. The output of a flip flop changes at specific times determined by a clocking signal.

S-R Latch SR latch based on NOR gates. The S input sets the Q output to 1 while R reset it to 0. When R=S=0 then the output keeps the previous value. When R=S=1 then Q=Q =0, and the latch may go to an unpredictable next state.

S-R Latch S R latch based on NAND gates. The S input sets the Q output to 1 while R reset it to 0. When R =S =1 then the output keeps the previous value. When R =S =1 then Q=Q =1, and the latch may go to an unpredictable next state.

D Latch This latch eliminates the problem that occurs in the S R latch when R=S=0. C is an enable input: When C=1 then the output follows the input D and the latch is said to be open. When C=0 then the output retains its last value and the latch is said to be closed.

D Latch For proper operation the D input must not change during a time interval around the falling edge of C. This time interval is defined by the setup time t setup and the hold time t hold.

Edge Triggered D Flip-Flop This flip-flop is made out of two D latches. The first latch is the master, and the second the slave. When C k = 0 the master is open and the slave is closed. Q m and D s follow D m. When C k = 1 the master is closed, the slave is open and Q m is transferred to Q s. Note that Q s does not change because the master latch is closed leaving Q m fixed.

Edge Triggered D Flip-Flop The same constraints regarding setup and hold time discussed previously, also apply to the edge triggered D flip-flop.

Edge Triggered J-K Flip-Flop The operation of inputs J and K in the J-K flip-flop is similar to the operation of inputs S and R in the S-R flipflop. The difference arises when J and K are asserted simultaneously. In this situation the output of the J-K flip-flop inverts its current state.

T Flip-Flop Also known as the toggle flipflop. When input T = 0 the output Q retain its previous value. When input T = 1 the output Q inverts on every tick of the clock. When inputs J and K of a J-K flip-flop are connected together, the J-K flip-flop will behave like a T flip-flop.

Sequential Logic Design Procedure Derive a state/output table from the problem specification. Minimize the number of states in the state/output table by eliminating equivalent states. Choose a set of state variables. Assign to each state a unique combination from the set derived above. Create a transition/output table.

Sequential Logic Design Procedure Choose a flip-flop type and construct its excitation table. Using the excitation table fill the values for the input excitation function columns on the transition/output table. Derive the excitation and output equations. Draw logic diagram.

Sequence Detector Design Example Design a sequential circuit with one input ( I ) and one output ( Z )The output is asserted when the input sequence 0-1-1 is received. See state/output table below. Present State Init S 0 S 01 S 011 Input I Next state Output Z 0 S 0 0 1 Init 0 0 S 0 0 1 S 01 0 0 S 0 0 1 S 011 0 0 S 011 1 1 S 011 1

Sequence Detector Design Example Set of state variables and their unique assignment to the different states. State Q1 Q0 Init 0 0 S 0 0 1 S 01 1 1 S 011 1 0

Sequence Detector Design Example Transition/output table Present State Input Next state Output Q 1 Q 0 I Q 1 * Q 0 * Z 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1 1 1 1 0 1 0 0 1 0 1 1 0 1 1 0 1 1 1 0 0 1 0 1 1 1 1 0 0

Sequence Detector Design Example See excitation table below. Present State Next State Required inputs D J K T 0 0 0 0 X 0 0 1 1 1 X 1 1 0 0 X 1 1 1 1 1 X 0 0

Sequence Detector Design Example Present State Input Next state Output Input Excitation Q 1 Q 0 I Q 1 * Q 0 * Z J 1 K 1 J 0 K 0 0 0 0 0 1 0 0 X 1 X 0 0 1 0 0 0 0 X 0 X 0 1 0 0 1 0 0 X X 0 0 1 1 1 1 0 1 X X 0 1 0 0 1 0 1 X 0 0 X 1 0 1 1 0 1 X 0 0 X 1 1 0 0 1 0 X 1 X 0 1 1 1 1 0 0 X 0 X 1 Equations derived from the table above: J 1 = IQ 0 K 1 = I Q 0 J 0 = I Q 1 K 0 = IQ 1 Z = Q 1 Q 0

Sequence Detector Design Example See the logic diagram for the circuit below.

Open Collector Devices Entire upper half of output circuit is omitted. External pull-up resistor is needed. If any input is low, then Q 2 and Q 3 are cutoff and the voltage Z is high.

Open Collector Devices Can be used to drive a load, such as LEDs, relays or other device. It is important to calculate a suitable resistor R. The current through the load must not exceed I OLMax.

Open Collector Devices Wired AND Logic When two or more open-collector outputs are tied together with an external pullup resistor, the circuit behaves as if the gates were connected to an AND gate.

Open Collector Devices Common Bus Several open collector outputs may be connected together to create a common bus. The decoder, in the circuit shown below, selects which device outputs to the common bus by sending a high to the open collector output NAND gate connected to the chosen device.

Open Collector Devices To calculate the pull-up resistor of the figure in the next two pages, one must consider two cases: Only one gate is active and forces the bus voltage to be LOW, V OLTyp. All gates are disabled forcing the bus voltage to be HIGH, V OHMin.

Open Collector Devices Case when output voltage is V OLTyp. I R = I OLMax -3I ILMax R Min = V CC / I R

Open Collector Devices Case when output voltage is V OHMin. I R = 4I OHMax + 3I IHMax R Max = (V CC -V OHMin ) / I R Select: R Min R R Max

Tri-State Devices This kind of device include a third electrical state called high impedance or Hi-Z. This new state is controlled by an input control line called output enable. When this input is asserted the device behaves like a normal gate, otherwise, the output behaves like an open circuit. C' A Y 0 0 1 0 1 0 1 0 Hi-Z 1 1 Hi-Z

Tri-State Devices

Tri-State Devices One application of tri-state devices is to be used to connect several devices to a single bus. When changing which output is connected to bus one must ensure that all outputs must first go into the hi-z state thus avoiding the possibility that two outputs would be connected to the bus simultaneously.

Schmitt Trigger Gates Used for wave-shaping purposes. Level sensitive with output switching state at two distinct trigger levels, called lower trigger level V T- and upper trigger level V T+. The difference between the two trigger levels is called hysteresis ( V T+ -V T- ). Shown below is the input-output transfer characteristic.

Schmitt Trigger Gates Transforming an analog input signal into a clean square form signal.