Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CS 220 / ARM / ARM1176JZ-S Technical Reference Mmanual.pdf
Источник:
Скачиваний:
45
Добавлен:
16.04.2015
Размер:
4.47 Mб
Скачать

Trace Interface Port

Table 15-6 lists the data value interface signals.

Table 15-6 Data value interface signals

Signal name

Description

Qualified by

 

 

 

ETMDDCTL[3:0]

Data value interface control signals

-

 

 

 

ETMDD[63:0]

Contains the data for a load, store, MRC, or MCR instruction

DDSlot != 00

 

 

 

Table 15-7 lists the ETMDDCTL[3:0] signals.

 

 

Table 15-7 ETMDDCTL[3:0]

 

 

 

 

Bits

Reference

Description

Qualified by

name

 

 

 

 

 

 

 

[3]

DDImpAbort

Imprecise Data Aborts on this slot. Data is ignored.

DDSlot != 00

 

 

 

 

[2]

DDFail

Store Exclusive data write failed.

DDSlot != 00

 

 

 

 

[1:0]

DDSlot

Slot occupied by data item. b00 indicates that no slot is in use this cycle. This

None

 

 

is kept b00 when the ETM is powered down.

 

 

 

 

 

15.1.5Pipeline advance interface

There are three points in the processor pipeline where signals are produced for the ETM. These signals must be realigned by the ETM, so pipeline advance signals are provided.

The pipeline advance signals indicate when a new instruction enters pipeline stages Ex3, Ex2, and ADD, see Typical pipeline operations on page 1-26.

Table 15-8 lists the ETMPADV[2:0] pipeline advance interface signals

Table 15-8 ETMPADV[2:0]

Bits

Reference name

Description

Qualified by

 

 

 

 

[2]

PAEx3a

Instruction entered Ex3

-

[1]

PAEx2a

Instruction entered Ex2

-

[0]

PAAdda

Instruction entered Ex1 and load/store ADD stage

-

a. This is kept LOW when the ETM is powered down.

The pipeline advance signals present in other interfaces are:

IAValid

Instruction entered WBEx.

DASlot != 00 Data transfer entered DC1.

DDSlot != 00 Data transfer entered WBls.

15.1.6Coprocessor interface

This interface enables an ETM to monitor a sub-set of CP14 and CP15 operations. Rather than using the external coprocessor interface, the core provides a dedicated, cut-down coprocessor interface similar to that used by the debug logic.

ARM DDI 0333H

Copyright © 2004-2009 ARM Limited. All rights reserved.

15-6

ID012410

Non-Confidential, Unrestricted Access

 

Trace Interface Port

Table 15-9 lists the coprocessor interface signals.

Table 15-9 Coprocessor interface signals

Signal name

Direction

Description

Qualified by

Reg

bound

 

 

 

 

 

 

 

 

 

ETMCPENABLE

Output

Interface enable. ETMCPWRITE

None

No, latea

 

 

and ETMCPADDRESS are valid this

 

 

 

 

cycle, and the remaining signals are

 

 

 

 

valid two cycles later.

 

 

 

 

 

 

 

ETMCPCOMMIT

Output

Commit. If this signal is LOW two

ETMCPENABLE +2

No, latea

 

 

cycles after ETMCPENABLE is

 

 

 

 

asserted, the transfer is canceled and

 

 

 

 

must not take any effect.

 

 

 

 

 

 

 

ETMCPWRITE

Output

Read or write. Asserted for write.

ETMCPENABLE

Yes

 

 

 

 

 

ETMCPADDRESS[14:0]

Output

Register number.

ETMCPENABLE

Yes

 

 

 

 

 

ETMCPRDATA[31:0]

Input

Read data.

ETMCPCOMMIT

Yes

 

 

 

 

 

ETMCPWDATA[31:0]

Output

Write value.

ETMCPCOMMIT

Yes

a. Used as a clock enable for coprocessor interface logic.

A complete transaction takes three cycles. The first and last cycles can overlap, giving a sustained rate of one every two cycles.

Note

Because current ETMs do not use the ETMCPRDATA[31:0] signal you must ensure that the signal is tied off to 0x00000000.

Only the following instructions are presented by the coprocessor interface:

MRC p14, 1, <Rd>, c0, <CRm>, <Op2>

MCR p14, 1, <Rd>, c0, <CRm>, <Op2>

MCR p15, 0, <Rd>, c13, c0, 1

The ETMCPSECCTL[1:0] signals indicate when the access to the coprocessor registers is

Non-secure and when the trace is prohibited. Table 15-10 lists the format of the

ETMCPSECCTL[1:0] signals.

Table 15-10 ETMCPSECCTL[1:0] format

Bit Description

[1] Trace prohibited

[0] Non-secure access

Figure 15-1 shows the format of the ETMCPADDRESS[14:0] signals.

14

12 11

8

7

4

3

2

0

Opcode

 

CRn

 

CRm

C

Opcode

 

1

 

 

P

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 15-1 ETMCPADDRESS format

ARM DDI 0333H

Copyright © 2004-2009 ARM Limited. All rights reserved.

15-7

ID012410

Non-Confidential, Unrestricted Access

 

Trace Interface Port

In Figure 15-1 on page 15-7, the CP bit is 0 for CP14 or 1 for CP15.

Non-ETM instructions are not presented on this interface.

In contrast to the debug logic, the core makes no attempt to decode if a given ETM register exists or not. If a register does not exist, the write is silently ignored. For more details see the

Embedded Trace Macrocell Architecture Specification.

15.1.7Other connections to the core

The signals that Table 15-11 lists are also connected to the core.

 

 

Table 15-11 Other connections

 

 

 

Signal name

Direction

Description

 

 

 

EVNTBUS[19:0]

Output

Gives the status of the performance monitoring events. See c15, Performance

 

 

Monitor Control Register on page 3-133.

 

 

 

ETMEXTOUT[1:0]

Input

Provides feedback to the core of the EVNTBUS signals after being passed through

 

 

ETM triggering facilities and comparators. This enables the performance

 

 

monitoring facilities provide by the processor to be conditioned in the same way as

 

 

ETM events. For more details see c15, Performance Monitor Control Register on

 

 

page 3-133 and the CoreSight ETM11 Technical Reference Manual.

 

 

 

ETMPWRUP

Input

Indicates that the ETM is active. When LOW the Trace Interface must be clock

 

 

gated to conserve power.

 

 

 

ARM DDI 0333H

Copyright © 2004-2009 ARM Limited. All rights reserved.

15-8

ID012410

Non-Confidential, Unrestricted Access

 

Соседние файлы в папке ARM