CSE 140 MT 2 Review By Daniel Knapp.

Slides:



Advertisements
Similar presentations
State-machine structure (Mealy)
Advertisements

Review for Exam 2 Using MUXs to implement logic
CS 140 Lecture 10 Sequential Networks: Implementation Professor CK Cheng CSE Dept. UC San Diego 1.
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
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.
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
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.
Computing Machinery Chapter 5: Sequential Circuits.
Circuits require memory to store intermediate data
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
CS 151 Digital Systems Design Lecture 21 Analyzing Sequential Circuits.
Review and Overview. Review  Combinational logic circuit – Decoder, Encoder, Multiplexer, De-multiplexer, Full Adder, Multiplier  Sequential logic circuit.
CSE 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego.
EECC341 - Shaaban #1 Lec # 14 Winter Clocked Synchronous State-Machines Such machines have the characteristics: –Sequential circuits designed.
Give qualifications of instructors: DAP
Contemporary Logic Design Finite State Machine Design © R.H. Katz Transparency No Chapter #8: Finite State Machine Design Finite State.
CS 140 Lecture 11 Professor CK Cheng 5/31/02. C1C2 CLK x(t) y(t) Sequential Network Implementation Mealy & Moore machine State Table  Netlist s(t) D(t)
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
1 Synchronous Sequential Circuit Analysis. 2 Synchronous Sequential Circuit State Memory – A set of n edge-triggered flip-flops that store the current.
Introduction to Sequential Logic Design Finite State-Machine Design.
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.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
DLD Lecture 26 Finite State Machine Design Procedure.
Lecture 7: Sequential Networks CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer Science and Engineering.

A sequential logic circuit (a.k.a. state machine) consists of both combinational logic circuit(s) and memory devices (flip flops). The combinational circuits.
CSE 140: Components and Design Techniques for Digital Systems Lecture 7: Sequential Networks CK Cheng Dept. of Computer Science and Engineering University.
Introduction to Sequential Logic Design Finite State-Machine Analysis.
CSE 140: Components and Design Techniques for Digital Systems Lecture 9: Sequential Networks: Implementation CK Cheng Dept. of Computer Science and Engineering.
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #3 Flip-Flops, Registers, Shift registers, Counters, Memory 3/3/2005.
DIGITAL LOGIC CIRCUITS 조수경 DIGITAL LOGIC CIRCUITS.
CSE 140 Lecture 8 Sequential Networks
LATCHES AND FLIP-FLOPS
Sequential Networks and Finite State Machines
Chapter #6: Sequential Logic Design
Introduction to Sequential Logic Design
Flip-Flops and Related Devices
ANALYSIS OF SEQUENTIAL CIRCUITS
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Overview Introduction Logic Gates Flip Flops Registers Counters
Dr. Clincy Professor of CS
Asynchronous Inputs of a Flip-Flop
Assistant Prof. Fareena Saqib Florida Institute of Technology
332:437 Lecture 12 Finite State Machine Design
Sequential logic circuits
Digital Design Fundamentals
Sequential Networks and Finite State Machines
CSE 140L Discussion Finite State Machines.
CSE 140 Lecture 10 Sequential Networks: Implementation
CSE 140: Components and Design Techniques for Digital Systems
CSE 370 – Winter Sequential Logic-2 - 1
Dr. Clincy Professor of CS
CSE 370 – Winter Sequential Logic - 1
CS M51A/EE M16 Winter’05 Section 1 Logic Design of Digital Systems Lecture 12 February 28 W’05 Yutao He 4532B Boelter Hall
CSE 370 – Winter Sequential Logic-2 - 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
L11 – Midterm Review.
EGC 442 Introduction to Computer Architecture
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
FINITE STATE MACHINES.
Lecture 20 Logistics Last lecture Today HW6 due Wednesday
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
CSE 140 Lecture 9 Sequential Networks
SEQUENTIAL CIRCUITS __________________________________________________
CSE 370 – Winter Sequential Logic-2 - 1
Presentation transcript:

CSE 140 MT 2 Review By Daniel Knapp

Overview Sequential Networks Standard Combinational Modules Introduction and memory components Specification, analysis, and implementation Timing Standard Combinational Modules Decoders and Encoders Multiplexers (Mux) and Demultiplexers (Demux) System Design (not heavy focus of MT 2)

Sequential Networks Latches (Level Sensitive) SR Latches, D Latches Flip-Flops (Edge Triggered) D FFs, JK FFs, T FFs Examples of Memory Modules Registers, Shift Registers, Pattern Recognizers, Counters, FIFOs

Latches Basic SR Latch

Latches cont. D Latch (avoids SR 11 input)

Flip-Flops D Flip-Flop (all FFs are edge triggered) State changes every rising edge of the CLK (NS becomes PS)

Flip-Flops cont. JK Flip-Flop (edge triggered)

Flip-Flops cont. T Flip-Flop (edge triggered)

Flip-Flops cont.

Finite State Machines Used to describe circuit behavior over time Mealy- current state and current input; Moore- only current state

Finite State Machines cont. Mealy Machine Moore Machine

Finite State Machines cont. Output of mealy machine is put on the transition, “1/0” Output of moore machine belongs only to the state, not its transitions Mealy Machine Moore Machine

Finite State Machines cont. Be able to draw this table for a state diagram Mealy Machine Moore Machine

Mealy to Moore Conversion

Mealy to Moore Conversion cont. 1

Implementation Implementing JK FF with T FF Inputs are J(t), K(t), and Q(t) T(t) is the output of some combinational logic used as input to the T FF to change Q(t) to Q(t+1) Q(t) is also the current output of the design Q(t+1) is the next state

Implementation cont. Good chance you may have something like HW4 prob 5 on the midterm Be able to Create state diagram from a given description Write a state table Write an excitation table which includes specific FF inputs if the problem asks to design using some specific type of Flip-Flops Draw K-maps derived from the excitation table Create a minimum SOP or POS expression for each K-map Draw the logic diagram for the system

Implementation cont. Good chance you may have something like HW4 prob 5 on the midterm Be able to Create state diagram from a given description Write a state table Write an excitation table which includes specific FF inputs if the problem asks to design using some specific type of Flip-Flops Draw K-maps derived from the excitation table Create a minimum SOP or POS expression for each K-map Draw the logic diagram for the system

Timing

Timing cont.

Timing cont.

Timing cont.

Timing cont.

Timing cont. Add in skew… This formula is worst case for setup time May be able to decrease clock period if skew is best case (retiming) Worst Case Best Case

Timing cont. Add in skew…

Timing cont. When retiming, find max skew tolerable with hold time equation Then plug the skew into the best case scenario for the setup time equation to get an improved clock period

Standard Combinational Modules Commonly used combinational circuits that are more complicated than gates Many of them are used to implement control logic for system design

Decoder

Encoder

Priority Encoder

Multiplexer

Demultiplexer

System Design Focus on understanding the other topics thoroughly and if you have more time, review the system design podcast Better to handle questions from this material on piazza or office hours than at the review session today since the other material would cover the bulk of the points