Latches and Flip-flops

Slides:



Advertisements
Similar presentations
Registers Computer Organization I 1 September 2009 © McQuain, Feng & Ribbens A clock is a free-running signal with a cycle time. A clock may.
Advertisements

Flip-Flops Basic concepts. A. Yaicharoen2 Flip-Flops A flip-flop is a bi-stable device: a circuit having 2 stable conditions (0 or 1) A flip-flop circuit.
Tutorial 2 Sequential Logic. Registers A register is basically a D Flip-Flop A D Flip Flop has 3 basic ports. D, Q, and Clock.
Chapter 4: Combinational Logic
Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
Datorteknik DigitalCircuits bild 1 Combinational circuits Changes at inputs propagate at logic speed to outputs Not clocked No internal state (memoryless)
Computer Science 210 Computer Organization Clocks and Memory Elements.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
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”
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Computer Organization & Programming Chapter 5 Synchronous Components.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
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.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
D Flip Flop. Also called: Delay FF Data FF D-type Latches ‘Delayed 1 Clock Pulse’
July 2, 2001Systems Architecture I1 Systems Architecture II (CS 282) Lab 3: State Elements, Registers, and Memory * Jeremy R. Johnson Monday July 2, 2001.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
7. Latches and Flip-Flops Digital Computer Logic.
ECE Fall G. Byrd1 Register A register stores a multi-bit value. We use a collection of D-latches, all controlled by a common WE. When WE=1,
DIGITAL LOGIC CIRCUITS 조수경 DIGITAL LOGIC CIRCUITS.
1 Lecture 13: Sequential Circuits, FSM Today’s topics:  Sequential circuits  Finite state machines  Single-cycle CPU Reminder: midterm on Tue 10/20.
Computer Science 210 Computer Organization
Computer Architecture & Operations I
LATCHES AND FLIP-FLOPS
Computer Architecture & Operations I
Class Exercise 1B.
LATCHED, FLIP-FLOPS,AND TIMERS
Combinational circuits
מבנה מחשב תרגול 3.
Computer Architecture & Operations I
Morgan Kaufmann Publishers
ECE 3130 – Digital Electronics and Design
Lecture 8 Dr. Nermi Hamza.
Prof. Hsien-Hsin Sean Lee
Flip Flops.
Flip-flops Inputs are logically disconnected from the output in time.
Flip-Flop.
SEQUENTIAL LOGIC -II.
Latches, Flip-Flops and Registers
Flip Flop.
Computer Science 210 Computer Organization
CPE/EE 422/522 Advanced Logic Design L02
Jeremy R. Johnson Mon. Apr. 3, 2000
Figure 13.1 MIPS Single Clock Cycle Implementation.
Lecture 13: Sequential Circuits, FSM
Computer Science 210 Computer Organization
Elec 2607 Digital Switching Circuits
ECE 434 Advanced Digital System L04
Lecture 13: Sequential Circuits, FSM
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Levels in Processor Design
The Processor Lecture 3.1: Introduction & Logic Design Conventions
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
A register design with parallel load input
Levels in Processor Design
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
Levels in Processor Design
1) Latched, initial state Q =1
FLIP-FLOPS.
Sequential Logic.
Flip-Flops.
Flip Flops Unit-4.
Systems Architecture I
14 Digital Systems.
Levels in Processor Design
Chapter 5 Sequential Circuits.
Lecture 4 Sequential units. Registers
Clocks A clock is a free-running signal with a cycle time.
Presentation transcript:

Latches and Flip-flops Memory Devices Latches and Flip-flops

Clocks Regular Pulses of High and Low Voltage Triggers memory elements on level (high or low) on edge (rising or falling) high level One Clock Cycle rising edge falling edge low level

S-R Latch (Set - Reset) High Low Set Reset R Q ~ Q S

D Latch (Data Latch) Clock Q ~ Q Data In

Flip-Flop (Falling Edge Trigger) Data D-Latch Q D C D-Latch Q D C ~Q Clock How many transistors?

Register Storage for a string of bits number of bits in general register is word size Implemented as one flip-flop for each bit Output output lines are always available to be read general registers commonly selected by multiplexors Input new values may be saved only when signaled by clock select or enable line may control clock line general registers commonly selected for write by decoder

Register 8 bit example Data Out Clock Select 8 8 Data In D Q D Q D Q D

Register file 4 registers To MUX Clock 8 D C Q 8 D Q D Q D Q D Q D Q D Q D Q D Q C C C C C C C C 8 D C Q 8 D C Q From Decoder Data In 8

32x32 M U X 5x32 D e c o d %x r 5 32x32 M U X Data In 5 32 5 32 32 Clock Enable 32

MIPS Register file Reg 1 Read 5 Read Data 1 32 Reg 2 Read 5 Reg Write Write Data 32 Clock Write Enable