9/15/09 - L23 More Sequential Circuits Copyright 2009 - Joanne DeGroat, ECE, OSU1 More Sequential Circuits.

Slides:



Advertisements
Similar presentations
Date of Birth Design Problem
Advertisements

Boolean Algebra Variables: only 2 values (0,1)
Lab 8 : Multiplexer and Demultiplexer Systems:
L15 – Specification of State Machines
ENGIN112 L23: Finite State Machine Design Procedure October 27, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 23 Finite State Machine.
COE 202: Digital Logic Design Sequential Circuits Part 2
Lab02 :Logic Gate Fundamentals:
9/15/09 - L6 Other Gate typesCopyright Joanne DeGroat, ECE, OSU1 Other gate types.
Module 3 Combinational and Sequential Logic Circuit By: Cesar Mendoza.
topics Logic gates Gates types Universal gates
Lab 13 : Binary Counter Systems:
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
L8 – Reduction of State Tables. Reduction of states  Given a state table reduce the number of states.  Eliminate redundant states  Ref: text Unit 15.
Optimization, terms and don’t cares
Min terms and logic expression
L23 – Adder Architectures. Adders  Carry Lookahead adder  Carry select adder (staged)  Carry Multiplexed Adder  Ref: text Unit 15 9/2/2012 – ECE 3561.
L9 – State Assignment and gate implementation. States Assignment  Rules for State Assignment  Application of rule  Gate Implementation  Ref: text.
STATE DIAGRAM AND STATE TABLES
Registers and Counters
L7 – Derivation of State Graphs and Tables – Moore Machines.
Verilog. 2 Behavioral Description initial:  is executed once at the beginning. always:  is repeated until the end of simulation.
Analysis of Clocked Sequential Circuits
COE 202: Digital Logic Design Sequential Circuits Part 3
9/15/09 - L20 Flip FlopsCopyright Joanne DeGroat, ECE, OSU1 Flip Flops Not a gymnastic movement.
9/15/09 - L14 Functional BlocksCopyright Joanne DeGroat, ECE, OSU1 Combinational Functional Blocks & Rudimentary Logic functions.
L18 – VHDL for other counters and controllers. Other counters  More examples Gray Code counter Controlled counters  Up down counter  Ref: text Unit.
Combinational Logic Design
ECE 331 – Digital System Design Counters (Lecture #19) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Binary additon & subtraction.
9/15/09 - L22 Sequential Circuit Design Copyright Joanne DeGroat, ECE, OSU1 Sequential Circuit Design Creating a sequential circuit to address a.
9/15/09 - L25 Registers & Load Enable Copyright Joanne DeGroat, ECE, OSU1 Registers & Load Enable.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexers.
L5 – Sequential Circuit Design
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.
L16 – Testbenches for state machines. VHDL Language Elements  More examples HDL coding of class examples Testbench for example  Testing of examples.
L10 – State Machine Design Topics. States Machine Design  Other topics on state machine design Equivalent sequential machines Incompletely specified.
1/8/ L20 Project Step 8 - Data Path Copyright Joanne DeGroat, ECE, OSU1 State Machine Design with an HDL A methodology that works for documenting.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexer Circuits.
L26 – Datapath ALU implementation
L6 – Derivation of State Graphs and Tables. State Graphs and Tables  Problem Statement translation To State Graphs To State Tables  Ref: text : Unit.
1/8/ L23 Project Step 9 - Sequential Machine Copyright Joanne DeGroat, ECE, OSU1 Project Step 9 Beyond the ALU and Datapath. Sequential Machine.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
L16 – VHDL for State Machines with binary encoding.
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.
1/8/ L7 Project Step 3Copyright Joanne DeGroat, ECE, OSU1 Project Step 3 Structural Modeling and the Generate Statement.
9/15/09 - L21 Sequential Circuit Analaysis Copyright Joanne DeGroat, ECE, OSU1 Sequential Circuit Analysis.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 7 Binary Counter.
9/15/09 - L24 Other FF TypesCopyright Joanne DeGroat, ECE, OSU1 Other FF Types.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexer Circuits.
9/15/09 - L26 Shift RegistersCopyright Joanne DeGroat, ECE, OSU1 Shift Registers.
9/15/09 - L13 Technology Mapping & Verificaiton Copyright Joanne DeGroat, ECE, OSU1 Technology Mapping and Verification.
9/15/09 - L19 Sequential CircuitsCopyright Joanne DeGroat, ECE, OSU1 Sequential Cirucits.
Basic Counters: Part I Section 7-6 (pp ).
Common Elements in Sequential Design. Lecture 3 topics  Registers and Register Transfer  Shift Registers  Counters Basic Counter Partial sequence counters.
L5 – Sequential Circuit Design
Sequential Circuit Design
EKT 221 : Digital 2 COUNTERS.
Figure 12-13: Synchronous Binary Counter
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
Copyright Joanne DeGroat, ECE, OSU
29th Oct Review Session 8.
29-Nov-18 Counters Chapter 5 (Sections ).
Assignment 1.
L25 – Datapath ALU.
L11 – Midterm Review.
Beyond the ALU and Datapath. Sequential Machine Modeling exercise.
Copyright Joanne DeGroat, ECE, OSU
Beyond the ALU and Datapath. Sequential Machine Modeling exercise.
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU1 More Sequential Circuits

9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU2 Class 23-More Sequential Circuits  An up/down counter  A loadable down counter with signal  Material from section 5-5 of text

Design of and up/down counter  Problem Statement: Design a 3 bit binary clocked counter that counts up when the input C = 1 and counts down when the input C = 0. When the counter gets to 111 (000) it rolls over to 000 (111). 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU3

Problem Formulation  Will use a state table for this problem C=0 down C=1 up Present State Next State Next State /15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU4

State Assignment  As this design involves a counter it already has binary values assigned to the states.  So we can move straight to creation of the next state generation.  The system will use D Flip-flops. 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU5

Next State Generation  In the table the Present State will be denoted by the 3-bit binary value as seen in the state table. The binary value is Q 2 Q 1 Q 0.  First the generation of Q 0. 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU6

Next State Generation D 1  Generate the next state equation for D 1 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU7

Next State Generation D 2  Generate the next state equation for D 2 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU8

Output Generation  Output generation is easy as it just the current state. 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU9

Verification via HDL  The models 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU10

The counter model  Uses the D FF 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU11

The Testbench  Need to apply stimulus and look at results. 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU12

Simultion Results  The waveform for counting up 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU13

Simultion Results  The waveform for counting down 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU14

Simulation Results  Waveform for up again and back to down 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU15

Changing format to octal display  For a more readable output 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU16

A Loadable countdown timer  Specification: Design a loadable 3-bit countdown timer the after loading counts down to 0 and then generates a signal Z which will stay asserted as long as the countdown is enabled.  When the counter reaches 0 it remains there until a new count is loaded. 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU17

The state table  The state table showing both count enable and load 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU18

K-maps  The K-maps for the circuit are. 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU19

The output  The output signal Z is asserted when state 000 is reached. It stays asserted as long as C is asserted. 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU20

The circuit  Has 3 FFs 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU21

Class 23 assignment  Covered sections 5-5  Problems for hand in Nothing new  Problems for practice Nothing new  Reading for next class: 5-6 9/15/09 - L23 More Sequential Circuits Copyright Joanne DeGroat, ECE, OSU22