Digital Design – Register-Transfer Level (RTL) Design Chapter 5 - Register-Transfer Level (RTL) Design.

Slides:



Advertisements
Similar presentations
Unit 4 - I Said Stop!. Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For.
Advertisements

FIGURE 11.1 Discrete Time Signals.. FIGURE 11.2 Step Function.
Programmable FIR Filter Design
CPE 201 Digital Design Lecture 25: Register Transfer Level Design (2)
Simulation executable (simv)
Register Transfer Level
1ASM Algorithmic State Machines (ASM) part 1. ASM2 Algorithmic State Machine (ASM) ‏ Our design methodologies do not scale well to real-world problems.
1 RTL Example: Video Compression – Sum of Absolute Differences Video is a series of frames (e.g., 30 per second) Most frames similar to previous frame.
Give qualifications of instructors: DAP
Digital Design - Sequential Logic Design Chapter 3 - Sequential Logic Design.
Finite State Machine Chapter 10 RTL Hardware Design by P. Chu.
Nonlinear & Neural Networks LAB. CHAPTER 19 State Machine Design with SM charts 19.1 State Machine Charts 19.2 Derivation of SM Charts 19.3 Realization.
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
Register-Transfer Level (RTL) Design
Digital Design – Programmable Processors Chapter 8 - Programmable Processors.
Mahapatra-Texas A&M-Fall'001 cosynthesis Introduction to cosynthesis Rabi Mahapatra CPSC498.
1 Register-Transfer Level (RTL) Design Recall –Chapter 2: Combinational Logic Design First step: Capture behavior (using equation or truth table) Remaining.
Digital Design – Optimizations and Tradeoffs
1 COMP541 State Machines Montek Singh Feb 6, 2007.
CPEN Digital System Design Chapter 9 – Computer Design
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 20 Datapath and Control Datapath - performs data transfer and processing operations.
Register-Transfer Level (RTL) Design The combination of a controller and datapath is known as a processor. The most common method of designing a processor.
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
9/15/09 - L25 Registers & Load Enable Copyright Joanne DeGroat, ECE, OSU1 Registers & Load Enable.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
FPGA-Based System Design: Chapter 5 Copyright  2004 Prentice Hall PTR Topics n Basics of sequential machines. n Sequential machine specification. n Sequential.
EE434 ASIC & Digital Systems
IKI a-Combinatorial Components Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture Notes.
IKI Register-transfer Design
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
Computer Design Basics
Chapter 11: System Design Methodology Digital System Designs and Practices Using Verilog HDL and 2008, John Wiley11-1 Ders 8: FSM Gerçekleme ve.
George Mason University ECE 545 – Introduction to VHDL ECE 545 Lecture 5 Finite State Machines.
Important Components, Blocks and Methodologies. To remember 1.EXORS 2.Counters and Generalized Counters 3.State Machines (Moore, Mealy, Rabin-Scott) 4.Controllers.
EKT221 ELECTRONICS DIGITAL II CHAPTER 4: Computer Design Basics
Chapter 4 Computer Design Basics. Chapter Overview Part 1 – Datapaths  Introduction  Datapath Example  Arithmetic Logic Unit (ALU)  Shifter  Datapath.
Chapter 3 Digital Logic Structures. 3-2 Combinational vs. Sequential Combinational Circuit always gives the same output for a given set of inputs  ex:
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.
Lecture 9 RTL Design Methodology. Structure of a Typical Digital System Datapath (Execution Unit) Controller (Control Unit) Data Inputs Data Outputs Control.
Lecture 21: Registers and Counters (1)
ECE 274 Digital Logic RTL Design using Verilog Verilog for Digital Design Ch. 5.
EKT 221 : Chapter 4 Computer Design Basics
Algorithmic state machines
Registers; State Machines Analysis Section 7-1 Section 5-4.
1Sequential circuit design Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA by Erol Sahin and Ruken Cakici.
Digital System Design using VHDL
Lecture 5B Block Diagrams HASH Example.
Register Transfer Languages (RTL)
CDA 4253 FPGA System Design RTL Design Methodology 1 Hao Zheng Comp Sci & Eng USF.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
1 COMP541 Datapaths I Montek Singh Mar 8, Topics  Over next 2/3 classes: datapaths  Basic register operations Book sections 7-2 to 7-6 and 7-8.
Chapter 11: System Design Methodology Digital System Designs and Practices Using Verilog HDL and 2008, John Wiley11-1 Chapter 11: System Design.
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
Digital Design 2e Copyright © 2010 Frank Vahid 1 RTL Design Process: Create a datapath Sub-steps –HLSM data inputs/outputs  Datapath inputs/outputs. –HLSM.
EKT 221 : Digital 2 Computer Design Basics Date : Lecture : 2 hrs.
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Introduction To Software Development Environment.
George Mason University Finite State Machines Refresher ECE 545 Lecture 11.
Digital Design - Sequential Logic Design
Digital and Non-Linear Control
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
RTL Design Methodology
Design of the Control Unit for Single-Cycle Instruction Execution
MARIE: An Introduction to a Simple Computer
Figure 8.1. The general form of a sequential circuit.
RTL Design Methodology Transition from Pseudocode & Interface
RTL Design Methodology
RTL Design Methodology
Instructor: Alexander Stoytchev
Presentation transcript:

Digital Design – Register-Transfer Level (RTL) Design Chapter 5 - Register-Transfer Level (RTL) Design

2 Digital Design RTL Design Table 5.1 RTL Design Process

3 Digital Design RTL Design Figure 5.1 Laser-based distance measurement. Figure 5.2 Block diagram of the laser-based distance measurement system. Example 5.1 Laser-based distance measurer.

4 Digital Design RTL Design Example 5.1 Laser-based distance measurer. Step 1: Create a high-level state machine

5 Digital Design RTL Design Step 2: Create a datapath Example 5.1 Laser-based distance measurer.

6 Digital Design RTL Design Step 3: Connect the datapath to a controller

7 Digital Design RTL Design Step 4: Derive the controller’s FSM Example 5.1 Laser-based distance measurer.

8 Digital Design RTL Design Figure 5.7 FSM description of the controller for the laser-based distance measurer, using the convention that FSM outputs not explicitly assigned a value in a state are implicitly assigned 0

9 Digital Design RTL Design Figure 5.8 A basic digital filter that outputs the average of the previous four inputs, assuming the input was steady at 180 for a long time before the above sequence began, and stays at 182 for a long time after the sequence.

10 Digital Design RTL Design Figure 5.9 Writing the four registers in a round-robin manner to always maintain the previous four input values in the registers.

11 Digital Design RTL Design Figure 5.10 Datapath (right) and FSM description of the controller (left) for our basic filter.

12 Digital Design RTL Design Figure 5.11 High-level state machine of the sending half of a simple bus interface.

13 Digital Design RTL Design Figure 5.12 Bus interface timing diagram.

14 Digital Design RTL Design Figure 5.13 Datapath (right) and controller FSM description (left) for the simple bus interface.

15 Digital Design RTL Design Figure 5.14 A key principle of video compression recognizes that successive frames have much similarity.

16 Digital Design RTL Design Figure 5.15 Sum-of-absolute-differences (SAD) component: block diagram (left), and high-level state machine (right).

17 Digital Design RTL Design Figure 5.16 SAD datapath and controller FSM.

18 Digital Design RTL Design Figure 5.17 Results of a 5-tap FIR filter with c0=c1=c2=c3=c4=0.2 applied to a noisy signal.

19 Digital Design RTL Design Figure 5.18 Adding a main signal, in1, to a carrier signal, in2, resulting in a composite signal in_total.

20 Digital Design RTL Design Figure 5.19 Filtering out the carrier signal using a 7-tap FIR filter with constants 0.25, 0, 0, 0.5, 0, 0, The slight delay in the output signal typically poses no problem.

21 Digital Design RTL Design Figure 5.20 General block diagram of an FIR filter.

22 Digital Design RTL Design Figure 5.21 Beginning to build the datapath for the FIR filter -- inserting and connecting the x(t), x(t-1) and x(t-2) registers.

23 Digital Design RTL Design Figure 5.22 Extending the datapath for the FIR filter -- inserting and connecting the c0, c1, and c2 registers, along with the multipliers, for each tap.

24 Digital Design RTL Design Figure 5.23 Computing the output Y in the FIR filter as the sum of the tap products.

25 Digital Design RTL Design Figure 5.24 Finalizing the FIR filter datapath with circuitry for loading the constant registers.

26 Digital Design RTL Design Figure 5.25 C program description of a sum-of-absolute differences computation - - The C program may be easier to develop and easier to understand than a state machine.

27 Digital Design RTL Design Figure 5.26 T for assignment statement. Figure 5.27 Template for if-then statement. Figure 5.28 Template for if-then-else statement. Figure 5.29 Template for while loop statement.

28 Digital Design RTL Design Figure 5.30 Behavioral-level design starting from C code.

29 Digital Design RTL Design Figure 5.31 Behavioral-level design of the sum-of-absolute difference code.