Design and Implementation of
AMBAASB-APB Bridge for ARM
SOCs
by
Department of Electronics & Communication Engineering
BNM Institute of Technology
Manu B.N
1BG11LVS09
Guide : Prabhavathi P
Phase 3 Seminar
AGENDA
 Introduction
 Aim of The Project
 Specifications
 Project Flow
 Implementation & Simulation Results
 Project Progress
 Conferences/Paper Presentations
 Future Enhancements
 Conclusions
 References
 Q & A
28/03/2013 2ASB APB Bridge
Introduction To AMBA
 On chip communication standard
 Technology Independent
 High reusability
28/03/2013 3ASB APB Bridge
Aim of The Project
B
R
I
D
G
E
ASB APB
28/03/2013 4ASB APB Bridge
Specifications
 32 bit address bus
 32 bit data bus
 50 MHz bus clock
 Decode and without decode cycles
HDL Language : Verilog
Tool : XILINX ISE 13.2
Target Device : SPARTAN 3E
28/03/2013 5ASB APB Bridge
Project Flow
The project flow involves designing and
implementing the following blocks:
 ASB Arbiter
 ASB Decoder
 Reset Controller
 APB Bridge
 Remap and Pause Controller
28/03/2013 6ASB APB Bridge
Implementation and Simulation
Results
1) ASB Arbiter :
The ASB arbiter has 4 requests and 4 corresponding grants. The default bus
master is AREQtic. The priorities assigned are as follows:
SL.No Requests: Grants :
1) AREQtic AGNT[3]
2) AREQ1 AGNT[2]
3) AREQ2 AGNT[1]
4) AREQarm AGNT[0]
28/03/2013 7ASB APB Bridge
Implementation and Simulation
Results Continued..
Arbiter Block:
28/03/2013 8ASB APB Bridge
ArbiterLogic.docx
Implementation and Simulation
Results Continued..
28/03/2013 9ASB APB Bridge
ARBITER
GRANTS
ARBITER
REQUESTS
LOCKED
TRANSFER
Implementation and Simulation
Results Continued..
2) Decoder :
● Without Decode Cycles
● With Decode Cycles
28/03/2013 10ASB APB Bridge
With Decode Cycles.docx
Without Decode Cycles.docx
Implementation and Simulation
Results Continued..
28/03/2013 11ASB APB Bridge
Implementation and Simulation
Results Continued..
Memory Map :
28/03/2013 12ASB APB Bridge
Implementation
Without Decode Cycles With Decode Cycles
3/05/2013 AMBA ASB Decoder NCRAECE'13 13
ST_ADDRESS 00
ST_SLAVE 01
ST_ERROR 10
ST_ADDRESS 00
ST_SLAVE 01
ST_DECODE 10
ST_ERROR 11
Implementation and Simulation
Results Continued..
Simulation results without decode cycles:
28/03/2013 14ASB APB Bridge
Out of
Range
Peripheral
Bus not
selected
Implementation and Simulation
Results Continued..
28/03/2013 15ASB APB Bridge
Simulation results with decode cycles:
Out of
Range
Peripheral
Bus not
selected
Extra
State
Implementation and Simulation
Results Continued..
3) Reset Controller :
28/03/2013 16ASB APB Bridge
Implementation and Simulation
Results Continued..
Reset Controller State Machine :
28/03/2013 17ASB APB Bridge
Reset Controller.docx
Implementation and Simulation
Results Continued..
Simulation results :
28/03/2013 18ASB APB Bridge
POWER
ON
RESET
ACTIVE
LOW
RESET
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 19
4. APB Bridge :
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 20
APB Bridge state machine :
ST_IDLE 000
ST_READ 001
ST_ENABLE 010
ST_WRITE 010
ST_WWAIT 111
Bridge state.docx
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 21
READ
WRITE
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 22
5. Remap and Pause Controller:
Remap and Pause.docx
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 23
WRITE
READ
PERIPHERAL
SELECTED
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 24
Remap
Address
Pause
Address
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 25
Top Module.docx
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 26
RESET
CONTROLLER APB BRIDGE
DECODER
REMAP &
PAUSE
ARBITER
Implementation and Simulation
Results Continued..
28/03/2013 ASB APB Bridge 27
GRANTS
REQUESTS
POWER
ON RESET
DEFAULT
MASTER
Project Progress
 ASB Arbiter
 ASB Decoder
 Reset Controller
 APB Bridge
 Remap and Pause Controller
 Integrate all the modules
 Synthesis with power, area and timing reports
 SPARTAN 3E Implementation
 ChipScope Pro Analysis
28/03/2013 28ASB APB Bridge
Conferences/Paper Presentations
28/03/2013 ASB APB Bridge 29
• “ Efficient Design and Implementation of AMBA ASB Decoder” at
National Conference on Recent Advances in Electronics & Communication
Engineering 2013, RNSIT, Bangalore.
• “ Design and Implementation of AMBA ASB APB Bridge” at The International
Conference on VLSI, Communication, Advanced devices, Signals & Systems And
Networking.
Conclusions
28/03/2013 ASB APB Bridge 30
 AMBAASB APB Bridge was designed and implemented successfully.
 Remap and Pause controller was connected to the APB to verify bridge’s
functionality.
 Power, area and timing reports were generated for 180nm
 Spartan 3E implementation and analysis using ChipScope Pro
Future Enhancements :
28/03/2013 31ASB APB Bridge
 Common Power Format (CPF) to reduce power
consumption.
 Optimize area
References :
 AMBA Specifications 2.0 , Copyright ARM Limited 1999
 ASB Example AMBA System , Technical Reference Manual
 Design and Implementation of APB Bridge based on AMBA 4.0 by Chenghai Ma
and Zhijun Liu Shandong University Jinan,China October 2011
 Design of AMBA Based AHB2APB Bridge Vani.R.M and M.Roopa IJCSNS
International Journal of Computer Science and Network Security, VOL.10
No.11, November 2010
 Arbiters: Design Ideas and Coding Styles Matt Weber Silicon Logic
Engineering,Inc.
28/03/2013 32ASB APB Bridge
Questions ?
28/03/2013 33ASB APB Bridge
THANK YOU
28/03/2013 34ASB APB Bridge

Design and Implementation of AMBA ASB APB Bridge

  • 1.
    Design and Implementationof AMBAASB-APB Bridge for ARM SOCs by Department of Electronics & Communication Engineering BNM Institute of Technology Manu B.N 1BG11LVS09 Guide : Prabhavathi P Phase 3 Seminar
  • 2.
    AGENDA  Introduction  Aimof The Project  Specifications  Project Flow  Implementation & Simulation Results  Project Progress  Conferences/Paper Presentations  Future Enhancements  Conclusions  References  Q & A 28/03/2013 2ASB APB Bridge
  • 3.
    Introduction To AMBA On chip communication standard  Technology Independent  High reusability 28/03/2013 3ASB APB Bridge
  • 4.
    Aim of TheProject B R I D G E ASB APB 28/03/2013 4ASB APB Bridge
  • 5.
    Specifications  32 bitaddress bus  32 bit data bus  50 MHz bus clock  Decode and without decode cycles HDL Language : Verilog Tool : XILINX ISE 13.2 Target Device : SPARTAN 3E 28/03/2013 5ASB APB Bridge
  • 6.
    Project Flow The projectflow involves designing and implementing the following blocks:  ASB Arbiter  ASB Decoder  Reset Controller  APB Bridge  Remap and Pause Controller 28/03/2013 6ASB APB Bridge
  • 7.
    Implementation and Simulation Results 1)ASB Arbiter : The ASB arbiter has 4 requests and 4 corresponding grants. The default bus master is AREQtic. The priorities assigned are as follows: SL.No Requests: Grants : 1) AREQtic AGNT[3] 2) AREQ1 AGNT[2] 3) AREQ2 AGNT[1] 4) AREQarm AGNT[0] 28/03/2013 7ASB APB Bridge
  • 8.
    Implementation and Simulation ResultsContinued.. Arbiter Block: 28/03/2013 8ASB APB Bridge ArbiterLogic.docx
  • 9.
    Implementation and Simulation ResultsContinued.. 28/03/2013 9ASB APB Bridge ARBITER GRANTS ARBITER REQUESTS LOCKED TRANSFER
  • 10.
    Implementation and Simulation ResultsContinued.. 2) Decoder : ● Without Decode Cycles ● With Decode Cycles 28/03/2013 10ASB APB Bridge With Decode Cycles.docx Without Decode Cycles.docx
  • 11.
    Implementation and Simulation ResultsContinued.. 28/03/2013 11ASB APB Bridge
  • 12.
    Implementation and Simulation ResultsContinued.. Memory Map : 28/03/2013 12ASB APB Bridge
  • 13.
    Implementation Without Decode CyclesWith Decode Cycles 3/05/2013 AMBA ASB Decoder NCRAECE'13 13 ST_ADDRESS 00 ST_SLAVE 01 ST_ERROR 10 ST_ADDRESS 00 ST_SLAVE 01 ST_DECODE 10 ST_ERROR 11
  • 14.
    Implementation and Simulation ResultsContinued.. Simulation results without decode cycles: 28/03/2013 14ASB APB Bridge Out of Range Peripheral Bus not selected
  • 15.
    Implementation and Simulation ResultsContinued.. 28/03/2013 15ASB APB Bridge Simulation results with decode cycles: Out of Range Peripheral Bus not selected Extra State
  • 16.
    Implementation and Simulation ResultsContinued.. 3) Reset Controller : 28/03/2013 16ASB APB Bridge
  • 17.
    Implementation and Simulation ResultsContinued.. Reset Controller State Machine : 28/03/2013 17ASB APB Bridge Reset Controller.docx
  • 18.
    Implementation and Simulation ResultsContinued.. Simulation results : 28/03/2013 18ASB APB Bridge POWER ON RESET ACTIVE LOW RESET
  • 19.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 19 4. APB Bridge :
  • 20.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 20 APB Bridge state machine : ST_IDLE 000 ST_READ 001 ST_ENABLE 010 ST_WRITE 010 ST_WWAIT 111 Bridge state.docx
  • 21.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 21 READ WRITE
  • 22.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 22 5. Remap and Pause Controller: Remap and Pause.docx
  • 23.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 23 WRITE READ PERIPHERAL SELECTED
  • 24.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 24 Remap Address Pause Address
  • 25.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 25 Top Module.docx
  • 26.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 26 RESET CONTROLLER APB BRIDGE DECODER REMAP & PAUSE ARBITER
  • 27.
    Implementation and Simulation ResultsContinued.. 28/03/2013 ASB APB Bridge 27 GRANTS REQUESTS POWER ON RESET DEFAULT MASTER
  • 28.
    Project Progress  ASBArbiter  ASB Decoder  Reset Controller  APB Bridge  Remap and Pause Controller  Integrate all the modules  Synthesis with power, area and timing reports  SPARTAN 3E Implementation  ChipScope Pro Analysis 28/03/2013 28ASB APB Bridge
  • 29.
    Conferences/Paper Presentations 28/03/2013 ASBAPB Bridge 29 • “ Efficient Design and Implementation of AMBA ASB Decoder” at National Conference on Recent Advances in Electronics & Communication Engineering 2013, RNSIT, Bangalore. • “ Design and Implementation of AMBA ASB APB Bridge” at The International Conference on VLSI, Communication, Advanced devices, Signals & Systems And Networking.
  • 30.
    Conclusions 28/03/2013 ASB APBBridge 30  AMBAASB APB Bridge was designed and implemented successfully.  Remap and Pause controller was connected to the APB to verify bridge’s functionality.  Power, area and timing reports were generated for 180nm  Spartan 3E implementation and analysis using ChipScope Pro
  • 31.
    Future Enhancements : 28/03/201331ASB APB Bridge  Common Power Format (CPF) to reduce power consumption.  Optimize area
  • 32.
    References :  AMBASpecifications 2.0 , Copyright ARM Limited 1999  ASB Example AMBA System , Technical Reference Manual  Design and Implementation of APB Bridge based on AMBA 4.0 by Chenghai Ma and Zhijun Liu Shandong University Jinan,China October 2011  Design of AMBA Based AHB2APB Bridge Vani.R.M and M.Roopa IJCSNS International Journal of Computer Science and Network Security, VOL.10 No.11, November 2010  Arbiters: Design Ideas and Coding Styles Matt Weber Silicon Logic Engineering,Inc. 28/03/2013 32ASB APB Bridge
  • 33.
  • 34.