Lab 10 RT methodology (cont’d) Example 1 – a counter Example 2 – a repetitive-adder multiplier.

Slides:



Advertisements
Similar presentations
Tutorial 2 Sequential Logic. Registers A register is basically a D Flip-Flop A D Flip Flop has 3 basic ports. D, Q, and Clock.
Advertisements

VHDL Lecture 1 Megan Peck EECS 443 Spring 08.
State-machine structure (Mealy)
1ASM Algorithmic State Machines (ASM) part 1. ASM2 Algorithmic State Machine (ASM) ‏ Our design methodologies do not scale well to real-world problems.
Table 7.1 Verilog Operators.
Analysis of Clocked 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.
EKT 221 : Digital 2 ASM.
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
6/12/20151 Sequence Detectors Lecture Notes – Lab 4 Sequence detection is the act of recognizing a predefined series of inputs A sequence detector is a.
1  1998 Morgan Kaufmann Publishers Chapter Five The Processor: Datapath and Control.
The Control Unit: Sequencing the Processor Control Unit: –provides control signals that activate the various microoperations in the datapath the select.
Instruction Counter Address [3..0] CLK Instruction ROM 0000: : : : : Inst [6..0] Control Unit.
Sequential Logic 1  Combinational logic:  Compute a function all at one time  Fast/expensive  e.g. combinational multiplier  Sequential logic:  Compute.
Lec 17 Nov 2 Chapter 4 – CPU design data path design control logic design single-cycle CPU performance limitations of single cycle CPU multi-cycle CPU.
4/10/20081 Lab 9 RT methodology introduction Register operations Data Path Control Path ASM Example TA: Jorge Crichigno.
The Processor 2 Andreas Klappenecker CPSC321 Computer Architecture.
Chapter Five The Processor: Datapath and Control.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 20 Datapath and Control Datapath - performs data transfer and processing operations.
Processor I CPSC 321 Andreas Klappenecker. Midterm 1 Thursday, October 7, during the regular class time Covers all material up to that point History MIPS.
Computing Systems The Processor: Datapath and Control.
Chap 8. Sequencing and Control. 8.1 Introduction Binary information in a digital computer –data manipulated in a datapath with ALUs, registers, multiplexers,
Lecture 14: Processors CS 2011 Fall 2014, Dr. Rozier.
Register Transfer Level & Design with ASM
Lec 15Systems Architecture1 Systems Architecture Lecture 15: A Simple Implementation of MIPS Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan Some.
Gary MarsdenSlide 1University of Cape Town Chapter 5 - The Processor  Machine Performance factors –Instruction Count, Clock cycle time, Clock cycles per.
ECE 445 – Computer Organization
Digital Logic Design.
Datapath - performs data transfer and processing operations The control unit sends: – Control signals – Control outputs The control unit receives: – External.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
CPU Overview Computer Organization II 1 February 2009 © McQuain & Ribbens Introduction CPU performance factors – Instruction count n Determined.
Elements of Datapath for the fetch and increment The first element we need: a memory unit to store the instructions of a program and supply instructions.
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
ECE DIGITAL LOGIC LECTURE 21: FINITE STATE MACHINE Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2015, 11/24/2015.
1 강의노트 09 Logic Design with ASM Charts: Based on Digital Systems Design Using VHDL, Chapter 5, by Charles H. Roth, Jr.
Design at the Register Transfer Level Algorithmic State Machines 07.
Appendix C Basics of Logic Design. Appendix C — Logic Basic — 2 Logic Design Basics §4.2 Logic Design Conventions Objective: To understand how to build.
George Mason University Finite State Machines Refresher ECE 545 Lecture 11.
CS161 – Design and Architecture of Computer Systems
Introduction to Sequential Logic Design
Morgan Kaufmann Publishers
IAY 0600 Digital Systems Design
Morgan Kaufmann Publishers The Processor
Basics of digital systems
Morgan Kaufmann Publishers
Lecture 16 Arithmetic Circuits
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
IAY 0600 Digital Systems Design
Design of the Control Unit for Single-Cycle Instruction Execution
MIPS processor continued
ECE 434 Advanced Digital System L13
Iterative Versus Sequential Circuits
ECE 434 Advanced Digital System L12
Guerilla Section #4 10/05 SDS & MIPS Datapath
Design of the Control Unit for One-cycle Instruction Execution
Integer Square Root Lecture L8.0.
Topic 5: Processor Architecture Implementation Methodology
Rocky K. C. Chang 6 November 2017
ECE 448 Lecture 13 Multipliers Timing Parameters
CSE 370 – Winter Sequential Logic-2 - 1
COMS 361 Computer Organization
IAS 0600 Digital Systems Design
KU College of Engineering Elec 204: Digital Systems Design
ASM and Micro-programmed State Machines
RTL Design Methodology
RTL Design Methodology Transition from Pseudocode & Interface
MIPS processor continued
Outline Registers Counters 5/11/2019.
The Processor: Datapath & Control.
Presentation transcript:

Lab 10 RT methodology (cont’d) Example 1 – a counter Example 2 – a repetitive-adder multiplier

RT Methodology - Review Key characteristics: Use registers to store intermediate data. Use a data path to realize all the required operations. Use a control path to specify the order of the register operations.

Extended example 1: a counter

Example: a counter Specification: When start = 1 and reset = 0, the system starts counting at each rising edge. If inc = 0, counter is incremented by one; otherwise, it is incremented by two. A synchronous reset is implemented to reset the counter to zero. counter represents the current value of the counter. When counter reaches a value of six or greater, the output end is set to one for a clock period and the counter stops. Finally, the counter is set to zero and the system waits for start = 1 again. Counter Register to be used

A data-path for the counter

A control path for the counter

Top File

VHDL Code Register

VHDL Code Adder

VHDL Code Multiplexer

Data path

Control path

Top

Extended example a: a repetitive-adder multiplier

Repetitive Addition Multiplier Repetitive-Addition Multiplier is a sequential method to multiple. It uses just one adder unit and a subtracter unit to multiply. Sequential methodology is used when area is critical compared timing. Example: 7x5= =35; i.e., add 7 five times.

Algorithm

ASM Input: –a_in, b_in: 8-bit unsigned –clk, reset –start: command Output: –r: 16-bit unsigned –ready: status

Data Path Construction of the data path 1- List all RT operations 2- Group RT operation according to the destination register 3- Add combinational circuit/mux 3- Add status circuits

Control Path Construction of the data path 1- Next state process 2- Output process - Moore 3- Output process - Mealy 3- Update state process