CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Sequential Circuits.

Slides:



Advertisements
Similar presentations
컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
Advertisements

Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
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)
1 Lecture 14 Memory storage elements  Latches  Flip-flops State Diagrams.
Give qualifications of instructors: DAP
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
1 Lecture 20 Sequential Circuits: Latches. 2 Overview °Circuits require memory to store intermediate data °Sequential circuits use a periodic signal to.
Sequential Logic Computer Organization Ellen Walker Hiram College Figures from Computer Organization and Design 3ed, D.A. Patterson & J.L. Hennessey, Morgan.
Circuits require memory to store intermediate data
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
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.
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.
Overview Logic Combinational Logic Sequential Logic Storage Devices SR Flip-Flops D Flip Flops JK Flip Flops Registers Addressing Computer Memory.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
CS3350B Computer Architecture Winter 2015 Lecture 5.2: State Circuits: Circuits that Remember Marc Moreno Maza [Adapted.
Digital Computer Design Fundamental
EECS 370 Discussion 1 xkcd.com. EECS 370 Discussion Topics Today: – Floating Point – Finite State Machines – Combinational Logic – Sequential Logic 2.
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
Basic Sequential Components CT101 – Computing Systems Organization.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
Computer Architecture Lecture 4 Sequential Circuits Ralph Grishman September 2015 NYU.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Review of Digital Logic Design Concepts OR: What I Need to Know from Digital Logic Design (EEL3705)
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 –
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
Jeff Yi CS 147. Circuits  Combinatorial – Circuit that only relies on inputs.  Sequential - Circuit determined by input as well as the previous state.
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.
Sequential Logic Flip-Flop Circuits By Dylan Smeder.
Latches, Flip Flops, and Memory ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin – Madison.
COMBINATIONAL AND SEQUENTIAL CIRCUITS Guided By: Prof. P. B. Swadas Prepared By: BIRLA VISHVAKARMA MAHAVDYALAYA.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Sequential Logic Design
Computer Science 210 Computer Organization
Class Exercise 1B.
Chapter #6: Sequential Logic Design
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Overview Introduction Logic Gates Flip Flops Registers Counters
Computer Science 210 Computer Organization
Yee-Wing Hsieh Steve Jacobs
Jeremy R. Johnson Mon. Apr. 3, 2000
CS Fall 2005 – Lec. #5 – Sequential Logic - 1
Computer Science 210 Computer Organization
Elec 2607 Digital Switching Circuits
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Registers and Counters
CSE 370 – Winter Sequential Logic - 1
FIGURE 10.1 Rectangular‐shape graphic symbols for gates
CSE 370 – Winter Sequential Logic-2 - 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
The Processor Lecture 3.1: Introduction & Logic Design Conventions
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
FLIP-FLOPS.
Sequential Logic.
Flip Flops Unit-4.
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
FLIPFLOPS.
Lecture 4 Sequential units. Registers
Instructor: Michael Greenbaum
Presentation transcript:

CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Sequential Circuits

A Mystery Circuit Consider this circuit:

Sequential Circuits We've just seen a "flip flop" – a 1 bit memory. Circuits that use memory are called "sequential". Note that you don't know what the output is based on just the inputs! R' S'Q Q'

Adding A Clock RS Flipflop as before Clock disables input – 1 = follow D, 0 = memory Input Data

An Edge Triggered D Flip-Flop Master Slave Opposite Clocks Note: And gates should be NAND!

A 1 Bit Memory What you've just seen is a 1 bit memory. Inputs: * Data: Value to remember * Clock: at the rising (falling?) edge of the clock, whatever value is in the data wire is clocked in. This only changes output on the clock edge!

Clocks A clock is the “heartbeat” a computer. The signal on a wire carries a new value at each clock. The clock determines the flow rate of information along a wire. If you want information to flow faster you use more wires (bits) or a faster clock. A simple processor uses a single clock for everything in the processor – more complex ones have multiple clocks.

Finite State Machines Inputs: a set of wires: i 1, i 2, … i m Outputs: a set of wires: o 1, o 2, …, o n State: a set of D flip flops: s 1, s 2, … s 0 The state can also be part of the output. Use a truth table to define all outputs and the data input to each flip-flop. We can always represent the operation of this circuit as a state machine. Note that the clock is usually left implicit – all of the flip-flops share a common clock

Example: A 2-Bit Counter Input: "reset" Outputs: counter value (s0 and s1) Truth table: Let's draw this circuit rs0s1s0's1' 1dd

Creating a State Machine * Determine inputs and outputs * Use enough flip-flops to encode all possible states * Assign states to flip-flop configurations The optimal encoding of states is the one that minimizes the switching logic. This is the sort of thing you need a computer for!

Sequential Circuits Why sequential circuits? They allow us to avoid the "unsynchronized" world of combinatory circuits where signal propagation is observable. We set the clock so that all outputs in the combinatory part of the circuit are stable before new data is clocked into the flip-flops.

Sequential Design Patterns A "register" is just a bunch of flip flops that shares a common clock (load signal). A "Ram" is just a multiplexed collection of registers. Let’s see what a RAM looks like. A "Shift register" is one in which there is a data path leading between the bits. Let's design a shift register.

Memory Structure * XY Decoding * Read / write signals * Use of tri-state logic to express "implicit" or gates