ARM VERSION 1.2 Datasheet Page 89

  • Download
  • Add to my manuals
  • Print
  • Page
    / 176
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 88
ARMulator Reference
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-29
4.6 Events
ARMulator has a mechanism for broadcasting and handling events. These events
consist of an event number and a pair of words. The number identifies the event. The
details depends on the event.
The core ARMulator generates some example events, defined in
armdefs.h
. They are
divided into three groups:
events from the ARM processor core, listed in Table 4-2 on page 4-30
events from the MMU and cache (not on StrongARM
®
-110), listed in Table 4-1
events from the prefetch unit (ARM8
-based processors only), listed in Table 4-3
on page 4-30
configuration change events, listed in Table 4-5 on page 4-31.
These events can be logged in the trace file if tracing is enabled, and trace events is
turned on. Additional modules can provide new event types that will be handled in the
same way. User defined events must have values between
UserEvent_Base
(
0x100000
)
and
UserEvent_Top
(
0x1FFFFF
).
You can catch events by installing an event handler (see Event handler on page 4-37).
You can raise an event by calling
ARMulif_RaiseEvent()
(see ARMulif_RaiseEvent on
page 4-32).
Table 4-1 Events from the MMU and cache (not on StrongARM-110)
Event name Word 1 Word 2 Event number
MMUEvent_DLineFetch
Miss address Victim address
0x10001
MMUEvent_ILineFetch
Miss address Victim address
0x10002
MMUEvent_WBStall
Physical address of write Number of words in write buffer
0x10003
MMUEvent_DTLBWalk
Miss address Victim address
0x10004
MMUEvent_ITLBWalk
Miss address Victim address
0x10005
MMUEvent_LineWB
Miss address Victim address
0x10006
MMUEvent_DCacheStall
Address causing stall Address fetching
0x10007
MMUEvent_ICacheStall
Address causing stall Address fetching
0x10008
Page view 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 175 176

Comments to this Manuals

No comments