Dept. of Electrical and Computer Eng., NCTU 1 Lab 8. D-type Flip-Flop Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.

Slides:



Advertisements
Similar presentations
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Advertisements

Give qualifications of instructors: DAP
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
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 Logic Computer Organization Ellen Walker Hiram College Figures from Computer Organization and Design 3ed, D.A. Patterson & J.L. Hennessey, Morgan.
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:邱麟凱、江長庭.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
ECE 3130 – Digital Electronics and Design Lab 5 Latches and Flip-Flops Fall 2012 Allan Guan.
Unit 11 Latches and Flip-Flops Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Latches Module M10.1 Section 7.1. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
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.
Latches Section 4-2 Mano & Kime. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Latches Lecture L8.1 Section 7.1 – Book Sect. 8.1– Handout.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Objectives: Given input logice levels, state the output of an RS NAND and RS NOR. Given a clock signal, determine the PGT and NGT. Define “Edge Triggered”
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
SEQUENTIAL LOGIC By Tom Fitch. Types of Circuits Combinational: Gates Combinational: Gates Sequential: Flip-Flops Sequential: Flip-Flops.
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 4. BCD Adder Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 9. Up Counter Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
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.
Dept. of Electrical and Computer Eng., NCTU
D Flip Flop. Also called: Delay FF Data FF D-type Latches ‘Delayed 1 Clock Pulse’
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 2. NAND and XOR Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 1. Full Adder Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 7. 8-to-1 Multiplexer Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 5. 3-to-8 Decoder Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
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.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 7 Latches & Flip-flops.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 10. Up/Down Counter Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Computer Science 210 Computer Organization
ECE 3130 – Digital Electronics and Design
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
ECE 4110–5110 Digital System Design
Computer Science 210 Computer Organization
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Yee-Wing Hsieh Steve Jacobs
Sequential logic circuits
Chapter 6 -- Introduction to Sequential Devices
Computer Science 210 Computer Organization
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
1) Latched, initial state Q =1
FLIP-FLOPS.
Flip-Flops.
Flip Flops Unit-4.
Dept. of Electrical and Computer Eng., NCTU
Dept. of Electrical and Computer Eng., NCTU
Presentation transcript:

Dept. of Electrical and Computer Eng., NCTU 1 Lab 8. D-type Flip-Flop Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko Dept. of Electrical and Computer Eng., NCTU 2 Sequential Logic Circuits Status (Memory) and Timing (Clock) How to Save the Status? Latch, e.g., SR Latch Flip-Flop, e.g., D-FF (D-type Flip-Flop) LAB: IC : 7400 (NAND) x 2 、 LED x 1

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko Two Types of Logic Circuits Combinational logic circuits depends only on current inputs E.g., A + B = C Sequential logic circuits depends on past and current inputs E.g., A[n]=A[n-1]+B Dept. of Electrical and Computer Eng., NCTU 3 Memory and Clock!!

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko SR Latch Steady state results Feedback from output Dept. of Electrical and Computer Eng., NCTU 4 R S Q Q’ InputFunction S = 1 , R = 0 Set ( Q = 1 ) S = 0 , R = 1 Reset ( Q = 0 ) S = 1 , R = 1 Hold ( Q = Q ) S = 0 , R = 0 Not Allow R S Q Q’ R S Q R S Q 1 1 Q

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko SR Latch Steady state results Feedback from output Dept. of Electrical and Computer Eng., NCTU 5 (1) (2) 1 (3) R S Q Q’ InputFunction S = 1 , R = 0 Set ( Q = 1 ) S = 0 , R = 1 Reset ( Q = 0 ) S = 1 , R = 1 Hold ( Q = Q ) S = 0 , R = 0 Not Allow R S Q Q’ R S Q R S Q 1 1 Q 1 (4) 0 (1) (2) 1 (3) 1 (4) 0 (1) 0/1 (2) 0/1 (3) 1/0 (4) 1/0 A NAND 1 = A’

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko Timing: Clock Input When to set and reset How to synchronize devices with memory Positive (rising) edge triggered Negative (falling) edge triggered Dept. of Electrical and Computer Eng., NCTU 6 time

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko Flip Flops Using clock input to determine the status changing Different types of Flip-Flop SR (Set and Reset) D (Input = Output), T (Input != Output) JK (When S=0, R=0, Q=Q’) Trigger type Rising(positive)-edge Falling(negative)-edge Dept. of Electrical and Computer Eng., NCTU 7

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko LAB 8: Implement a D-FF with NAND gates Goal: D-type positive edge triggered Flip-Flop IC : 7400 (NAND) x 2 、 LED x 1 Dept. of Electrical and Computer Eng., NCTU 8 CLKInputStateOutput 0->0DSS 0->1DSD 1->1DSS 1->0DSS

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko CLK: 0->1, S = D, R = D’; otherwise, R=1, S=1 Dept. of Electrical and Computer Eng., NCTU R S D Clock Q Q’ SR Latch

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko Dept. of Electrical and Computer Eng., NCTU 10 R S D Clock Clock = 1, D: X->X’ R S D Clock Clock: 0->1 R S D Clock Clock = X’ X 0->1 1->X’ 1->X X’ X X 1 X X’->1 X->X X X->X’ S, R = 1  Hold S = X, R = X’  Set the latch as X S, R will not change with D

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko How to implement 3-input NAND gate? Dept. of Electrical and Computer Eng., NCTU R S D Clock Q Q’ How to realize 3-inputs NANDs with 2-inputs NANDs? 3

Logic DesignLab 8. D-type Flip-FlopChun-Hsien Ko You can connect output of 555 to a buffer Oscillator would be more stable E.g., connect output of 555 to an inverter or AND output of 555 with signal 1 Dept. of Electrical and Computer Eng., NCTU Calculator (Website) + -