Fundamentals of Digital Logic B. Furman 25NOV2014.

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
1 Kuliah Rangkaian Digital Kuliah 8: Rangkaian Logika Sekuensial Teknik Komputer Universitas Gunadarma.
Sequential Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Sequential Logic Latches & Flip-flops
1 Chapter 8 Flip-Flops and Related Devices. 2 Figure 8--1 Two versions of SET-RESET (S-R) latches S-R (Set-Reset) Latch.
1 EE121 John Wakerly Lecture #8 Sequential Circuits Flip-flops Sequential PALs.
EET 1131 Unit 10 Flip-Flops and Registers
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Figure 7–1 Two versions of SET-RESET (S-R) latches
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
ECE 511: Digital System & Microprocessor. Course Outline WeekSubject W1-W2Digital Logic Review W2-W3Microprocessor Architecture & Overview W3-W6Microprocessor.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
ETE Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB.
COE 202: Digital Logic Design Sequential Circuits Part 1
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Introduction to Sequential Logic Design Flip-flops.
© The McGraw-Hill Companies, Inc McGraw-Hill 1 PRINCIPLES AND APPLICATIONS OF ELECTRICAL ENGINEERING THIRD EDITION G I O R G I O R I Z Z O N I 14.
System Arch 2008 (Fire Tom Wada) /10/9 Field Programmable Gate Array.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Flip-Flops and Registers
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
Basic Sequential Components CT101 – Computing Systems Organization.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Introduction to Sequential Logic
1 Digital Fundamentals Chapter 8 Flip-Flops and Related Devices Resource: CYU / CSIE / Yu-Hua Lee / Not made by Engr. Umar Talha,
ECE 511: Digital System & Microprocessor. Course Outline WeekSubject W1Digital Logic Review W2-W3Microprocessor Architecture & Overview W3-W6Microprocessor.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
EKT 121 / 4 ELEKTRONIK DIGIT I
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
 Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.
A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. The S-R (Set-Reset) latch is the most basic.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Dept. of Electrical Engineering
7. Latches and Flip-Flops Digital Computer Logic.
EEE 301 DIGITAL ELECTRONICS
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas.
1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section.
CS1103 Arunima Shukla Asim Marchant Urja Kantharia Harsh kosambia Digital Electronics Mini Project.
Sequential Logic Design
LATCHED, FLIP-FLOPS,AND TIMERS
Flip Flops.
Flip Flops.
Flip Flop.
Flip-FLops and Latches
ECE Digital logic Lecture 16: Synchronous Sequential Logic
FLIP-FLOPS.
Flip-Flops.
14 Digital Systems.
Presentation transcript:

Fundamentals of Digital Logic B. Furman 25NOV2014

Mechatronics Concept Map System to Control Sensor Signal Conditioning Controller (Hardware & Software) Power Interface Actuator User Interface Power Source BJ Furman 26JAN06 ME 106 ME 154 ME 157 ME 195 ME 120 ME 297A ME 106 ME 120 ME 106 ME 190 ME 187 ME 110 ME 136 ME 154 ME 157 ME 182 ME 189 ME 195 ME 106 ME 120 ME 106 EE 118 INTEGRATION

Digital Logic Combinatorial Logic  The combination of logic states (0’s and 1’s) at the inputs of logic gates (digital logic elements) determines the output state according to the logic function. AND, OR, NOT, XOR NAND, NOR  Ex BCD-to-7-segment decoder; ‘enable’ inputs Ex BCD-to-7-segment decoder; ‘enable’ inputs Sequential Logic  The combination of input logic states and their sequencing determines the output state Flip-flops  Ex. Computer memory, microcontroller registers

Review of Logic Functions AND, OR, NOT, XOR, NAND, NOR

Truth Tables for Logic Functions Logic FunctionOR ABZ Logic FunctionAND ABZ Logic FunctionNOR ABZ Logic FunctionNAND ABZ Logic FunctionNOT AZ Logic FunctionXOR ABZ

Boolean Algebra Laws and Identities See the handout

All logic functions can be formed from NAND or NOR gates alone

Demorgan’s Theorem You can swap shapes (AND or OR), if at the same time you invert all inputs and outputs.

Combinatorial Logic The three logic functions, AND, OR, and NOT can be used to build any digital device NAND gates or NOR gates are universal, i.e., can be used to construct the three logic functions, hence any digital device  Ex. Z A

Internal Construction – Inverter (TTL) (Source: inputoutput Logic FunctionNOT AZ AZ

Inverter Operation Input High (1)Input Low (0) 5 V 0 V (Source:

CMOS Inverter

Logic Chips - c. 1960’s and 1970’s Multi-input versions exist  Examples: 7421 Dual 4-input AND 74LS00 Quad 2-input NAND

Logic Chips c – pres. Programmable logic devices (PLD)  Programmable Array Logic (PAL)  Generic Array Logic (GAL) Lattice Semiconductor c Erasable and reprogrammable PAL device  Complex Programmable Logic Device (CPLD) More gates than PALs and GALS  Field Programmable Gate Array (FPGA)

Field Programmable Gate Array (FPGA) A ‘programmable’ digital logic device  You define the logic functions in a Hardware Descriptor Language (HDL)  Compile the HDL description into a binary file  Download the binary to the FPGA device  Voila! You have a device that will execute your logic function For more information: 

Combinatorial Logic Circuit Design Vote counting circuit

Digital Logic Families See the handout

Sequential Logic Output based on input values and their sequencing  timing is important!  Will often use trigger signals, called ‘clock’ (Clk) signals to trigger events Flip-Flops (also known as bi-stables or latches)  Devices that can store and switch between binary states, 0 and 1  Fundamental building block of all semiconductor memory and processing in digital computers  Made up of logic gates with feedback (some outputs are fed back to inputs of other gates)

R-S Flip-Flop S stand for ‘set’ R stands for ‘reset’ Q and Qbar are complementary outputs t prop is the ‘ propagation delay time ’, which is the time it takes the logic gate to change its output state following a change in the state of the input. InputsOutputs SRQ 00Q 0 (1) (0) NA R SQ NA means ‘not allowed’ R S Q R S t prop (inverter) t prop (NAND) Time Q t prop (NAND)

Triggering Flip-Flops Often important to synchronize changes on a clock signal Types of clock signals to trigger on:  Level (no ‘wedge’ symbol. If no bubble, active HIGH. With bubble, active LOW)  Negative edge (bubble+wedge): 1  0 transition  Positive edge (wedge): 0  1 transition InputsClkOutputs SR  Q 00  Q0Q0 10   01 11NA R SQ Clk NA means ‘not allowed’  means activated on rising edge of clock signal (positive edge) Negative Edge-Triggered R-S Flip-Flop Active-HIGH (level triggered) R-S Flip-FlopActive-LOW (level triggered) R-S Flip-Flop

Other Types of Flip-Flops - 1 D Flip-Flop (ex. 7474) Clk DQ Preset Clear PresetClearDClkQ 110   10 11x0Q0Q0 11x1Q0Q0 01xx10 10xx01 00xxNA Single input is stored and presented to Q on edge of clock pulse Ex. Positive edge- triggered D flip-flop Preset pulled low (“active low”) will set Q to 1 Clear pulled low (“active low”) will clear or reset Q to 0 Scherz, Practical Electronics for Inventors, p. 688 What are ‘preset’ and ‘clear’? Truth Table

Other Types of Flip-Flops - 2 JK Flip-Flop (ex. 7476) Clk JQ Preset Clear K PresetClearJKClkQ 1100  Q0Q    Toggle 11xx0, 1Q0Q0 01xxx10 10xxx01 00xxxNA Positive edge-triggered JK flip-flop Like RS flip-flop, where J is like S and K is like R, but can have both J and K high. This will cause output to toggle (change state) Scherz, Practical Electronics for Inventors, p. 692 Truth Table

Sequential Logic Applications - 1 Figure from Alciatore, D. G., and Histand, M. B. Introduction to Mechatronics and Measurement Systems, 2 nd ed., McGraw-Hill, NY.

Sequential Logic Applications - 2 Figure from Alciatore, D. G., and Histand, M. B. Introduction to Mechatronics and Measurement Systems, 2 nd ed., McGraw-Hill, NY.

Sequential Logic Applications - 3 Figure from Alciatore, D. G., and Histand, M. B. Introduction to Mechatronics and Measurement Systems, 2 nd ed., McGraw-Hill, NY. PresetClearJKClkQ 1100  Q0Q    Toggle 11xx0, 1Q0Q0 01xxx10 10xxx01 00xxxNA

Sequential Logic Applications - 4 Figure from Alciatore, D. G., and Histand, M. B. Introduction to Mechatronics and Measurement Systems, 2 nd ed., McGraw-Hill, NY. A ‘T’ flip-flop is essentially a JK flip-flop with J and K inputs tied HIGH and the clock input tied to the T input

555 Timer IC See handout  Uses a flip-flop  Many applications Precision timing Pulse generation Sequential timing Time delay generation PWM

7447 BCD to 7-segment Decoder