274
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Transactor States
A.3
Hardware States
A.3.1
Chip Reference
This command allows you to assign the chip to the functions described in
through
set_default_chip(chip_name
)
Sets the default chip.
A.3.2
SRAM
SRAM memory. For all of the following functions, you must use address values that are 32-bit
aligned.
Functions:
set_sram(addr, data)
Use to write to SRAM memory.
get_sram(addr)
Use to read SRAM memory.
watch_sram(addr)
Use to watch for SRAM content changes.
watch_sram_function({code} or function ( ),addr)
Use to watch for SRAM content changes, then execute
code or call function.
check_sram(addr, expect)
Use to compare SRAM content with an expected value.
dump_sram(addr_lo, addr_hi)
Use to display SRAM content.
init_sram(data, addr_lo, addr_hi)
Use to initialize SRAM content.
A.3.3
Scratchpad
On-chip Scratchpad memory. For all of the following functions, you must use address values that
are 32-bit aligned.
Functions:
set_scratch(addr, data)
Use to write to Scratchpad memory.
get_scratch(addr)
Use to read Scratchpad memory.
watch_scratch(addr)
Use to watch for Scratchpad content changes.
watch_scratch_function({code} or function( ), addr)
Use to watch for Scratchpad content changes and then
execute code or call function.
check_scratch(addr, expect)
Use to compare Scratchpad content with expected value.
dump_scratch(addr_lo, addr_hi)
Use to display Scratchpad content.
init_scratch(data, addr_lo, addr_hi)
Use to initialize Scratchpad content.