![Intel IXP2400 Скачать руководство пользователя страница 145](http://html1.mh-extra.com/html/intel/ixp2400/ixp2400_user-manual_2071795145.webp)
Development Tools User’s Manual
145
IXP2400/IXP2800 Network Processors
Developer Workbench
Subwindows:
The
Memory Watch
window comprises three subwindows,
one for each memory type. Each memory type has a check box
at the top of the
Memory Watch
window to control visibility
of the subwindow.
Each subwindow contains a multicolumn tree. The first column contains the range of the
location(s) being watched, e.g. DRAM[0:3]. The values of the locations are displayed in columns 1
through n. The number of value columns varies with the width of the
Memory Watch
window,
with a minimum of one value column.
Endianness:
The
Display big endian longwords
check box enables DRAM
quadword values to be displayed with the longwords swapped.
Values Updates:
Watch values are updated whenever microcode execution stops. To force an update of
the values at other times, click
Refresh
at the top of the
Memory Watch
window.
2.13.13.1
Entering a New Memory Watch
To enter a new memory watch:
1. Right-click anywhere in the name or value column of the
Memory Watch
subwindow (either SRAM. DRAM, or
Scratchpad) and click
New Watch
on the shortcut menu, or
Double-click the blank entry at the bottom of the data watch list
for that subwindow.
2. Type the range of memory locations you would like to watch.
The format for the range is the same as that for the Transactor:
[m]
To watch a single location. For example, sram[1] watches location one
in SRAM.
[m:n]
To watch locations m through n inclusive. For example, dram[0:3]
watches locations 0 through 3 in DRAM. And since a range can be
specified in ascending or descending order, you could specify this watch
as dram[3:0].
[m:+n]
To watch location m plus the n locations following it. For example,
dram[5:+3] watches locations 5 through 8.
3. Optionally, you can specify a bit range to be watched. The format for a bit range is:
<m>
To watch only bit m of a state. For example, dram[0]<12> watches only
bit 12 of the dram location 0.
<m:n>
To watch bits m through n of a state, with m being greater than n. For
example, dram[0:3]<12:10> watches bits 12 through 10 of dram
locations 0 through 3.
Note:
SRAM and Scratchpad locations are 32-bit values, while DRAM locations are 64-bit values.