|
|
AMBA® 3 APB Protocol -A case study Aditya Dayal M. Tech, VLSI Design ITM University, Gwalior
The Advanced Microcontroller Bus Architecture (AMBA) is used as the on-chip bus in system-on-a-chip(SoC) designs. The scope of AMBA has gone far beyond microcontroller devices, and is now widely used on a range of ASIC and SoC parts including applications processors used in modern portable mobile devices like smartphones. The AMBA protocol is an on-chip interconnect specification for the connection and management of functional blocks in a System-on-Chip (SoC). It facilitates development of multi-processor designs with large numbers of controllers and peripherals. AMBA – A Introduction
APB ASB AHB AXI 1995 1999 2003 Time Performance ARM Protocols-history
AMBA was introduced by ARM Ltd in 1996. The first AMBA buses were Advanced System Bus (ASB) and Advanced Peripheral Bus (APB). In its 2nd version, AMBA 2, ARM added AMBA High-performance Bus (AHB) that is a single clock-edge protocol. In 2003, ARM introduced the 3rd generation, AMBA 3, including AXI to reach even higher performance interconnect and the Advanced Trace Bus (ATB) as part of the Core-Sight on-chip debug and trace solution. THIS enables software and hardware developers to identify real-time software or hardware defects and quickly resolve them, ensuring higher productivity and lower risk developments. IN 2010 ,ARM introduced the 4th generation, AMBA 4 including AMBA 4 AXI4,AXI4-Lite, and AXI4-Stream Protocol.
AMBA protocol family (3.0) AHB (Advanced High-performance bus) Highest performance bus in AMBA family before AXI. The AMBA AHB is for high-performance, high clock frequency system modules. The AHB acts as the high-performance system backbone bus. AHB supports the efficient connection of processors, on-chip memories and off-chip external memory interfaces. Suitable for medium complexity . AHB –Lite Subset of the full AHB specification. Intended preferably for use in designs where only a single master is used.
APB (Advanced Peripheral Bus) AMBA APB is optimized for minimal power consumption and reduced interface complexity to support peripherals such as timers, interrupt controllers, UARTs, I/O ports, etc. Connected to the system bus via a bridge, helps reduce system power consumption Easy to interface to, with little logic involved and a few corner cases to validate. AXI (Advanced Extensible Bus) Highly flexible. Higher performance interconnect.
AMBA BUS ARCHITECTURE High-bandwidth External memory Interface High performance ARM processor High bandwidth on_-chip RAM AHB or AXI AHB to APB Bridge or AXI to APB bridge APB DMA bus master B R I D G E UART Timer Keypad PIO Application Type Serves as a framework for SoC designs. System-on-a-chip (SoC) designs. On-chip bus for arm processors.
AMBA 3 Markets Mobile segment Feature phone Voice phone PDAs Portable Audio Smart phone Portable Media Digital Camera Home segment Set Top Box DTV/HDTV DSC/DVC DVD Tethered Gaming Portable Gaming
AHB vs. APB
MICRO ARCHITECTURE OF APB3
Global Signals
MASTER signals
Slave signals
STATE DIAGRAM
The state machine operates through the following states: IDLE : This is the default state of the APB. SETUP : When a transfer is required the bus moves into the SETUP state, where the appropriate select signal, PSELx, is asserted. The bus only remains in the SETUP state for one clock cycle and always moves to the ACCESS state on the next rising edge of the clock. ACCESS : The enable signal, PENABLE, is asserted in the ACCESS state. The address, write, select, and write data signals must remain stable during the transition from the SETUP to ACCESS state. Exit from the ACCESS state is controlled by the PREADY signal from the slave: If PREADY is held LOW by the slave then the peripheral bus remains in the ACCESS state. If PREADY is driven HIGH by the slave then the ACCESS state is exited and the bus returns to the IDLE state if no more transfers are required. Alternatively, the bus moves directly to the SETUP state if another transfer follows.
WRITE TRANSFER(NO WAIT STATE)
WRITE TRANSFER (WAIT STATE)
READ TRANSFER (NO WAIT STATE)
READ TRANSFER( WAIT STATE)
ERROR RESPONSE (WRITE TRANSFER)
ERROR RESPONSE (READ TRANSFER)
??
by adityadayal2008 | Modified: 9 months ago
Language: English | Topic: Education
| 30 Views | 86 Downloads | 1 Embeds |
Summary: APB (Advanced Peripheral Bus) is a part of the AMBA hierarchy of buses. It is designed for low bandwidth control access and for low power peripherals. APB also reduces complexity to support peripheral function, it support 32 bit 66MHz signal. The latest version APB 3.0 ensures that all signal transitions are only related to the rising edge of the clock, this improvement means the APB peripherals can be integrated easily into any design flow.
| URL: |
No comments posted yet
Comments