EECS 370 Discussion 1 xkcd.com. EECS 370 Discussion Topics Today: – Floating Point – Finite State Machines – Combinational Logic – Sequential Logic 2.

Slides:



Advertisements
Similar presentations
Chapter 4: Combinational Logic
Advertisements

Lecture 13: Sequential Circuits
컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
Datorteknik DigitalCircuits bild 1 Combinational circuits Changes at inputs propagate at logic speed to outputs Not clocked No internal state (memoryless)
1 Introduction Sequential circuit –Output depends not just on present inputs (as in combinational circuit), but on past sequence of inputs Stores bits,
Latches CS370 –Spring 2003 Section 4-2 Mano & Kime.
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Chapter 1 — Computer Abstractions and Technology — 1 Lecture 7 Carry look ahead adders, Latches, Flip-flops, registers, multiplexors, decoders Digital.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
Sequential Logic Computer Organization Ellen Walker Hiram College Figures from Computer Organization and Design 3ed, D.A. Patterson & J.L. Hennessey, Morgan.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
Logic Circuits Another look at Floating Point Numbers Common Combinational Logic Circuits Timing Sequential Circuits Note: Multiplication & Division in.
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
Review and Overview. Review  Combinational logic circuit – Decoder, Encoder, Multiplexer, De-multiplexer, Full Adder, Multiplier  Sequential logic circuit.
Latches Module M10.1 Section 7.1. Sequential Logic Combinational Logic –Output depends only on current input Sequential Logic –Output depends not only.
CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Sequential Circuits.
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
ECE 301 – Digital Electronics
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
1 Chapter 5: Datapath and Control CS 447 Jason Bakos.
4-bit adder, multiplexer, timing diagrams, propagation delays
ETE Digital Electronics Latches and Flip-Flops [Lecture:12] Instructor: Sajib Roy Lecturer, ETE, ULAB.
ReVieW Combinational & Sequential Logic Circuit EKT 221 / 4 DIGITAL ELECTRONICS II.
Synchronous Counters ET 5. Thinking back In the past we have seen that asynchronous counters can be used to count binary in the order that we have filled.
ECE 3130 – Digital Electronics and Design
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.
Rabie A. Ramadan Lecture 3
WEEK #10 FUNCTIONS OF COMBINATIONAL LOGIC (ADDERS)
Multiplexers 1 The output is equal to one of several input signals to the circuit The multiplexer selects which input signal to use as an output signal.
Chapter 2Basic Digital Logic1 Chapter 2. Basic Digital Logic2 Outlines  Basic Digital Logic Gates  Two types of digital logic circuits Combinational.
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
Sequential Design Basics. Lecture 2 topics  A review of devices that hold state A review of Latches A review of Flip-Flops 8/22/2012 – ECE 3561 Lect.
Introduction to State Machine
מבנה מחשב תרגול 2. 2 Boolean AND Operation Truth Table Equivalent Gate Different notations:
Fall 2004EE 3563 Digital Systems Design EE3563 Chapter 7, 8, 10 Reading Assignments  7.1, 7.2, 7.3  8.1, ,   8.5.1, 8.5.2,
SEQUENTIAL LOGIC By Tom Fitch. Types of Circuits Combinational: Gates Combinational: Gates Sequential: Flip-Flops Sequential: Flip-Flops.
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Hamming Code,Decoders and D,T-flip flops Prof. Sin-Min Lee Department of Computer Science.
1 Lecture 12: Adders, Sequential Circuits Today’s topics:  Carry-lookahead adder  Clocks, latches, sequential circuits.
1 Overview of CS 151 Fall Combinational Logic Design –Simplifying a logic function using algebraic method –Truth table and logic function representation.
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.
1 The ALU l ALU includes combinational logic. –Combinational logic  a change in inputs directly causes a change in output, after a characteristic delay.
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.
Materials on the Exam Introduction Data Representation in Computer Systems Boolean Algebra Digital Logic MARIE: An Introduction to a Simple Computer Until.
Computer Science 210 Computer Organization
LATCHES AND FLIP-FLOPS
Summary Latch & Flip-Flop
Introduction to Sequential Logic Design
Combinational circuits
ANALYSIS OF SEQUENTIAL CIRCUITS
Introduction to Advanced Digital Design (14 Marks)
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
CS Chapter 3 (3A and ) – Part 4 of 5
ECE 301 – Digital Electronics
Computer Science 210 Computer Organization
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.
Digital Design Fundamentals
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
Computer Science 210 Computer Organization
Elec 2607 Digital Switching Circuits
CSE 370 – Winter Sequential Logic - 1
Lecture 15 Logistics Last lecture Today HW4 is due today
CSE 140L Discussion 3 CK Cheng and Thomas Weng
XOR Function Logic Symbol  Description  Truth Table 
Presentation transcript:

EECS 370 Discussion 1 xkcd.com

EECS 370 Discussion Topics Today: – Floating Point – Finite State Machines – Combinational Logic – Sequential Logic 2

EECS 370 Discussion Floating Point Exponent Biased by 127 Significand Additional 1 before the decimal sign 3

EECS 370 Discussion Floating Point Don’t forget about zero! 4

EECS 370 Discussion Floating Point Addition *(2 2 ) *(2 0 ) 5

EECS 370 Discussion Floating Point Addition *(2 2 ) *(2 0 ) = *(2 2 ) 6

EECS 370 Discussion Floating Point Addition *(2 2 ) *(2 0 ) [-6.75] [1.25] = *(2 2 ) [-5.5] 7

EECS 370 Discussion Floating Point Multiplication *(2 2 ) * 1.01*(2 0 ) [-6.75] [1.25] 8

EECS 370 Discussion Floating Point Multiplication *(2 2 ) * 1.01*(2 0 ) [-6.75] [1.25] = *(2 3 ) 9

EECS 370 Discussion Floating Point Multiplication *(2 2 ) * 1.01*(2 0 ) [-6.75] [1.25] = *(2 3 ) [ ] 10

EECS 370 Discussion Finite State Machines Diagram of State, Conditions to change state, and Outputs Conditions to change are based on inputs 11

EECS 370 Discussion Finite State Machines Example: Output a 1 on the pattern 001 States: Pattern ‘1’ Pattern ‘0’ Pattern ‘00’ Pattern ‘001’ => Output = 1 12

EECS 370 Discussion Combinational Logic Digital circuit representing a Boolean equation Truth tables!! 13

EECS 370 Discussion Combinational Logic More Complex Circuits: Mux Decoder 14 A S B C Out 1 Out 2 A0A0 A1A1 Out 3 Out 0

EECS 370 Discussion Combinational Logic More Complex Circuits: Full Adder Half Adder 15

EECS 370 Discussion Combinational Logic More Complex Circuits: Ripple Carry Adder 16

EECS 370 Discussion Combinational Logic Propagation Delay 17

EECS 370 Discussion Combinational Logic Propagation Delay Slows down the speed of your circuit! 18

EECS 370 Discussion Combinational Logic Most Complex Circuits: Carry Look-ahead Adder 19

EECS 370 Discussion Sequential Logic Combinational Logic Stateless Output is direct function of current input Sequential Logic Stateful Output is function of current input and past input Clocked! 20

EECS 370 Discussion Sequential Logic Latches SR Latch D Latch 21

EECS 370 Discussion Sequential Logic Flip Flops Positive Edge Triggered 22

EECS 370 Discussion Sequential Logic Why do we want clocked logic? Specifies a time by which all operations are “done” Results before that time do not matter 23

 Delays in combinational circuits are very real.  Here’s an example with a ripple carry adder. AN EXAMPLE OF WHY THIS MATTERS

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS The value of a goes from 7 to 1 here

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS There’s propagation delay before the adder even starts to change values.

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS The value stabilizes

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS The next clock edge comes along

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS The latch opens up (and shows new value) The flip-flop grabs new value.

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS B changes now, while the clock is still high.

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS Again, there’s propagation delay before the adder starts to change.

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS The value in the latch changes too!

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS The next falling edge comes along

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS The adder stabilizes.

 Let’s zoom in on the interesting part. AN EXAMPLE OF WHY THIS MATTERS The latch locked with the wrong value!