Systems Architecture I

Slides:



Advertisements
Similar presentations
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Advertisements

Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Computing Machinery Chapter 5: Sequential Circuits.
Lecture 22: Sequential Circuits Today’s topic –Clocks and sequential circuits –Finite state machines 1.
Chapter 3 Digital Logic Structures
EE42/100 Fall 2005 Prof. Fearing 1 Week 12/ Lecture 22 Nov. 17, Overview of Digital Systems 2.CMOS Inverter 3.CMOS Gates 4.Digital Logic 5.Combinational.
CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Sequential Circuits.
Overview Recall Combinational Logic Sequential Logic Storage Devices
Computer ArchitectureFall 2008 © September 17th, 2008 Majd F. Sakr CS-447– Computer Architecture.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
Sequential logic and systems
Lecture 10 Topics: Sequential circuits Basic concepts Clocks
Computer Science 210 Computer Organization The von Neumann Architecture.
Introduction to Computer Engineering ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Lec 3bSystems Architecture1 Systems Architecture Lecture 3b: Review of Sequential Logic Circuits Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan.
Computer Organization & Programming Chapter 5 Synchronous Components.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Complete Example.
Chapter 3 Digital Logic Structures. 3-2 Combinational vs. Sequential Combinational Circuit always gives the same output for a given set of inputs  ex:
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Latches & Flip-Flops.
SEQUENTIAL LOGIC By Tom Fitch. Types of Circuits Combinational: Gates Combinational: Gates Sequential: Flip-Flops Sequential: Flip-Flops.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
September 26, 2001Systems Architecture I1 Systems Architecture I (CS ) Lecture 2: Implementation of a Simplified Computer Jeremy R. Johnson Wednesday,
Lecture 7: Sequential Networks CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer Science and Engineering.
Registers; State Machines Analysis Section 7-1 Section 5-4.
Logic Design / Processor and Control Units Tony Diep.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
A sequential logic circuit (a.k.a. state machine) consists of both combinational logic circuit(s) and memory devices (flip flops). The combinational circuits.
July 2, 2001Systems Architecture I1 Systems Architecture II (CS 282) Lab 3: State Elements, Registers, and Memory * Jeremy R. Johnson Monday July 2, 2001.
Jeremy R. Johnson William M. Mongan
May 22, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 14: A Simple Implementation of MIPS * Jeremy R. Johnson Mon. May 17, 2000.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
5.3 Sequential Circuits - An Introduction to Informatics WMN Lab. Hey-Jin Lee.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
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
Class Exercise 1B.
Today’s Agenda Exam 2 Part 2 (11:15am-12:30pm)
CS 270: Mathematical Foundations of Computer Science
Digital Logic & Design Dr. Waseem Ikram Lecture 39.
Computer Science 210 Computer Organization
Sequential Logic Counters and Registers
Prof. Hsien-Hsin Sean Lee
Digital Design Lecture 9
Dr. Clincy Professor of CS
Jeremy R. Johnson Wed. Sept. 29, 1999
Computer Science 210 Computer Organization
Simple Processor Control Unit
Chapter 11 Sequential Circuits.
Latches and Flip-flops
Jeremy R. Johnson Mon. Apr. 3, 2000
Computer Science 210 Computer Organization
Lecture 13: Sequential Circuits, FSM
Computer Science 210 Computer Organization
Lecture 13: Sequential Circuits, FSM
Systems Architecture I (CS ) Lecture 2: A Simplified Computer
Computer Architecture and Organization: L02: Logic design Review
CSE 370 – Winter Sequential Logic-2 - 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Dr. Clincy Professor of CS
Systems Architecture I
Electronics for Physicists
Combinational Circuits
Sequential Logic.
Switching Theory and Logic Design Chapter 5:
Flip-Flops.
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Levels in Processor Design
Outline Registers Counters 5/11/2019.
FLIP-FLOP. The basic memory circuit is known as Flip-flop. OR It is a bistable sequential circuit which has two stable state (set & reset) and can be.
Presentation transcript:

Systems Architecture I September 4, 1997 Systems Architecture I (CS 281-001) Lecture 3b: Review of Sequential Logic Circuits Jeremy R. Johnson Oct. 1, 2001 Oct. 1, 2001 Systems Architecture I

Systems Architecture I September 4, 1997 Introduction Objective: To understand how data can be stored in a computer. Sequential vs. Combinational Logic Flip-flop Timed flip-flop Implementing computer memory Review of the simple computer model References: Dewdney, The New Turing Omnibus (Chapter 38 and 48) and Sec. B4-B7 of the text. Oct. 1, 2001 Systems Architecture I

Combinational vs. Sequential Circuits September 4, 1997 Combinational vs. Sequential Circuits A combinational circuit is a logic circuit without any loops. The same outputs are always computed for the same inputs. A sequential circuit contains two-state memory elements which can remember the state over time. The outputs depend on both the inputs and the current state. The state changes over time which is marked off in discrete steps by pulses emanating from a clock. The pulses coordinate activity. Oct. 1, 2001 Systems Architecture I

Systems Architecture I September 4, 1997 Flip-Flop (SR-Latch) A sequential logic circuit with two states. The two states are (Q=0, Q’=1) and (Q=1,Q’=0) Provided the input (R = 0, S = 0) is not allowed, the flip-flop can only be in one of these two states. Q Q’ S R Oct. 1, 2001 Systems Architecture I

Systems Architecture I September 4, 1997 Flip-Flop States The state (Q=0,Q’=1) corresponds to storing a 0. The state (Q=1,Q’=0) corresponds to storing a 1. If S (set) is 1, then the state is set to 1. If R (reset) is 1, then the state is set to 0. If R & S are 1, the state does not change. Old Q R S Q’ Next Q 0 1 1 1 0 0 1 0 1 0 0 0 1 1 1 1 1 1 0 1 1 1 0 0 0 1 0 1 0 1 Q Q’ S R Oct. 1, 2001 Systems Architecture I

Systems Architecture I September 4, 1997 Flip-Flop States The transitions of the flip-flop are conveniently described in the following state transition diagram (finite state machine). The arcs are labeled by the RS inputs that cause the transition. In the diagram, state 0 is when Q = 0 and Q’ = 1, and state 1 is when Q = 1 and Q’ = 0. 1 10 01 11 Oct. 1, 2001 Systems Architecture I

Systems Architecture I A Clocked Flip-Flop R Q clock Q’ S Oct. 1, 2001 Systems Architecture I

Systems Architecture I N-bit Register A state variable containing N-bits Built from an array of N flip-flops State changes when load selected and the clock is high Oct. 1, 2001 Systems Architecture I

Systems Architecture I N-bit Register R Q S Q’ X1 R Q S Q’ X2 load clock Oct. 1, 2001 Systems Architecture I

Systems Architecture I Memory Cell read = 1/write = 0 R Q S Q’ input output select Oct. 1, 2001 Systems Architecture I

Systems Architecture I Memory Input N = 2k words each l bits Inputs k address bits l data-in bits (for write) flag to select read /write Outputs l data-out bits (for read) Built from N  l array of memory cells input, output, flag, select Decoder used to decode address Memory Address Output R/W Oct. 1, 2001 Systems Architecture I

Systems Architecture I Memory D e c o d r input output read/write 1 7 Oct. 1, 2001 Systems Architecture I

Systems Architecture I September 4, 1997 LOAD READ/ WRITE MAR Memory LOAD PC INC MUX s 0 1 2 3 LOAD IR(C) IR(O) LOAD MUX MBR 1 s Decoder 1 2 3 MUX LOAD q9 q8 q7 q6 q5 q4 q3 q2 q1 q0 x13 x12 x11 x10 x9 x8 x7 x6 AC x1 x2 x3 x4 x5 s MUX 1 ALU s LOAD AD t9 t8 t7 t6 t5 t4 t3 t2 t1 t0 INC CLEAR Decoder T Oct. 1, 2001 Systems Architecture I