SlideShare a Scribd company logo
1 of 40
IMPLEMENTATION OF AHB
PROTOCOL USING VERILOG
Presented By: Nirav Desai(13014061003) Guided By: Rajesh Navandar
e-Infochips Institute of Training Research and Academics Limited
TABLE OF CONTENT
• Advanced High Performance Bus
• Features of AHB BUS
• AMBA 2.0
• Components in AHB
• AHB Signals
• Request / Grant Protocol
• Pipelined Transactions
• RTL Diagrams of all modules
• Simulation Result of all modules
• Advantages
• References
6/13/2014 2
Implementation of AHB Protocol using
verilog
Advanced High Performance Bus
• AHB is a new generation of AMBA bus which is intended to address the
requirements of high-performance synthesizable designs.
• It is a high-performance system bus that supports multiple bus masters and
provides high-bandwidth operation.
6/13/2014 3
Implementation of AHB Protocol using
verilog
Features of AHB BUS
AMBAAHB implements the features required for high-performance, high
clock frequency systems
Including:
• Burst transfers
• Split transactions
• Single-cycle bus master handover
• Single-clock edge operation
• Wider data bus configurations (64/128 bits).
6/13/2014 4
Implementation of AHB Protocol using
verilog
AMBA 2.0
6/13/2014 5
Implementation of AHB Protocol using
verilog
Components in AHB
• Master
– AHB master is able to initiate read and write operations by providing an
address and control information. Only one bus master is allowed to actively use
the bus at any one time.(max. 16)
• Slave
– AHB slave responds to a read or write operation within a given address-space
range. The bus slave signals back to the active master the success, failure or
waiting of the data transfer.
6/13/2014 6
Implementation of AHB Protocol using
verilog
Components in AHB
• Arbiter
– AHB arbiter ensures that only one bus master at a time is allowed to initiate
data transfers.
• Decoder
– AHB decoder is used to decode the address of each transfer and provide a
select signal for the slave that is involved in the transfer. A single centralized
decoder is required in all AHB implementations.
6/13/2014 7
Implementation of AHB Protocol using
verilog
AHB Response Signals
• Response signals
– HREADY
• Transfer done, ready for next transfer
– HRESP[1:0]
• OKAY transfer complete
• ERROR transfer failure(ex: write ROM)
• RETRY higher priority master can access bus
• SPLIT other master can access bus
6/13/2014 8
Implementation of AHB Protocol using
verilog
AHB Arbitration Signals
• Arbitration signals
– HGRANTx
• Select active bus master
– HMASTER[3:0]
• Multiplex signals that sent from master to slave
– HMASTLOCK
• Locked sequence
6/13/2014 9
Implementation of AHB Protocol using
verilog
Master Signals
6/13/2014 10
Implementation of AHB Protocol using
verilog
Arbiters Signals
6/13/2014 11
Implementation of AHB Protocol using
verilog
Slave Signals
6/13/2014 12
Implementation of AHB Protocol using
verilog
Request / Grant Protocol
Request
CPU #1
CPU #2
IP Block #1
IP Block #1
IP Block #2
IP Block #3
IP Block #4
6/13/2014 13
Implementation of AHB Protocol using
verilog
Request / Grant Protocol
Request
Grant
CPU #1
CPU #2
IP Block #1
IP Block #1
IP Block #2
IP Block #3
IP Block #4
6/13/2014 14
Implementation of AHB Protocol using
verilog
Request / Grant Protocol
Request
Grant
Transaction
CPU #1
CPU #2
IP Block #1
IP Block #1
IP Block #2
IP Block #3
IP Block #4
6/13/2014 15
Implementation of AHB Protocol using
verilog
Request / Grant Protocol
Before a transaction a master makes a
request to the central arbiter
6/13/2014 16
Implementation of AHB Protocol using
verilog
Request / Grant Protocol
Before a transaction a master
makes a request to the central
arbiter
Eventually the request is granted
6/13/2014 17
Implementation of AHB Protocol using
verilog
Request / Grant Protocol
Before a transaction a master
makes a request to the central
arbiter
Eventually the request is granted
Then the
transaction
proceeds
6/13/2014 18
Implementation of AHB Protocol using
verilog
Request / Grant Protocol
Before a transaction a master makes a
request to the central arbiter
Eventually the request is granted
Then the
transaction
proceeds
Performance Impact
6/13/2014 19
Implementation of AHB Protocol using
verilog
Pipelined Transactions
• To help improve bus efficiency the transactions on
the bus can be pipelined
• This is really a simple implementation of multiple
outstanding transactions
• The address for one transaction can be presented
before the data from the previous transaction has
been completed
6/13/2014 20
Implementation of AHB Protocol using
verilog
Pipelined Transactions
6/13/2014 21
Implementation of AHB Protocol using
verilog
Pipelined Transactions
Transaction A Starts
6/13/2014 22
Implementation of AHB Protocol using
verilog
Pipelined Transactions
Transaction A Starts Transaction B Starts
6/13/2014 23
Implementation of AHB Protocol using
verilog
Pipelined Transactions
Transaction A Starts Transaction B Starts
Transaction A Completes
6/13/2014 24
Implementation of AHB Protocol using
verilog
Connections of AHB masters
6/13/2014
Implementation of AHB Protocol using
verilog
25
Connection of AHB slaves
6/13/2014
Implementation of AHB Protocol using
verilog
26
Arbiter RTL
6/13/2014 27
Implementation of AHB Protocol using
verilog
Arbiter Simulation Result
6/13/2014 28
Implementation of AHB Protocol using
verilog
Decoder RTL
6/13/2014
Implementation of AHB Protocol using
verilog
29
Decoder Simulation Result
6/13/2014
Implementation of AHB Protocol using
verilog
30
MUX Slave To Master RTL
6/13/2014
Implementation of AHB Protocol using
verilog
31
MUX Slave To Master Simulation Result
6/13/2014
Implementation of AHB Protocol using
verilog
32
MUX Master to Slave RTL
6/13/2014
Implementation of AHB Protocol using
verilog
33
MUX Master to Slave Simulation Result
6/13/2014
Implementation of AHB Protocol using
verilog
34
MUX peripherals to bridge RTL
6/13/2014
Implementation of AHB Protocol using
verilog
35
MUX peripherals to bridge Simulation Result
6/13/2014
Implementation of AHB Protocol using
verilog
36
Advantages
• Relatively easy to add new blocks
• Still has the familiar bus structure
• Low hardware cost
• Bus arbitration “solves” many ordering problems
6/13/2014 37
Implementation of AHB Protocol using
verilog
38
Disadvantages
• Busses that require arbitration:
– must route signals to the arbitration logic and back
– must find a “fair” way to share the bus
– slaves are not always available => backpressure
– difficult to provide performance guarantees...
• Still potentially a bandwidth bottleneck
• Still doesn’t scale well when blocks are added
• Multiple outstanding transactions not handled well -
no ordering information
References
[1] AMBA Specification, Rev. May, 2.0, 1999.
[2] High-Speed Single-Port SRAM (HS-SRAM-SP) Generator User Manual,
Artisan Components Inc., Release 4.0, Aug. 2000.
[3] Debussy User Guide and Tutorial, NOVAS Software Inc., Sept. 2002.
[4] Compatibility of Network SRAM and ZBT SRAM, Mitsubishi LSIs
Application Note (AP-S001E), Rev. C, Renesas Tech. Corp., Sept. 2002.
[5] DesignWare AHB Verification IP Databook, ver. 2.0a, Synopsys Inc., July
2002.
[6] VMT User Manual, Release 2.0a, Synopsys Inc., July 2002.
[7] Vera User Guide, ver. 5.1, Synopsys Inc., June 2002.
[8] SolidAMBA, Averant Inc., Dec. 2003.
6/13/2014 39
Implementation of AHB Protocol using
verilog
Thank you…
6/13/2014 40
Implementation of AHB Protocol using
verilog

More Related Content

What's hot

Session 8,9 PCI Express
Session 8,9 PCI ExpressSession 8,9 PCI Express
Session 8,9 PCI Express
Subhash Iyer
 

What's hot (20)

AXI Protocol.pptx
AXI Protocol.pptxAXI Protocol.pptx
AXI Protocol.pptx
 
Amba presentation2
Amba presentation2Amba presentation2
Amba presentation2
 
Axi protocol
Axi protocolAxi protocol
Axi protocol
 
AMBA AHB 5
AMBA AHB 5AMBA AHB 5
AMBA AHB 5
 
Axi
AxiAxi
Axi
 
AHB To APB BRIDGE.pptx
AHB To APB BRIDGE.pptxAHB To APB BRIDGE.pptx
AHB To APB BRIDGE.pptx
 
Amba bus
Amba busAmba bus
Amba bus
 
Axi protocol
Axi protocolAxi protocol
Axi protocol
 
axi protocol
axi protocolaxi protocol
axi protocol
 
AMBA 3 APB Protocol
AMBA 3 APB ProtocolAMBA 3 APB Protocol
AMBA 3 APB Protocol
 
Design and Implementation of an Advanced DMA Controller on AMBA-Based SoC
Design and Implementation of an Advanced DMA Controller on AMBA-Based SoCDesign and Implementation of an Advanced DMA Controller on AMBA-Based SoC
Design and Implementation of an Advanced DMA Controller on AMBA-Based SoC
 
Axi
AxiAxi
Axi
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Introduction about APB Protocol
Introduction about APB ProtocolIntroduction about APB Protocol
Introduction about APB Protocol
 
AMBA BUS.pptx
AMBA BUS.pptxAMBA BUS.pptx
AMBA BUS.pptx
 
Session 8,9 PCI Express
Session 8,9 PCI ExpressSession 8,9 PCI Express
Session 8,9 PCI Express
 
I2C BUS PROTOCOL
I2C BUS PROTOCOLI2C BUS PROTOCOL
I2C BUS PROTOCOL
 
Pcie basic
Pcie basicPcie basic
Pcie basic
 
SPI Bus Protocol
SPI Bus ProtocolSPI Bus Protocol
SPI Bus Protocol
 
Design and Implementation of Axi-Apb Bridge based on Amba 4.0
Design and Implementation of Axi-Apb Bridge based on Amba 4.0Design and Implementation of Axi-Apb Bridge based on Amba 4.0
Design and Implementation of Axi-Apb Bridge based on Amba 4.0
 

Similar to AMBA 2.0 PPT

ES-HAS: An Edge- and SDN-Assisted Framework for HTTP Adaptive Video Streaming
ES-HAS: An Edge- and SDN-Assisted Framework for HTTP Adaptive Video StreamingES-HAS: An Edge- and SDN-Assisted Framework for HTTP Adaptive Video Streaming
ES-HAS: An Edge- and SDN-Assisted Framework for HTTP Adaptive Video Streaming
Alpen-Adria-Universität
 
Building high performance microservices in finance with Apache Thrift
Building high performance microservices in finance with Apache ThriftBuilding high performance microservices in finance with Apache Thrift
Building high performance microservices in finance with Apache Thrift
RX-M Enterprises LLC
 
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
Reza Farahani
 
CSDN: CDN-Aware QoE Optimization in SDN-Assisted HTTP Adaptive Video Streaming
CSDN: CDN-Aware QoE Optimization in SDN-Assisted HTTP Adaptive Video StreamingCSDN: CDN-Aware QoE Optimization in SDN-Assisted HTTP Adaptive Video Streaming
CSDN: CDN-Aware QoE Optimization in SDN-Assisted HTTP Adaptive Video Streaming
Alpen-Adria-Universität
 

Similar to AMBA 2.0 PPT (20)

AMBA 2.0 REPORT
AMBA 2.0 REPORTAMBA 2.0 REPORT
AMBA 2.0 REPORT
 
Integrating Unified Communications and Collaboration on an Aruba Access Network
Integrating Unified Communications and Collaboration on an Aruba Access NetworkIntegrating Unified Communications and Collaboration on an Aruba Access Network
Integrating Unified Communications and Collaboration on an Aruba Access Network
 
Load Balancing
Load BalancingLoad Balancing
Load Balancing
 
ES-HAS: An Edge- and SDN-Assisted Framework for HTTP Adaptive Video Streaming
ES-HAS: An Edge- and SDN-Assisted Framework for HTTP Adaptive Video StreamingES-HAS: An Edge- and SDN-Assisted Framework for HTTP Adaptive Video Streaming
ES-HAS: An Edge- and SDN-Assisted Framework for HTTP Adaptive Video Streaming
 
Load Balance with NSX-T.pptx
Load Balance with NSX-T.pptxLoad Balance with NSX-T.pptx
Load Balance with NSX-T.pptx
 
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
 
Building high performance microservices in finance with Apache Thrift
Building high performance microservices in finance with Apache ThriftBuilding high performance microservices in finance with Apache Thrift
Building high performance microservices in finance with Apache Thrift
 
Implementation of intelligent wide area network(wan)
Implementation of intelligent wide area network(wan)Implementation of intelligent wide area network(wan)
Implementation of intelligent wide area network(wan)
 
haproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdfhaproxy-150423120602-conversion-gate01.pdf
haproxy-150423120602-conversion-gate01.pdf
 
HAProxy
HAProxy HAProxy
HAProxy
 
TV White Space Webinar presented by Dorin Goldfeder, Sales Director
TV White Space Webinar presented by Dorin Goldfeder, Sales DirectorTV White Space Webinar presented by Dorin Goldfeder, Sales Director
TV White Space Webinar presented by Dorin Goldfeder, Sales Director
 
Route Origin Validation - A MANRS Approach
Route Origin Validation - A MANRS ApproachRoute Origin Validation - A MANRS Approach
Route Origin Validation - A MANRS Approach
 
OIF Transport SDN Interop - ECOC 2016
OIF Transport SDN Interop - ECOC 2016OIF Transport SDN Interop - ECOC 2016
OIF Transport SDN Interop - ECOC 2016
 
CoAP in Reactive Blocks
CoAP in Reactive BlocksCoAP in Reactive Blocks
CoAP in Reactive Blocks
 
IPv6 on the Interop Network
IPv6 on the Interop NetworkIPv6 on the Interop Network
IPv6 on the Interop Network
 
WebRTC DataChannels demystified
WebRTC DataChannels demystifiedWebRTC DataChannels demystified
WebRTC DataChannels demystified
 
Inter-AS MPLS VPN Deployment
Inter-AS MPLS VPN DeploymentInter-AS MPLS VPN Deployment
Inter-AS MPLS VPN Deployment
 
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
 
CSDN: CDN-Aware QoE Optimization in SDN-Assisted HTTP Adaptive Video Streaming
CSDN: CDN-Aware QoE Optimization in SDN-Assisted HTTP Adaptive Video StreamingCSDN: CDN-Aware QoE Optimization in SDN-Assisted HTTP Adaptive Video Streaming
CSDN: CDN-Aware QoE Optimization in SDN-Assisted HTTP Adaptive Video Streaming
 
A-to-Z design guide for the all-wireless workplace
A-to-Z design guide for the all-wireless workplaceA-to-Z design guide for the all-wireless workplace
A-to-Z design guide for the all-wireless workplace
 

More from Nirav Desai

“Optimized AES Algorithm Core Using FeedBack Architecture”
“Optimized AES Algorithm Core Using FeedBack Architecture” “Optimized AES Algorithm Core Using FeedBack Architecture”
“Optimized AES Algorithm Core Using FeedBack Architecture”
Nirav Desai
 
System verilog verification building blocks
System verilog verification building blocksSystem verilog verification building blocks
System verilog verification building blocks
Nirav Desai
 
Session 8 assertion_based_verification_and_interfaces
Session 8 assertion_based_verification_and_interfacesSession 8 assertion_based_verification_and_interfaces
Session 8 assertion_based_verification_and_interfaces
Nirav Desai
 
Session 9 advance_verification_features
Session 9 advance_verification_featuresSession 9 advance_verification_features
Session 9 advance_verification_features
Nirav Desai
 
Session 7 code_functional_coverage
Session 7 code_functional_coverageSession 7 code_functional_coverage
Session 7 code_functional_coverage
Nirav Desai
 
Session 6 sv_randomization
Session 6 sv_randomizationSession 6 sv_randomization
Session 6 sv_randomization
Nirav Desai
 
List of vlsi companies in bangalore
List of vlsi companies in bangaloreList of vlsi companies in bangalore
List of vlsi companies in bangalore
Nirav Desai
 
Xilinx design flow -By BhargavTarpara
Xilinx design flow -By BhargavTarparaXilinx design flow -By BhargavTarpara
Xilinx design flow -By BhargavTarpara
Nirav Desai
 

More from Nirav Desai (9)

SATA Protocol
SATA ProtocolSATA Protocol
SATA Protocol
 
“Optimized AES Algorithm Core Using FeedBack Architecture”
“Optimized AES Algorithm Core Using FeedBack Architecture” “Optimized AES Algorithm Core Using FeedBack Architecture”
“Optimized AES Algorithm Core Using FeedBack Architecture”
 
System verilog verification building blocks
System verilog verification building blocksSystem verilog verification building blocks
System verilog verification building blocks
 
Session 8 assertion_based_verification_and_interfaces
Session 8 assertion_based_verification_and_interfacesSession 8 assertion_based_verification_and_interfaces
Session 8 assertion_based_verification_and_interfaces
 
Session 9 advance_verification_features
Session 9 advance_verification_featuresSession 9 advance_verification_features
Session 9 advance_verification_features
 
Session 7 code_functional_coverage
Session 7 code_functional_coverageSession 7 code_functional_coverage
Session 7 code_functional_coverage
 
Session 6 sv_randomization
Session 6 sv_randomizationSession 6 sv_randomization
Session 6 sv_randomization
 
List of vlsi companies in bangalore
List of vlsi companies in bangaloreList of vlsi companies in bangalore
List of vlsi companies in bangalore
 
Xilinx design flow -By BhargavTarpara
Xilinx design flow -By BhargavTarparaXilinx design flow -By BhargavTarpara
Xilinx design flow -By BhargavTarpara
 

Recently uploaded

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
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
 

Recently uploaded (20)

UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
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
 
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...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
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...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 

AMBA 2.0 PPT

  • 1. IMPLEMENTATION OF AHB PROTOCOL USING VERILOG Presented By: Nirav Desai(13014061003) Guided By: Rajesh Navandar e-Infochips Institute of Training Research and Academics Limited
  • 2. TABLE OF CONTENT • Advanced High Performance Bus • Features of AHB BUS • AMBA 2.0 • Components in AHB • AHB Signals • Request / Grant Protocol • Pipelined Transactions • RTL Diagrams of all modules • Simulation Result of all modules • Advantages • References 6/13/2014 2 Implementation of AHB Protocol using verilog
  • 3. Advanced High Performance Bus • AHB is a new generation of AMBA bus which is intended to address the requirements of high-performance synthesizable designs. • It is a high-performance system bus that supports multiple bus masters and provides high-bandwidth operation. 6/13/2014 3 Implementation of AHB Protocol using verilog
  • 4. Features of AHB BUS AMBAAHB implements the features required for high-performance, high clock frequency systems Including: • Burst transfers • Split transactions • Single-cycle bus master handover • Single-clock edge operation • Wider data bus configurations (64/128 bits). 6/13/2014 4 Implementation of AHB Protocol using verilog
  • 5. AMBA 2.0 6/13/2014 5 Implementation of AHB Protocol using verilog
  • 6. Components in AHB • Master – AHB master is able to initiate read and write operations by providing an address and control information. Only one bus master is allowed to actively use the bus at any one time.(max. 16) • Slave – AHB slave responds to a read or write operation within a given address-space range. The bus slave signals back to the active master the success, failure or waiting of the data transfer. 6/13/2014 6 Implementation of AHB Protocol using verilog
  • 7. Components in AHB • Arbiter – AHB arbiter ensures that only one bus master at a time is allowed to initiate data transfers. • Decoder – AHB decoder is used to decode the address of each transfer and provide a select signal for the slave that is involved in the transfer. A single centralized decoder is required in all AHB implementations. 6/13/2014 7 Implementation of AHB Protocol using verilog
  • 8. AHB Response Signals • Response signals – HREADY • Transfer done, ready for next transfer – HRESP[1:0] • OKAY transfer complete • ERROR transfer failure(ex: write ROM) • RETRY higher priority master can access bus • SPLIT other master can access bus 6/13/2014 8 Implementation of AHB Protocol using verilog
  • 9. AHB Arbitration Signals • Arbitration signals – HGRANTx • Select active bus master – HMASTER[3:0] • Multiplex signals that sent from master to slave – HMASTLOCK • Locked sequence 6/13/2014 9 Implementation of AHB Protocol using verilog
  • 10. Master Signals 6/13/2014 10 Implementation of AHB Protocol using verilog
  • 11. Arbiters Signals 6/13/2014 11 Implementation of AHB Protocol using verilog
  • 12. Slave Signals 6/13/2014 12 Implementation of AHB Protocol using verilog
  • 13. Request / Grant Protocol Request CPU #1 CPU #2 IP Block #1 IP Block #1 IP Block #2 IP Block #3 IP Block #4 6/13/2014 13 Implementation of AHB Protocol using verilog
  • 14. Request / Grant Protocol Request Grant CPU #1 CPU #2 IP Block #1 IP Block #1 IP Block #2 IP Block #3 IP Block #4 6/13/2014 14 Implementation of AHB Protocol using verilog
  • 15. Request / Grant Protocol Request Grant Transaction CPU #1 CPU #2 IP Block #1 IP Block #1 IP Block #2 IP Block #3 IP Block #4 6/13/2014 15 Implementation of AHB Protocol using verilog
  • 16. Request / Grant Protocol Before a transaction a master makes a request to the central arbiter 6/13/2014 16 Implementation of AHB Protocol using verilog
  • 17. Request / Grant Protocol Before a transaction a master makes a request to the central arbiter Eventually the request is granted 6/13/2014 17 Implementation of AHB Protocol using verilog
  • 18. Request / Grant Protocol Before a transaction a master makes a request to the central arbiter Eventually the request is granted Then the transaction proceeds 6/13/2014 18 Implementation of AHB Protocol using verilog
  • 19. Request / Grant Protocol Before a transaction a master makes a request to the central arbiter Eventually the request is granted Then the transaction proceeds Performance Impact 6/13/2014 19 Implementation of AHB Protocol using verilog
  • 20. Pipelined Transactions • To help improve bus efficiency the transactions on the bus can be pipelined • This is really a simple implementation of multiple outstanding transactions • The address for one transaction can be presented before the data from the previous transaction has been completed 6/13/2014 20 Implementation of AHB Protocol using verilog
  • 21. Pipelined Transactions 6/13/2014 21 Implementation of AHB Protocol using verilog
  • 22. Pipelined Transactions Transaction A Starts 6/13/2014 22 Implementation of AHB Protocol using verilog
  • 23. Pipelined Transactions Transaction A Starts Transaction B Starts 6/13/2014 23 Implementation of AHB Protocol using verilog
  • 24. Pipelined Transactions Transaction A Starts Transaction B Starts Transaction A Completes 6/13/2014 24 Implementation of AHB Protocol using verilog
  • 25. Connections of AHB masters 6/13/2014 Implementation of AHB Protocol using verilog 25
  • 26. Connection of AHB slaves 6/13/2014 Implementation of AHB Protocol using verilog 26
  • 27. Arbiter RTL 6/13/2014 27 Implementation of AHB Protocol using verilog
  • 28. Arbiter Simulation Result 6/13/2014 28 Implementation of AHB Protocol using verilog
  • 29. Decoder RTL 6/13/2014 Implementation of AHB Protocol using verilog 29
  • 30. Decoder Simulation Result 6/13/2014 Implementation of AHB Protocol using verilog 30
  • 31. MUX Slave To Master RTL 6/13/2014 Implementation of AHB Protocol using verilog 31
  • 32. MUX Slave To Master Simulation Result 6/13/2014 Implementation of AHB Protocol using verilog 32
  • 33. MUX Master to Slave RTL 6/13/2014 Implementation of AHB Protocol using verilog 33
  • 34. MUX Master to Slave Simulation Result 6/13/2014 Implementation of AHB Protocol using verilog 34
  • 35. MUX peripherals to bridge RTL 6/13/2014 Implementation of AHB Protocol using verilog 35
  • 36. MUX peripherals to bridge Simulation Result 6/13/2014 Implementation of AHB Protocol using verilog 36
  • 37. Advantages • Relatively easy to add new blocks • Still has the familiar bus structure • Low hardware cost • Bus arbitration “solves” many ordering problems 6/13/2014 37 Implementation of AHB Protocol using verilog
  • 38. 38 Disadvantages • Busses that require arbitration: – must route signals to the arbitration logic and back – must find a “fair” way to share the bus – slaves are not always available => backpressure – difficult to provide performance guarantees... • Still potentially a bandwidth bottleneck • Still doesn’t scale well when blocks are added • Multiple outstanding transactions not handled well - no ordering information
  • 39. References [1] AMBA Specification, Rev. May, 2.0, 1999. [2] High-Speed Single-Port SRAM (HS-SRAM-SP) Generator User Manual, Artisan Components Inc., Release 4.0, Aug. 2000. [3] Debussy User Guide and Tutorial, NOVAS Software Inc., Sept. 2002. [4] Compatibility of Network SRAM and ZBT SRAM, Mitsubishi LSIs Application Note (AP-S001E), Rev. C, Renesas Tech. Corp., Sept. 2002. [5] DesignWare AHB Verification IP Databook, ver. 2.0a, Synopsys Inc., July 2002. [6] VMT User Manual, Release 2.0a, Synopsys Inc., July 2002. [7] Vera User Guide, ver. 5.1, Synopsys Inc., June 2002. [8] SolidAMBA, Averant Inc., Dec. 2003. 6/13/2014 39 Implementation of AHB Protocol using verilog
  • 40. Thank you… 6/13/2014 40 Implementation of AHB Protocol using verilog