Logic Circuits. A gate is a circuit element that operates on a binary signal.

Similar documents
DIGITAL CIRCUIT COMBINATORIAL LOGIC

EXPERIMENT #6 DIGITAL BASICS

Notes on Digital Circuits

12/31/2010. Overview. 12-Latches and Flip Flops Text: Unit 11. Sequential Circuits. Sequential Circuits. Feedback. Feedback

Lecture 8: Sequential Logic

Notes on Digital Circuits

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Switching Circuits & Logic Design

ELCT201: DIGITAL LOGIC DESIGN

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

ELCT201: DIGITAL LOGIC DESIGN

ELE2120 Digital Circuits and Systems. Tutorial Note 7

D Latch (Transparent Latch)

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Unit 11. Latches and Flip-Flops

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

Asynchronous (Ripple) Counters

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

Digital Circuits I and II Nov. 17, 1999

CHAPTER 1 LATCHES & FLIP-FLOPS

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

Sequential Logic Basics

EE292: Fundamentals of ECE

INTRODUCTION TO SEQUENTIAL CIRCUITS

Chapter 5: Synchronous Sequential Logic

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

REPEAT EXAMINATIONS 2002

Introduction to Sequential Circuits

Combinational vs Sequential

UNIT IV. Sequential circuit

Synchronous Sequential Logic

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

UNIT 11 LATCHES AND FLIP-FLOPS

Sequential Logic Circuits

COMP2611: Computer Organization. Introduction to Digital Logic

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

Engr354: Digital Logic Circuits

SEMESTER ONE EXAMINATIONS 2002

Other Flip-Flops. Lecture 27 1

WINTER 15 EXAMINATION Model Answer

RS flip-flop using NOR gate

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

Introduction to Microprocessor & Digital Logic

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Principles of Computer Architecture. Appendix A: Digital Logic

`COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

CHAPTER 11 LATCHES AND FLIP-FLOPS

Computer Architecture and Organization

Chapter 8 Sequential Circuits

MC9211 Computer Organization

CHAPTER 4: Logic Circuits

Digital Logic Design ENEE x. Lecture 19

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Flip-Flops and Sequential Circuit Design

Rangkaian Sekuensial. Flip-flop

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

Logic. Andrew Mark Allen March 4, 2012

Explosive growth over years - now dominates applications, still growing

MUX AND FLIPFLOPS/LATCHES

Switching Circuits & Logic Design

Sequential Design Basics

Chapter 1: Switching Algebra Chapter 2: Logical Levels, Timing & Delays. Introduction to latches Chapter 9: Binary Arithmetic

REPEAT EXAMINATIONS 2004 SOLUTIONS

Logic Design. Flip Flops, Registers and Counters

Final Exam review: chapter 4 and 5. Supplement 3 and 4

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Logic Symbols with Truth Tables

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

Chapter 5 Flip-Flops and Related Devices

Project 6: Latches and flip-flops

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

Sequential circuits. Same input can produce different output. Logic circuit. William Sandqvist

CHAPTER 4: Logic Circuits

Chapter. Synchronous Sequential Circuits

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous)

Vignana Bharathi Institute of Technology UNIT 4 DLD

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

Memory elements. Topics. Memory element terminology. Variations in memory elements. Clock terminology. Memory element parameters. clock.

RS flip-flop using NOR gate

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

Review of Flip-Flop. Divya Aggarwal. Student, Department of Physics and Astro-Physics, University of Delhi, New Delhi. their state.

Chapter 9 Introduction to Sequential Logic

Chapter 3. Boolean Algebra and Digital Logic

AN INTRODUCTION TO DIGITAL COMPUTER LOGIC

Synchronous Sequential Logic

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1

6. Sequential Logic Flip-Flops

Transcription:

Logic Circuits gate is a circuit element that operates on a binary signal. Logic operations typically have three methods of description:. Equation symbol 2. Truth table 3. Circuit symbol The binary levels in logic gates are called and. When levels refer to oolean expressions they are referred to as true and false. Logic levels are T=True and F=False. inary levels are =True and =False. When levels refer to electronic voltage levels they are called high and low. Logic levels are H=High and L=Low. inary levels are =High and =Low. of 2

oolean Logic oolean logic is based on the oolean algebra with two operations: ND and O. = bar over a variable or expression represents the inverse value. + = oolean algebra is commutative and distributive. = + = + ( + C) = ( ) + ( C) DeMorgan s theorem links negation and the operations. = + + = 2 of 2

Unary Operations - Input There are two unary operations. The identity operation leaves the value unchanged. Α Α in out The inverse operation reverses the value and is called NOT. Α Α in out 3 of 2

Transistor Gates single FET can form an identity,... +V DD ource uffer Follower v G If v G =, v = v G If v G = V DD,, v = v G... or an inverse. +V DD Common ource Inverter D v G If v G =, v D = V DD - v G = V DD If v G = V DD,, v D = V DD - v G = 4 of 2

5 of 2 inary Operations - 2 Inputs There are two basic binary operations. The ND operation acts like multiplication. The O operation acts like addition. + +

Compound Operations The combination of NOT and ND is NND. The combination of NOT and O is NO. + + Either NND or NO gates can be used to create other logic gates. ( ) ( ) = ( + ) + ( + ) = 6 of 2

Electronic NND The CMO implementation of a NND can be found in the 4. +V DD 2 V out 3 4 The CMO MOFETs are connected as switches. HIGH at and turn on 3 and 4 while turning off and 2. LOW at and turn on and 2 while turning off 3 and 4. If both 3 and 4 are on then V out is at ground, otherwise either or 2 will be on pulling V out up to V DD. 7 of 2

Exclusive O The exclusive or is a common comound gate. The XO selects inputs that differ. = ( + ) ( ) There are a number of equivalent logical constructions for XO. = ( ) + ( ) = ( ) ( ) 8 of 2

Logic Types There are two common types of logic gates: TTL - Transistor-Transistor Logic and CMO - Complementary Metal-Oxide-emiconductor. Properties of TTL vs. CMO Property TTL CMO Power upply 4.75 to 5.25 V 2 to 5 V Input Current LOW sources.5 m none (static charge may damage) Input Threshold.3 V.3 V DD to.5 V DD (except HCT) Output LOW -.2 V HIGH - 3.7 to 4.4 V LOW - V HIGH - V DD Power Consumption considerable minimal except at high frequency Other threshold sensitive to noise high output impednace (~ Ω) 9 of 2

Flip Flops flip-flop can be forced into one state or the other and hold it when some inputs change. The (et-eset) flip-flop is forced into one state or another with an input to ET or EET. Negative inputs are mean that the effect is active when the signal is low. ET EET The ET and EET cannot be used simultaneously or there is an ambiguous result. ET EET of 2

witch Debouncer mechanical switch will bounce on its contact and provide multiple pulses. kω +5 V flip-flop is sensitive to the first bounce, but none after until it is reset. +5 V kω kω of 2

Triggered Flip-Flops clock can be used to control which input is used. CLOCK The extra NND gates allow the CLOCK to control whether and make it to the flip-flop. If CLOCK= the inputs to the flip-flop are disabled and stays constant. If CLOCK= the inputs are active and samples and. disadvantage to the circuit is that if or change during the clock pulse, only the final state of the flip-flop is preserved when CLOCK= again. 2 of 2

D-Type Flip-Flop The D-type flip-flop is identical to a clocked flip-flop, except one input is inverted to form the other input. D CLOCK The truth table shows states where the circuit retains the previous value. CLK D With only one input the indeterminate state ( ==) is avoided. D can make many transistions while CLK =, only the last level is stored when CLK =. 3 of 2

Edge-Triggered Flip-Flops Preceding flip-flops were level-sensistive and and active when the clock level was correct. The master-slave flip-flop is an edge-sensitive trigger. This circuit consists of two level-sensitive D-type flip-flops. D CLK During CLK=, the first flip-flop is enabled, but the second is disabled (memory only). During CLK=, the first flip-flop is disabled, but the second is enabled, so it samples what ever is held at that time on flip-flop. The output can only change exactly as CLK goes from to. This is a negative edge trigger. 4 of 2

Flip-Flop Timing n edge-triggered flip-flop can be built from three flip flops. 2 3 3 3 CLK D The timing diagram shows the positive edge triggers in the statges. CLK D 2 2 5 of 2

et and Clear Inputs Most edge-triggered flip-flops come with both set and clear options that work like and from an flip-flop. D If ET=, then is forced to, and to. If CLE= (EET), then is forced to, and to. ET and CLE take effect regardless of the state of CLK. D-type flip-flops also come with ET and CLE. 6 of 2

JK Flip-Flops The JK flip-flop uses 2-input combinatoric logic with feedback to set the D input of flip-flop. D = ( J K) J + J K + J K J K D When both J and K are low then the output remains as it was. When either J or K alone are high then the output matches the state of J. When both J and K are high then the output switches state. J K The JK flip-flop also comes with ET and CLE in a single chip. 7 of 2

Dividers divider uses the negative output to toggle the output at slower rate than the input. D-type flip-flop can easily become a divide by two circuit. CLK D CLK D is always set with, so at each rising edge switches. There is no confusion at the rising edge since there is a ns propagation delay through the flipflop (74HC74), and the output needs to be stable for only 3 ns. The JK flip-flop can use the internal toggle setting to become a divide by two circuit. +5 CLK +5 J K CLK 8 of 2

Multistage Divider Multiple divide by two circuits can be combined to form a divide by 2 n circuit. +5 J J J J CLK K K K K D D D 2 D 3 Each JK flip-flop is set to divide the clock by 2. D is dividing the input clock by 2. D is dividing the input clock by 4. D 2 is dividing the input clock by 8. D 3 is dividing the input clock by 6. This can be extended to any arbitrary length. 9 of 2

Divide by 6 Truth Table C L K D D D 2 D 3 Count 2 2 3.................. 4 5 5 2 of 2