apb
apb
BY SIREESHA DEVI
VERIFICATION TRAINER
INDEX
• INTRODUCTION OF AMBA
• AMBA EVOLUTION
• AMBA ARCHITECTURE
• INTRODUCTION OF APB PROTOCOL
• SIGNAL DESCRIPTIONS
• MASTER-SLAVE COMMUNICATION
• STATE MACHINE
• TIMING DIAGRAMS
INTRODUCTION OF AMBA
• PSELx – Slave select signal, there will be one PSEL signal for each slave connected to
master. If master connected to ‘n’ number of slaves, PSELn is the maximum number of
signals present in the system. (Eg: PSEL1,PSEL2,..,PSELn)
• PENABLE – Indicates the second and subsequent cycles of transfer. When PENABLE is
asserted, the ACCESS phase in the transfer starts.
• PADDR[31:0] – Address bus from Master to Slave, can be up 32 to bit wide
• PWDATA[31:0] – Write data bus from Master to Slave, can be up to 32 bit wide
• PREADY – It is used by the slave to include wait states in the transfer. i.e. whenever slave
is not ready to complete the transaction, it will request the master for some time by de-
asserting the PREADY.
• PSLVERR – Indicates the Success or failure of the transfer. HIGH indicates failure and
LOW indicates Success
• PSTRB[3:0] : The PSTRB signal is only present if DATA_WIDTH is greater than 8. Each
bit of PSTRB corresponds to a write enable for the byte lane on PWDATA.
There is one write strobe for each eight bits of the write data bus.
Therefore, PSTRB[n] corresponds to PWDATA[(8n + 7):(8n)].“
PPROT[2:0]
• To support complex system designs, it is often necessary for both the interconnect and
other devices in the system to provide protection against illegal transactions. It is
provided by Protection Unit in APB Protocol.
PPROT[2:0] : Protection type. This signal indicates the normal, privileged, or secure
protection level of the transaction and whether the transaction is a data access or
an instruction access.
OPERATING STATES
•The PADDR, PWRITE, PSEL, PENABLE, PPROT signals should remain unchanged while
PREADY is low
ERROR RESPONSE