Sept. 2005EE37E Adv. Digital Electronics Lesson 4 Synchronous Design Architectures: Control Unit Design (part three)

Slides:



Advertisements
Similar presentations
Register Transfer Level
Advertisements

Analysis of Clocked Sequential Circuits
Give qualifications of instructors: DAP
Modern VLSI Design 2e: Chapter 8 Copyright  1998 Prentice Hall PTR Topics n High-level synthesis. n Architectures for low power. n Testability and architecture.
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics High-level synthesis. Architectures for low power. GALS design.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Register-transfer Design n Basics of register-transfer design: –data paths and controllers.
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
Overview Finite State Machines - Sequential circuits with inputs and outputs State Diagrams - An abstraction tool to visualize and analyze sequential circuits.
Dr. Turki F. Al-Somani VHDL synthesis and simulation – Part 2 Microcomputer Systems Design (Embedded Systems)
1 COMP541 State Machines Montek Singh Feb 6, 2007.
4/10/20081 Lab 9 RT methodology introduction Register operations Data Path Control Path ASM Example TA: Jorge Crichigno.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
George Mason University ECE 448 – FPGA and ASIC Design with VHDL Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts,
Digital Logic Design Lecture 26. Announcements Exams will be returned on Thursday Final small quiz on Monday, 12/8. Final homework will be assigned Thursday,
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 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
Lecture 10 Topics: Sequential circuits Basic concepts Clocks
Sequential Logic in Verilog
State Machines.
FINITE STATE MACHINES - II
Lecture 16 Today’s topics: –MARIE Instruction Decoding and Control –Hardwired control –Micro-programmed control 1.
Chap 8. Sequencing and Control. 8.1 Introduction Binary information in a digital computer –data manipulated in a datapath with ALUs, registers, multiplexers,
Lecture 4 – State Machine Design 9/26/20081ECE Lecture 4.
Chapter 10 State Machine Design. 2 State Machine Definitions State Machine: A synchronous sequential circuit consisting of a sequential logic section.
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.
George Mason University ECE 545 – Introduction to VHDL ECE 545 Lecture 5 Finite State Machines.
CprE / ComS 583 Reconfigurable Computing
Important Components, Blocks and Methodologies. To remember 1.EXORS 2.Counters and Generalized Counters 3.State Machines (Moore, Mealy, Rabin-Scott) 4.Controllers.
ENG241 Digital Design Week #8 Registers and Counters.
Module : FSM Topic : types of FSM. Two types of FSM The instant of transition from the present to the next can be completely controlled by a clock; additionally,
1 Control Unit Operation and Microprogramming Chap 16 & 17 of CO&A Dr. Farag.
5-1 Chapter 5—Processor Design—Advanced Topics Computer Systems Design and Architecture by V. Heuring and H. Jordan © 1997 V. Heuring and H. Jordan Chapter.
11/17/2007DSD,USIT,GGSIPU1 RTL Systems References: 1.Introduction to Digital System by Milos Ercegovac,Tomas Lang, Jaime H. Moreno; wiley publisher 2.Digital.
Introduction to VHDL Simulation … Synthesis …. The digital design process… Initial specification Block diagram Final product Circuit equations Logic design.
VHDL Discussion Finite State Machines
Analysis and Synthesis of Synchronous Sequential Circuits A “synchronizing” pulse/edge signal (clock) controls the operation of the memory portion of the.
VHDL Discussion Finite State Machines IAY 0600 Digital Systems Design Alexander Sudnitson Tallinn University of Technology 1.
Registers; State Machines Analysis Section 7-1 Section 5-4.
VHDL Discussion Sequential Sytems. Memory Elements. Registers. Counters IAY 0600 Digital Systems Design Alexander Sudnitson Tallinn University of Technology.
Introduction to ASIC flow and Verilog HDL
Digital System Design using VHDL
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
Hardwired Control Department of Computer Engineering, M.S.P.V.L Polytechnic College, Pavoorchatram. A Presentation On.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
State Machine Design State Machine Design Digital Electronics
Common Elements in Sequential Design. Lecture 3 topics  Registers and Register Transfer  Shift Registers  Counters Basic Counter Partial sequence counters.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Partitioning of a digital system.
EMT 351/4 DIGITAL IC DESIGN Verilog Behavioral Modeling  Finite State Machine -Moore & Mealy Machine -State Encoding Techniques.
Pusat Pengajian Kejuruteraan Mikroelektronik EMT 351/4 DIGITAL IC DESIGN Verilog Behavioural Modeling (Part 4) Week #
State Machine Design Shiva choudhary En No.: Electronics and comm. Dept K.I.T.,Jamnagar 1.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
Finite State Machines (part 1)
Week #7 Sequential Circuits (Part B)
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
FIGURE 5.1 Block diagram of sequential circuit
Overview Instruction Codes Computer Registers Computer Instructions
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
Lesson 4 Synchronous Design Architectures: Data Path and High-level Synthesis (part two) Sept EE37E Adv. Digital Electronics.
Finite State Machines (part 1)
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL Code.
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL code ECE 448 – FPGA and ASIC Design.
Instructor: Alexander Stoytchev
EGR 2131 Unit 12 Synchronous Sequential Circuits
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
Presentation transcript:

Sept. 2005EE37E Adv. Digital Electronics Lesson 4 Synchronous Design Architectures: Control Unit Design (part three)

Sept. 2005EE37E Adv. Digital Electronics Topics Introduction Hardwired vs. Microprogrammed Control Hardwired Control Microprogrammed Control High-level Synthesis of Control Units

Sept. 2005EE37E Adv. Digital Electronics 1. Introduction The control subsystem is a (synchronous) sequential machine. That has the following characteristics: –INPUTS: control inputs to the system and conditions from the data subsystem –OUTPUTS: control signals –ONE STATE PER STATEMENT IN REGISTER- TRANSFER SEQUENCE –TRANSITION FUNCTION CORRESPONDS TO SEQUENCING –OUTPUT FOR EACH STATE CORRESPONDS TOCONTROL SIGNALS

Sept. 2005EE37E Adv. Digital Electronics 2. Hardwired vs. microcoded control Hardwired control has a state register and “random logic.” A microcoded (microprogrammed) machine has a state register which points into a microcode memory. Styles are equivalent; choice depends on implementation considerations.

Sept. 2005EE37E Adv. Digital Electronics 3. Hardwired Control Two types of sequencing: –UNCONDITIONAL: only one successor to a state –CONDITIONAL: several possible successors depending on the value of a condition Because unconditional case is much more frequent in most execution graphs, a favored implementation of the sequencer consists of using a counter in which consecutive states in the sequence are assigned to the counter.

Sept. 2005EE37E Adv. Digital Electronics If the number of states is small, structures with one flip-flop per state result is straightforward mapping between the sequence (state diagram) and implementation is recommended. These also have the advantage that no decoder is required for the generation of the control signals.

Sept. 2005EE37E Adv. Digital Electronics Let us discuss the correspondence among the state diagram and the one flip-flop per state implementation: –The simplest case is the state with one predecessor, as shown in Figure 4.3.1a, the corresponding implementation is in Figure 4.3.1a’. –A more general case is depicted in Figures 4.3.1b and 4.3.1b’

Sept. 2005EE37E Adv. Digital Electronics Figure 4.3.1: PRIMITIVES FOR THE “one ip-op per state" APPROACH.

Sept. 2005EE37E Adv. Digital Electronics Control signals They depend on the state, conditions, and the external inputs to the system. The conditional control signals can be implemented in two ways, corresponding to the Mealy and Moore models of sequential systems. Consider the following statement: IF (sign = ‘0’) then A <= B; Else C<=D; End If; Let C_1 and C_2 the control signals for loading A and C, respectively. Figure Illustrates the two alternatives.

Sept. 2005EE37E Adv. Digital Electronics Figure 4.3.2: IMPLEMENTATION ALTERNATIVES FOR CONTROL SIGNALS: a) Moore-type implementation; b) Mealy-type implementation. Often a control signal is active during several consecutive states. Instead of generating such a signal in each relevant state, it’s possible to introduce a clocked cell that can be set when the signal becomes active and cleared when it become inactive, as illustrated in figure

Sept. 2005EE37E Adv. Digital Electronics Figure 4.3.3: CLOCKED CELL: a) STATE DIAGRAM; b) IMPLEMENTATION OF SIGNALS c 1 and c 3; c) TIMING DIAGRAM.

Sept. 2005EE37E Adv. Digital Electronics Design Example Let us now illustrate the use of some of the components discussed previously. A VHDL specification is given in Figure For an implementation we need to developed a structural description having as components the data and control subsystems.

Sept. 2005EE37E Adv. Digital Electronics Figure 4.3.4: Block diagram and entity declaration

Sept. 2005EE37E Adv. Digital Electronics Figure 4.3.5: Architecture specification

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics Figure 4.3.6: DATA SUBSYSTEM FOR DESIGN EXAMPLE

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics

Sept. 2005EE37E Adv. Digital Electronics Figure 4.3.6: IMPLEMENTATION OF CONTROL SUBSYSTEM.