Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 5 Register Transfer Languages.

Slides:



Advertisements
Similar presentations
Lecture 15 Finite State Machine Implementation
Advertisements

Introduction To VHDL for Combinational Logic
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Chapter 7 Henry Hexmoor Registers and RTL
Princess Sumaya University
Give qualifications of instructors: DAP
1 Register Transfer &  -operations Computer Organization Computer Architectures Lab REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register.
8085 processor. Bus system in microprocessor.
Chapter 9 Computer Design Basics. 9-2 Datapaths Reminding A digital system (or a simple computer) contains datapath unit and control unit. Datapath: A.
Digital Design with VHDL Presented by: Amir Masoud Gharehbaghi
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
FPGAs and VHDL Lecture L12.1. FPGAs and VHDL Field Programmable Gate Arrays (FPGAs) VHDL –2 x 1 MUX –4 x 1 MUX –An Adder –Binary-to-BCD Converter –A Register.
Chapter 7. Register Transfer and Computer Operations
4/10/20081 Lab 9 RT methodology introduction Register operations Data Path Control Path ASM Example TA: Jorge Crichigno.
CPEN Digital System Design Chapter 9 – Computer Design
Chapter 7 - Part 2 1 CPEN Digital System Design Chapter 7 – Registers and Register Transfers Part 2 – Counters, Register Cells, Buses, & Serial Operations.
Algorithmic State Machine (ASM) Charts
George Mason University ECE 448 – FPGA and ASIC Design with VHDL Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts,
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 7 Microsequencer Control Unit Design.
Chapter 7 – Registers and Register Transfers Part 1 – Registers, Microoperations and Implementations Logic and Computer Design Fundamentals.
Chapter 1_4 Part II Counters
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
ECE 332 Digital Electronics and Logic Design Lab Lab 5 VHDL Design Styles Testbenches.
CHAPTER 14 Digital Systems.
1 Digital System Design Subject Name : Digital System Design Course Code : IT- 308 Instructor : Amit Prakash Singh Home page :
CSC321 Where We’ve Been Binary representations Boolean logic Logic gates – combinational circuits Flip-flops – sequential circuits Complex gates – modules.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Computer Design Basics
VHDL Introduction. V- VHSIC Very High Speed Integrated Circuit H- Hardware D- Description L- Language.
Instructor: Yuzhuang Hu State-Machine Diagrams contd. (Chapter 5, Section 5-7) Use boolean expressions to simplify the diagram. S0S0 S1S1.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
ENG241 Digital Design Week #8 Registers and Counters.
Registers and Counters Chapter 6. Digital Circuits 2 Clocked sequential circuits a group of flip-flops and combinational gates connected to form a feedback.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Introduction to VHDL Spring EENG 2920 Digital Systems Design Introduction VHDL – VHSIC (Very high speed integrated circuit) Hardware Description.
1 Chapter 2 Introduction To Finite State Machines Presented By: Cecilia Parng Class: C.S. 147 Prof: Sin-Min Lee.
Introduction to VHDL Simulation … Synthesis …. The digital design process… Initial specification Block diagram Final product Circuit equations Logic design.
VHDL for Sequential Logic
Register Transfer Languages (RTL)
Lecture 5: Register Transfer & Micro-OpsOverview1.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
VHDL ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Introduction ELEC 418 Advanced Digital Systems Dr. Ron Hayne Images Courtesy of Thomson Engineering.
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.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
Common Elements in Sequential Design. Lecture 3 topics  Registers and Register Transfer  Shift Registers  Counters Basic Counter Partial sequence counters.
George Mason University Data Flow Modeling of Combinational Logic ECE 545 Lecture 5.
CHAPTER 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
REGISTER TRANSFER AND MICROOPERATIONS
Registers and Counters
REGISTER TRANSFER AND MICROOPERATIONS
Computer Design Basics
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Computer Organization and Design
Computer Architecture and Design Lecture 6
Data Flow Modeling of Combinational Logic
VHDL (VHSIC Hardware Description Language)
VHDL Introduction.
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Overview Part 1 - Registers, Microoperations and Implementations
Figure 8.1. The general form of a sequential circuit.
Computer Design Basics
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
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.
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
Instruction execution and ALU
Chapter 10 Introduction to VHDL
Presentation transcript:

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 5 Register Transfer Languages

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter Outline Micro-operationsMicro-operations RTLRTL RTL specificationsRTL specifications Realizing RTL specificationsRealizing RTL specifications VHDLVHDL

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Micro-operations Specify data transferSpecify data transfer Do not specify conditions under which transfers occurDo not specify conditions under which transfers occur Do not specify hardware implementationDo not specify hardware implementation

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example: X  Y X

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Register Transfer Language Specify micro-operations and when they occurSpecify micro-operations and when they occur Format:conditions: micro-operationsFormat:conditions: micro-operations

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example: α: X  Y X

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Simultaneous Data Transfers α: X  Y, Y  Z Q D

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Invalid Simultaneous Transfers α: X  Y, X  Z

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Loading Constant Values into Registers α: X  0 β: X  1

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Making Transfers Mutually Exclusive

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Multi-bit Data Transfers α: X  Y

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Bit and Bit-range Transfers

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Arithmetic and Logical Micro- operations

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Shift Micro-operations

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Specifying Digital Components: D Flip-Flop

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Specifying Digital Components: JK Flip-Flop

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Specifying Digital Components: Left Shift Register

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Specifying Simple Systems

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 System Implementation – Data Paths

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 System Implementation – Data Paths and Control

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 System Implementation Using a Bus and 3-State Buffers

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 System Implementation Using a Bus and a Multiplexer n o j

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter Counts up when U = 1Counts up when U = 1 Count sequence: 000  001  010  011  100  101  000 …Count sequence: 000  001  010  011  100  101  000 … V is 3-bit output = count valueV is 3-bit output = count value C is 1-bit output = 1 when V = 000C is 1-bit output = 1 when V = 000

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter State Table 1 1 1

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter State Diagram

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter RTL Specification

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter System Implementation

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter Another System Implementation

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller C = 1 when car is at toll boothC = 1 when car is at toll booth I[1..0] indicates coin inputI[1..0] indicates coin input Outputs R, G, A:Outputs R, G, A: –Car in toll booth, toll not fully paid: R = 1 –Toll paid: G = 1 –Car left without paying full toll: R = 1, A = 1

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller States

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller State Table

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller State Diagram

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller State Assignments

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Converting State Transitions to RTL Code

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Converting State Transitions to RTL Code

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller RTL Specification (excluding outputs)

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller RTL Specification (outputs)

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL – VHSIC Hardware Description Language Formal syntax – portableFormal syntax – portable Platform independentPlatform independent Design for PLDs, ASICs, or custom chipsDesign for PLDs, ASICs, or custom chips Simulate designsSimulate designs Different levels of abstractionDifferent levels of abstraction

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL Design Structure Library sectionLibrary section Entity sectionEntity section Architecture sectionArchitecture section

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL Library Section library IEEE; use IEEE.std_logic_1164.all;

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL Entity Section

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL Architecture Section

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL – High Level of Abstraction Modulo 6 counterModulo 6 counter Designed as a state machineDesigned as a state machine

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter – Library and Entity Sections

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter – One State

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Architecture Section – State Generation

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Architecture Section – State Generation (continued)

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Architecture Section – State Transition

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL – Low Level of Abstraction

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL – Advanced Capabilities ComponentsComponents TimingTiming SimulationSimulation

Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Summary Micro-operationsMicro-operations RTLRTL RTL specificationsRTL specifications Realizing RTL specificationsRealizing RTL specifications VHDLVHDL