On Chip Bus - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

On Chip Bus

Description:

Title: PowerPoint Subject: amba bus Author: thinking Last modified by: tsung Created Date: 5/12/2003 12:25:57 PM Document presentation format – PowerPoint PPT presentation

Number of Views:84
Avg rating:3.0/5.0
Slides: 27
Provided by: thin176
Category:
Tags: bus | chip | excalibur

less

Transcript and Presenter's Notes

Title: On Chip Bus


1
On Chip Bus
National Taiwan University Adopted from National
Taiwan University SOC Course Material
2
Outline
  • AMBA Bus
  • Advanced System Bus (ASB)
  • Advanced High-performance Bus (AHB)
  • Advanced Peripheral Bus (APB)

3
Bus Architecture
4
Outline
  • AMBA Bus
  • Advanced System Bus
  • High performance
  • Pipelined operation
  • Multiple bus master
  • Advanced High-performance Bus
  • Advanced Peripheral Bus

5
Outline
  • AMBA Bus
  • Advanced System Bus
  • Advanced High-performance Bus
  • High performance
  • Pipelined operation
  • Multiple bus master
  • Burst transfers
  • Advanced Peripheral Bus

6
AHB simple Arch.
7
AHB Components
  • AHB Components
  • 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)
  • 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.

8
AHB Components(ii)
  • AHB Components
  • AHB arbiter ensures that only one bus master at a
    time is allowed to initiate data transfers.
  • 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.

9
AHB Signals(i)
  • AHB Signals can be classified as
  • Clock (HCLK)
  • Address and read/write data (HADDR, HRDATA,
    HWDATA)
  • Arbitration (HGRANTx, HMASTER, HMASTLOCK,)
  • Control signal (HRESETn,)
  • Response signal(HREADY, HRESP)

10
AHB Signals(ii)
  • Transfer signals
  • HCLK
  • bus clock. All signal timings are related to the
    rising edge.
  • HADDR310
  • 32 bits system bus
  • HWDATA/HRDATA 310
  • 32 bits write/read data bus
  • HWRITE
  • High write data
  • Low read data
  • HREADY
  • Transfer done

11
AHB Signals(ii)Basic Transfer
  • Each transfer consists of
  • An address and control cycle
  • One or more cycles for the data

12
AHB Arch.
13
AHB Signals(iii)
  • Control signals
  • HTRANS10
  • Current transfer type
  • HBURST20
  • When sequential transfer, control transfer
    relation
  • HSIZE20
  • Control transfer size2HSIZE bytes(max1024bits)

14
AHB Signals(iii)-HTRANS
  • HTRANS10
  • IDLE master dont need data to be transfer.
  • BUSY This transfer type indicates that the bus
    master is continuing with a burst of transfers.
  • NONSEQ The address and control signals are
    unrelated to the previous transfer.
  • SEQ the address is related to the previous
    transfer.

15
Burst Operation
  • AMBA AHB burst operation
  • 4-beat, 8-beat, 16-beat, single transfer, and
    undefined-length transfer.
  • Both incrementing and wrapping bursts are
    supported.
  • Incrementing burst
  • Incrementing bursts access sequential locations
    and the address of each transfer in the burst is
    just an increment of the previous address.
  • Wrapping burst
  • For wrapping bursts, if the start address of the
    transfer is not aligned to the total number of
    bytes in the burst (size x beats), then the
    address of the transfer in the burst will wrap
    when the boundary is reached.

16
AHB Signals (iii)-HBURST
17
AHB Signals(iii)-HBURST
18
AHB Signals(iv)
  • Response signals
  • HREADY
  • Transfer done, ready for next transfer
  • HRESP10
  • OKAY transfer complete
  • ERROR transfer failure(ex write ROM)
  • RETRY higher priority master can access bus
  • SPLIT other master can access bus

19
AHB Signals(v)
  • Arbiter signals
  • HGRANTx
  • Select active bus master
  • HMASTER30
  • Indicate which bus master is currently performing
    a transfer

20
Master signal
21
Arbiter signal
22
Slave signal
23
Outline
  • AMBA Bus
  • Advanced System Bus
  • Advanced High-performance Bus
  • Advanced Peripheral Bus
  • Low power
  • Latched address and control
  • Simple interface
  • Suitable for many peripherals

24
APB state diagram
25
APB signals
  • APB character
  • Always two cycle transfer
  • No wait cycle and response signal
  • APB signals
  • PCLK Bus clock,rising edge is used to time all
    transfers.
  • PRESETn APB reset?active Low.

26
APB signals
  • PADDR310 APB address bus.
  • PSELx Indicates that the slave device is
    selected. There is a PSELx signal for each slave.
  • PENABLE Indicates the second cycle of an APB
    transfer.
  • PWRITE Transfer direction. High for write access,
    Low for read access.
  • PRDATA Read data bus
  • PWDATA Write data bus
Write a Comment
User Comments (0)
About PowerShow.com