Lecture 7: Digital Logic

Similar documents
Logic diagram: a graphical representation of a circuit

Gates and Circuits 1

4-bit counter circa bit counter circa 1990

Chapter 1: Digital logic

Lecture 3: Transistors

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

4-bit counter circa bit counter circa 1990

Chapter 6 Digital Circuit 6-6 Department of Mechanical Engineering

Chapter 4 Combinational Logic Circuits

Transistor Digital Circuits

Digital Integrated Circuits - Logic Families (Part II)

Chapter 4 Combinational Logic Circuits

Basic Logic Circuits

Lecture 2: Digital Logic Basis

Digital Systems Principles and Applications TWELFTH EDITION. 3-3 OR Operation With OR Gates. 3-4 AND Operations with AND gates

Function Table of an Odd-Parity Generator Circuit

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

Physics 335 Lab 1 Intro to Digital Logic

Digital Logic Circuits

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

Lecture 9 Transistors

ECE/CoE 0132: FETs and Gates

Abu Dhabi Men s College, Electronics Department. Logic Families

BOOLEAN ALGEBRA AND LOGIC FAMILIES

Gates and and Circuits

Use the fixed 5 volt supplies for your power in digital circuits, rather than the variable outputs.

Veer Narmad South Gujarat University, Surat

Lecture 15 Analysis of Combinational Circuits

Odd-Prime Number Detector The table of minterms is represented. Table 13.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

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 4: Combinational Logic Circuits. Name: Date:

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 1 Logistics

ECE 334: Electronic Circuits Lecture 10: Digital CMOS Circuits

Approximate Hybrid Equivalent Circuits. Again, the impedance looking into the output terminals is infinite so that. conductance is zero.

Name: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.

Digital logic families

LSN 3 Logic Gates. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

Chapter 3 Digital Logic Structures

Exercise 2: OR/NOR Logic Functions

ECE380 Digital Logic

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

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

Introduction to Electronic Devices

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

Architecture of Computers and Parallel Systems Part 9: Digital Circuits

Transistors, Gates and Busses 3/21/01 Lecture #

QUIZ. What do these bits represent?

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

Shorthand Notation for NMOS and PMOS Transistors

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3

Shown here is a schematic diagram for a real inverter circuit, complete with all necessary components for efficient and reliable operation:

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

4 Transistors. 4.1 IV Relations

Due date: Sunday, November 8 (midnight) Reading: HH sections , (pgs , )

Chapter 6: Transistors and Gain

Chapter 1 Semiconductors and the p-n Junction Diode 1

Introduction to CMOS VLSI Design (E158) Lecture 5: Logic

LogicBlocks & Digital Logic Introduction a

INTRODUCTION TO DIGITAL CONCEPT

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

Chapter 3 Describing Logic Circuits Dr. Xu

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

CS302 - Digital Logic Design Glossary By

UNIT E1 (Paper version of on-screen assessment) A.M. WEDNESDAY, 8 June hour

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

Logic Design I (17.341) Fall Lecture Outline

ELECTRONICS WITH DISCRETE COMPONENTS

R.B.V.R.R. WOMEN S COLLEGE (AUTONOMOUS) Narayanaguda, Hyderabad. ELECTRONIC PRINCIPLES AND APPLICATIONS

University of Technology

DIGITAL ELECTRONICS GATE FUNDUMENTALS

Digital Electronics Part II - Circuits

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

LogicBlocks & Digital Logic Introduction

Digital Fundamentals. Lab 4 EX-OR Circuits & Combinational Circuit Design

Synthesis of Combinational Logic

Chapter 3 Digital Logic Structures

DC Electrical Characteristics of MM74HC High-Speed CMOS Logic

OBJECTIVE TYPE QUESTIONS FOR PRACTICAL EXAMINATION Subject : Electronics-I ( EC 112)

UNIVERSITI MALAYSIA PERLIS

LOGIC FAMILY LOGIC FAMILY

Electronic Circuits EE359A

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

EXPERIMENT 5 Basic Digital Logic Circuits

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

Schmitt Trigger Inputs, Decoders

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

Multiple input gates. The AND gate

This Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.

Digital Electronic Concepts

Electrical and Electronic Principles

Stepper motors. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Subject: Analog and Digital Electronics Code:15CS32

CHAPTER FORMULAS & NOTES

Unit level 4 Credit value 15. Introduction. Learning Outcomes

EECE 143 Lecture 0: Intro to Digital Laboratory

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

ECE380 Digital Logic

Experiment (1) Principles of Switching

Transcription:

Lecture 7: Digital Logic Last time we introduced the concept of digital electronics i.e., one identifies a range of voltages with the value, and another range with the value But we didn t specify these ranges or how fast we can expect the output to switch between and or how much power it takes to do so or how much power the circuit outputs or. All of these parameters depend on how the digital signals are generated Different ways of doing this are called logic families Currently, there are two families in common use: TTL (Transistor-transistor logic) CMOS (Complementary MOSFET)

TTL This family is built around the bipolar junction transistor Start with a common-emitter circuit: If the input voltage is : transistor is cut off output voltage is RL Vout = V R + R CC If the input voltage is high (~V CC ) L transistor is saturated output voltage is ~.7V C

So this looks like a useful digital circuit if performs the logical operation NOT But there are problems we want the high output to be close to V CC means R C should be small we don t want the circuit to consume a lot of power meaning we don t want to pump a lot of current through it means R C should be large! A somewhat more complicated circuit is required to meet our design goals

Real TTL circuit Here s how to really make a NOT circuit in TTL Note that the input goes into the emitter, not base, of transistor Q Q acts like a pair of diodes If In is (~V CC ), the baseemitter diode will be reversebiased Current flows toward Q 2 s base, turning it ON If In is, no current flows toward Q 2 so Q 2 is OFF

If Q 2 is OFF, current from R 2 must flow toward Q 3, turning it ON Q 4 is OFF, since no current can flow into its base If Q 2 is ON, then the effective resistance of Q 2 becomes small which means the base-emitter voltage for Q 3 is below cutoff, so Q 3 is OFF but Q 4 is ON With Q 4 ON, the output is close to V (plus a diode drop) With Q 4 OFF, the output is close to V CC (minus two diode drops) We can summarize the behavior as: In Q ON OFF Q 2 OFF ON Q 3 ON OFF Q 4 OFF ON Out

As advertised, this is a NOT operation But due to the diode drops, the output isn t or V CC (usually 5V) more like.6v for, and 3.6V for Note also this this circuit will draw current This constant power draw is characteristic of TTL But TTL has good features as well fast switching between and ability for output to drive ~ other TTL devices TTL devices typically have part numbers beginning with 74. Some variants are: 74S4: Schottky TTL: faster than standard TTL, but draws more power 74LS4: Low-power Schottky 74ALS4: Advanced low-power Schottky: faster and lower power than standard TTL

CMOS CMOS uses MOSFETs rather than bipolar junction transistors to implement logic As we learned earlier, FETs draw no current so CMOS devices use no power except transient surges when switching output levels that s important for battery-powered devices! output levels are very close to V and 5V Downside: early versions were very sensitive to static (it s easier to break a MOSFET than a bipolar junction transistor) now diodes offer some input protection also was originally much slower than TTL

Part numbers for a few CMOS variants: 4: Original line 74C: pin compatible with 74 TTL, but slower 74HC: as fast as TTL, but less power 74HCT: interchangeable with TTL (pins and output levels) 74ALCV: Advanced low voltage CMOS. Runs on 3.3V. 74AVC: Advanced very low voltage CMOS. Runs on 2.5V 74AUC: Advanced ultra low voltage CMOS. Runs on.8v

Digital Logic Circuits that perform logical operations (logic gates) are at the heart of much of digital electronics computers, for example, make heavy use of logic gates The input/ouput characteristics and schematic symbols for some logic gates are: AND gate: A B C

OR gate A B C NOT gate: A B NAND gate: A B C

NOR gate: A B C XOR gate: A B C

Boolean Algebra In the mathematics of digital electronics, there are only two numbers ( and ) This mathematics is called Boolean algebra, and it has its own special notation: AND is represented by or no symbol at all A AND B = A B = AB OR is represented by + NOT is represented by an overline: Boolean algebra is: communicative: AiB = distributive: BiA A + B = B + A ( ) Ai B + C = AiB + AiC NOT A = A

and associative: ( ) ( ) ( ) = ( A B) C A + B + C = A + B + C Ai BiC i i Some other rules: Ai = Ai = A + = A A + = Ai A = A A + A = A Ai A = A + A =

DeMorgan s Theorems We can often simplify Boolean expressions by using DeMorgan s Theorems, which state that: AiB = A + B A + B = AiB We can prove these by using truth tables to compare the results of the two operations, for example: A B AiB A + B

DeMorgan s Theorems are true no matter how many inputs are involved i.e., AiBiC = A + B + C They can be summarized as for expressions with a bar over a combination of inputs:. break up the bar to go over each input individually 2. convert OR to AND and AND to OR In terms of gates, we can express DeMorgan s Theorems as:

Universal Gates All logical operations can be performed using combinations of NAND and NOR gates these are called universal gates This fact can be useful if your circuit needs an inverter (NOT gate), but all you have available is a NAND you can just do:

Karnaugh Mapping Another way to discover simplified Boolean expressions is Karnaugh mapping As an example, we ll apply this method to the following truth table: Output C B A

Start with a table listing some of the inputs across columns, and the rest down the rows can be in any order we want, except that only one bit can change between adjacent rows or columns Place the output of the truth table in each space in the table The following will work: AB C

The shaded cells in the map show that all the s are grouped into a cluster don t be confused by the fact that there seem to be two clusters on different sides of the table Karnaugh maps don t have any edges, so we just wrap around the ends of the table Whenever this happens, it means we can simplify the logic We can divide our cluster into three smaller clusters, shown below AB C Cluster 3 Cluster 2 Cluster

From cluster, we see that the output is whenever A and B are both i.e., Output = AiB From cluster 2, we see that the output is whenever B is and C is i.e., Output = BiC Finally from cluster 3, we see that the output is whenever A is and C is i.e., Output = AiC We can put this together to find the Boolean expression corresponding to our truth table: Output = AiB + CiB + AiC ( ) = A + C ib + AiC

Now that we ve found a Boolean expression for our truth table, we can readily design a circuit that behaves the way we want: