Clocks A clock is a free-running signal with a cycle time.

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

Synchronous Sequential Logic
Give qualifications of instructors: DAP
Computer Science 210 Computer Organization Clocks and Memory Elements.
Flip-Flops Computer Organization I 1 June 2010 © McQuain, Feng & Ribbens A clock is a free-running signal with a cycle time. A clock may be.
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /23/2013 Lecture 7: Computer Clock & Memory Elements Instructor: Ashraf Yaseen DEPARTMENT OF MATH &
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
CSCE 211: Digital Logic Design. Chapter 6: Analysis of Sequential Systems.
Lecture 22: Sequential Circuits Today’s topic –Clocks and sequential circuits –Finite state machines 1.
1  1998 Morgan Kaufmann Publishers Chapter Five The Processor: Datapath and Control.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Chapter Five The Processor: Datapath and Control.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
The Processor Andreas Klappenecker CPSC321 Computer Architecture.
COE 202: Digital Logic Design Sequential Circuits Part 1
Flip Flop
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Rabie A. Ramadan Lecture 3
Memory Intro Computer Organization 1 Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens Built using D flip-flops: 4-Bit Register Clock input.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
Feb. 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 12: State Elements, Registers, and Memory * Jeremy R. Johnson Mon. Feb.
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Sequential Logic Computer Organization II 1 © McQuain A clock is a free-running signal with a cycle time. A clock may be either high or.
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.
07/11/2005 Register File Design and Memory Design Presentation E CSE : Introduction to Computer Architecture Slides by Gojko Babić.
Lecture 23: 11/26/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 7 Latches & Flip-flops.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
1 Lecture 13: Sequential Circuits, FSM Today’s topics:  Sequential circuits  Finite state machines  Single-cycle CPU Reminder: midterm on Tue 10/20.
SIGNAL TRAINING SCHOOL – BORDER SECIRITY FORCE - TIGRI
Computer Science 210 Computer Organization
Computer Architecture & Operations I
Dr. Clincy Professor of CS
CS161 – Design and Architecture of Computer Systems
Computer Architecture & Operations I
Class Exercise 1B.
LATCHED, FLIP-FLOPS,AND TIMERS
Chapter #6: Sequential Logic Design
Clocks A clock is a free-running signal with a cycle time.
Computer Architecture & Operations I
Morgan Kaufmann Publishers
CSCE 211: Digital Logic Design
Digital Design Lecture 9
Flip Flop.
Computer Science 210 Computer Organization
Latches and Flip-flops
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
Lecture 13: Sequential Circuits, FSM
Computer Science 210 Computer Organization
Elec 2607 Digital Switching Circuits
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Lecture 13: Sequential Circuits, FSM
Instructor: Alexander Stoytchev
Computer Architecture and Organization: L02: Logic design Review
CSE 370 – Winter Sequential Logic-2 - 1
The Processor Lecture 3.1: Introduction & Logic Design Conventions
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
Synchronous sequential
Flip-Flops.
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Levels in Processor Design
SEQUENTIAL CIRCUITS __________________________________________________
CMPE212 Discussion 11/21/2014 Patrick Sykes
4-Bit Register Built using D flip-flops:
Presentation transcript:

Clocks 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. The length of time the clock is high before changing states is its high duration; the low duration is defined similarly. The cycle time of a clock is the sum of its high duration and its low duration. The frequency of the clock is the reciprocal of the cycle time. high low time rising edge falling edge Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens

State Elements A state element is a circuit component that is capable of storing a value. At the moment, we are interested primarily in state elements that store logical state information about the system, rather than data storage. A state element may be either unclocked or clocked. Clocked state elements are used in synchronous logic - When should an element that contains state be updated? - Edge-triggered clocking means that the state changes either on the rising or the falling edge. - Clock edge acts as a sampling signal that triggers the update of a state element. A signal that is to be written into a state element must be stable; i.e., it must be unchanging. If a function is to be computed in one clock cycle, then the clock period must be long enough to allow all the relevant signals to become stable. Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens

An Unclocked State Element The set-reset (SR) latch - output depends on present inputs and also on past inputs Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens

Latches and Flip-flops Output is equal to the “stored value” inside the element Assume clocked state elements are used: latch: state changes whenever the inputs change, and the clock is asserted flip-flop: state changes only on a clock edge "logically true", — could mean electrically low A clocking methodology defines when signals can be read and written — wouldn't want to read a signal at the same time it was being written Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens

Clocked D-latch Two inputs: Two outputs: - the data value to be stored (D) - the clock signal indicating when to read and store D Two outputs: - the value of the internal state (Q) and its complement Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens

Clocked D Flip-flop Here’s a schematic for a D flip-flop with a falling edge trigger: Here’s a timing diagram illustrating the behavior of the circuit above: Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens

Our Implementation An edge triggered methodology Typical execution: - read contents of some state elements, - send values through some combinational logic - write results to one or more state elements Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens

4-Bit Register Built using D flip-flops: Clock input controls when input is "written" to the individual flip-flops. However, the design above isn’t quite what we want… QTP What’s wrong with this? How can we fix it? Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens