Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM advanced microcontroller bus architecture (AMBA) specification.Rev 2.0.pdf
Скачиваний:
185
Добавлен:
23.08.2013
Размер:
1.92 Mб
Скачать

AMBA AHB

3.20 AHB arbiter

The role of the arbiter in an AMBA system is to control which master has access to the bus. Every bus master has a REQUEST/GRANT interface to the arbiter and the arbiter uses a prioritization scheme to decide which bus master is currently the highest priority master requesting the bus.

Each master also generates an HLOCKx signal which is used to indicate that the master requires exclusive access to the bus.

The detail of the priority scheme is not specified and is defined for each application. It is acceptable for the arbiter to use other signals, either AMBA or non-AMBA, to influence the priority scheme that is in use.

3.20.1Interface diagram

Figure 3-31 shows the signal interface of an AHB arbiter.

 

HBUSREQx1

 

 

 

 

 

HLOCKx1

 

 

 

 

Arbiter

HBUSREQx2

 

 

 

 

 

 

 

 

 

requests

HLOCKx2

 

 

 

 

and locks

 

 

 

HBUSREQx3

 

 

 

 

 

 

 

 

 

HLOCKx3

 

HGRANTx1

 

 

 

 

 

 

HGRANTx2

Arbiter

 

HADDR[31:0]

 

HGRANTx3

grants

 

 

 

 

 

 

 

AHB

 

 

 

 

 

 

 

 

HSPLITx[15:0]

arbiter

HMASTER[3:0]

 

Address

 

 

HTRANS[1:0]

 

 

 

HMASTLOCK

 

and control

 

 

 

 

HBURST[2:0]

 

 

 

 

 

HRESP[1:0]

 

 

 

 

 

HREADY

 

 

 

 

Reset

HRESETn

 

 

 

 

Clock

HCLK

 

 

 

 

 

 

 

 

 

 

Figure 3-31 AHB arbiter interface diagram

ARM IHI 0011A

© Copyright ARM Limited 1999. All rights reserved.

3-53

AMBA AHB

3.20.2Timing diagrams

The following diagrams show the timing parameters related to an AHB bus arbiter operating in an AMBA system:

Figure 3-32 shows the AHB arbiter reset timing parameters

Figure 3-33 shows the AHB arbiter transfer timing parameters

Figure 3-34 shows the AHB arbiter split timing parameters.

HCLK

HRESETn

Tisrst

Tihrst

Figure 3-32 AHB arbiter reset timing parameters

HCLK

 

HTRANS[1:0]

NONSEQ

 

Tihtr

 

Tistr

HBURST[2:0]

Control

 

Tihctl

 

Tisctl

HREADY

 

 

Tihrdy

 

Tisrdy

HRESP[1:0]

OKAY

 

Tihrsp

 

Tisrsp

Figure 3-33 AHB arbiter transfer timing parameters

3-54

© Copyright ARM Limited 1999. All rights reserved.

ARM IHI 0011A

AMBA AHB

HCLK

 

HBUSREQx

 

 

Tihreq

Tisreq

 

HLOCKx

 

 

Tihlck

Tislck

 

HSPLITx[15:0]

 

 

Tihsplt

Tissplt

 

HGRANTx

 

Tovgnt

Tohgnt

HMASTER[3:0]

 

Tovmast

Tohmast

HMASTLOCK

 

Tovmlck

Tohmlck

Figure 3-34 AHB arbiter split timing parameters

3.20.3Timing parameters

The timing parameters related to an AHB arbiter are given in the following tables:

Table 3-12 is for input signals

Table 3-13 is for output signals.

 

Table 3-12 AHB arbiter input parameters

 

 

Parameter

Description

 

 

Tclk

HCLK minimum clock period

Tisrst

Reset deasserted setup time before HCLK

Tihrst

Reset deasserted hold time after HCLK

Tisrdy

Ready setup time before HCLK

Tihrdy

Ready hold time after HCLK

Tisrsp

Response setup time before HCLK

ARM IHI 0011A

© Copyright ARM Limited 1999. All rights reserved.

3-55

AMBA AHB

 

Table 3-12 AHB arbiter input parameters (continued)

 

 

Parameter

Description

 

 

Tihrsp

Response hold time after HCLK

Tisreq

Request setup time before HCLK

Tihreq

Request hold time after HCLK

Tislck

Lock setup time before HCLK

Tihlck

Lock hold time after HCLK

Tissplt

Split setup time before HCLK

Tihsplt

Split hold time after HCLK

 

 

Tistr

Transfer type setup time before HCLK

Tihtr

Transfer type hold time after HCLK

Tisctl

Control signal setup time before HCLK

Tihctl

Control signal hold time after HCLK

 

Table 3-13 AHB arbiter output parameters

 

 

Parameter

Description

 

 

Tovgnt

Grant valid time after HCLK

Tohgnt

Grant hold time after HCLK

Tovmst

Master number valid time after HCLK

Tohmst

Master number hold time after HCLK

Tovmlck

Master locked valid time after HCLK

Tohmlck

Master locked hold time after HCLK

3-56

© Copyright ARM Limited 1999. All rights reserved.

ARM IHI 0011A