SlideShare a Scribd company logo
1 of 51
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-operations
• RTL
• RTL specifications
• Realizing RTL specifications
• VHDL
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Micro-operations
• Specify data transfer
• Do not specify conditions under which
transfers occur
• Do 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
occur
• Format: 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 = 1
• Count sequence: 000  001  010 
011  100  101  000 …
• V is 3-bit output = count value
• C 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
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 booth
• I[1..0] indicates coin input
• 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 – portable
• Platform independent
• Design for PLDs, ASICs, or custom
chips
• Simulate designs
• Different levels of abstraction
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
VHDL Design Structure
• Library section
• Entity section
• Architecture 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 counter
• Designed 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
• Components
• Timing
• Simulation
Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001
Summary
• Micro-operations
• RTL
• RTL specifications
• Realizing RTL specifications
• VHDL

More Related Content

More from AshokRachapalli1

17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptxAshokRachapalli1
 
joins in dbms its describes about how joins are important and necessity in d...
joins in dbms  its describes about how joins are important and necessity in d...joins in dbms  its describes about how joins are important and necessity in d...
joins in dbms its describes about how joins are important and necessity in d...AshokRachapalli1
 
6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptxAshokRachapalli1
 
inputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxinputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxAshokRachapalli1
 
arithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxarithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxAshokRachapalli1
 
Computer Network Architecture.pptx
Computer Network Architecture.pptxComputer Network Architecture.pptx
Computer Network Architecture.pptxAshokRachapalli1
 
Computer Network Types.pptx
Computer Network Types.pptxComputer Network Types.pptx
Computer Network Types.pptxAshokRachapalli1
 
dataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxdataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxAshokRachapalli1
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptxAshokRachapalli1
 

More from AshokRachapalli1 (20)

17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
 
joins in dbms its describes about how joins are important and necessity in d...
joins in dbms  its describes about how joins are important and necessity in d...joins in dbms  its describes about how joins are important and necessity in d...
joins in dbms its describes about how joins are important and necessity in d...
 
6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
 
Addressing Modes.pptx
Addressing Modes.pptxAddressing Modes.pptx
Addressing Modes.pptx
 
inputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxinputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptx
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
 
lec16-memory.ppt
lec16-memory.pptlec16-memory.ppt
lec16-memory.ppt
 
lecture-17.ppt
lecture-17.pptlecture-17.ppt
lecture-17.ppt
 
arithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxarithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptx
 
instruction format.pptx
instruction format.pptxinstruction format.pptx
instruction format.pptx
 
Computer Network Architecture.pptx
Computer Network Architecture.pptxComputer Network Architecture.pptx
Computer Network Architecture.pptx
 
Computer Network Types.pptx
Computer Network Types.pptxComputer Network Types.pptx
Computer Network Types.pptx
 
dataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxdataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptx
 
Flow Control.pptx
Flow Control.pptxFlow Control.pptx
Flow Control.pptx
 
Chapter4.ppt
Chapter4.pptChapter4.ppt
Chapter4.ppt
 
intro22.ppt
intro22.pptintro22.ppt
intro22.ppt
 
osi.ppt
osi.pptosi.ppt
osi.ppt
 
switching.pptx
switching.pptxswitching.pptx
switching.pptx
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
 

Recently uploaded

(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 

Recently uploaded (20)

(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 

Chapter5 (1).ppt

  • 1. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter 5 Register Transfer Languages
  • 2. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Chapter Outline • Micro-operations • RTL • RTL specifications • Realizing RTL specifications • VHDL
  • 3. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Micro-operations • Specify data transfer • Do not specify conditions under which transfers occur • Do not specify hardware implementation
  • 4. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example: X  Y X
  • 5. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Register Transfer Language • Specify micro-operations and when they occur • Format: conditions: micro-operations
  • 6. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Example: α: X  Y X
  • 7. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Simultaneous Data Transfers α: X  Y, Y  Z Q D
  • 8. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Invalid Simultaneous Transfers α: X  Y, X  Z
  • 9. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Loading Constant Values into Registers α: X  0 β: X  1
  • 10. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Making Transfers Mutually Exclusive
  • 11. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Multi-bit Data Transfers α: X  Y
  • 12. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Bit and Bit-range Transfers
  • 13. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Arithmetic and Logical Micro- operations
  • 14. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Shift Micro-operations
  • 15. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Specifying Digital Components: D Flip-Flop
  • 16. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Specifying Digital Components: JK Flip-Flop
  • 17. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Specifying Digital Components: Left Shift Register
  • 18. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Specifying Simple Systems
  • 19. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 System Implementation – Data Paths
  • 20. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 System Implementation – Data Paths and Control
  • 21. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 System Implementation Using a Bus and 3-State Buffers
  • 22. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 System Implementation Using a Bus and a Multiplexer n o j
  • 23. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter • Counts up when U = 1 • Count sequence: 000  001  010  011  100  101  000 … • V is 3-bit output = count value • C is 1-bit output = 1 when V = 000
  • 24. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter State Table 1 1 1 1 1 1
  • 25. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter State Diagram
  • 26. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter RTL Specification
  • 27. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter System Implementation
  • 28. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter Another System Implementation
  • 29. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller • C = 1 when car is at toll booth • I[1..0] indicates coin input • 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
  • 30. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller States
  • 31. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller State Table
  • 32. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller State Diagram
  • 33. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller State Assignments
  • 34. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Converting State Transitions to RTL Code
  • 35. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Converting State Transitions to RTL Code
  • 36. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller RTL Specification (excluding outputs)
  • 37. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Toll Booth Controller RTL Specification (outputs)
  • 38. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL – VHSIC Hardware Description Language • Formal syntax – portable • Platform independent • Design for PLDs, ASICs, or custom chips • Simulate designs • Different levels of abstraction
  • 39. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL Design Structure • Library section • Entity section • Architecture section
  • 40. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL Library Section library IEEE; use IEEE.std_logic_1164.all;
  • 41. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL Entity Section
  • 42. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL Architecture Section
  • 43. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL – High Level of Abstraction • Modulo 6 counter • Designed as a state machine
  • 44. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter – Library and Entity Sections
  • 45. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Modulo 6 Counter – One State
  • 46. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Architecture Section – State Generation
  • 47. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Architecture Section – State Generation (continued)
  • 48. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Architecture Section – State Transition
  • 49. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL – Low Level of Abstraction
  • 50. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 VHDL – Advanced Capabilities • Components • Timing • Simulation
  • 51. Images courtesy of Addison Wesley Longman, Inc. Copyright © 2001 Summary • Micro-operations • RTL • RTL specifications • Realizing RTL specifications • VHDL