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

AMBA AHB

3.19 AHB bus master

An AHB bus master has the most complex bus interface in an AMBA system. Typically an AMBA system designer would use predesigned bus masters and therefore would not need to be concerned with the detail of the bus master interface.

3.19.1Interface diagram

The interface diagram of an AHB bus master shows the main signal groups.

HBUSREQx

 

 

 

HLOCKx

Arbiter

Arbiter

 

 

 

HGRANTx

 

 

grant

 

 

HTRANS[1:0]

 

 

 

 

Transfer type

Transfer

HREADY

 

 

 

 

HRESP[1:0]

HADDR[31:0]

 

response

 

 

 

 

 

AHB

HWRITE

 

Reset

 

master

Address

HRESETn

 

and

 

 

 

HSIZE[2:0]

Clock

 

 

control

HCLK

HBURST[2:0]

 

 

 

 

 

 

 

HPROT[3:0]

 

Data

HRDATA[31:0]

HWDATA[31:0]

Data

Figure 3-27 AHB bus master interface diagram

3.19.2Bus master timing diagrams

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

Figure 3-28 shows the AHB master reset timing parameters

Figure 3-29 shows the AHB master transfer timing parameters

Figure 3-30 shows the AHB master arbitration timing parameters.

HCLK

HRESETn

Tisrst

Tihrst

Figure 3-28 AHB master reset timing parameters

ARM IHI 0011A

© Copyright ARM Limited 1999. All rights reserved.

3-49

AMBA AHB

HCLK

 

 

 

HTRANS[1:0]

NONSEQ

 

 

 

Tovtr

Tohtr

 

HADDR[31:0]

A

 

 

HWRITE Tova

Toha

 

HSIZE[2:0]

Control

 

 

HBURST[2:0]

 

 

 

 

 

HPROT[3:0]Tovctl

Tohctl

 

HWDATA[31:0]

 

 

Data

 

 

(A)

 

Tovwd

 

Tohwd

HREADY

 

 

 

 

 

 

Tihrdy

 

 

Tisrdy

 

HRESP[1:0]

 

OKAY

OKAY

 

 

 

Tihrsp

 

 

Tisrsp

HRDATA[31:0]

 

 

Data

 

 

(A)

 

 

 

Tihrd

 

 

 

Tisrd

Figure 3-29 AHB master transfer timing parameters

 

HCLK

 

 

 

HBUSREQx

 

 

 

Tovreq

 

Tohreq

 

HLOCKx

 

 

 

Tovlck

 

Tohlck

 

HGRANTx

 

 

 

 

 

Tihgnt

 

 

Tisgnt

 

Figure 3-30 AHB master arbitration timing parameters

3-50

© Copyright ARM Limited 1999. All rights reserved.

ARM IHI 0011A

AMBA AHB

3.19.3Timing parameters

The timing parameters related to an AHB bus master operating in an AMBA system are also shown in textual form in the following two tables. Table 3-10 details the input signals. Table 3-11 details output signals.

 

Table 3-10 Bus master input timing parameters

 

 

Parameter

Description

 

 

Tclk

HCLK minimum clock period time

Tisrst

Reset deasserted setup time before HCLK

Tihrst

Reset deasserted hold time after HCLK

Tisgnt

HGRANTx setup time before HCLK

Tihgnt

HGRANTx hold time after HCLK

Tisrdy

Ready setup time before HCLK

Tihrdy

Ready hold time after HCLK

Tisrsp

Response setup time before HCLK

Tihrsp

Response hold time after HCLK

Tisrd

Read data setup time before HCLK

Tihrd

Read data hold time after HCLK

 

Table 3-11 Bus master output timing parameters

 

 

Parameter

Description

 

 

Tovtr

Transfer type valid time after HCLK

Tohtr

Transfer type hold time after HCLK

Tova

Address valid time after HCLK

Toha

Address hold time after HCLK

Tovctl

Control signal valid time after HCLK

ARM IHI 0011A

© Copyright ARM Limited 1999. All rights reserved.

3-51

AMBA AHB

 

Table 3-11 Bus master output timing parameters (continued)

 

 

Parameter

Description

 

 

Tohctl

Control signal hold time after HCLK

Tovwd

Write data valid time after HCLK

Tohwd

Write data hold time after HCLK

Tovreq

Request valid time after HCLK

Tohreq

Request hold time after HCLK

Tovlck

Lock valid time after HCLK

Tohlck

Lock hold time after HCLK

3-52

© Copyright ARM Limited 1999. All rights reserved.

ARM IHI 0011A