278
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Transactor States
A.4.3
GPR B bank
B Bank General Purpose register within a Microengine.
Functions:
set_gpb(me, addr, data)
Use to write to GPR Bin the Microengine.
get_gpb(me, addr)
Use to read GPR Bin the Microengine.
watch_gpb(me, addr)
Use to watch for GPR B content changes.
watch_gprb_function({code} or function, me, addr)
Use to watch for GPR B content changes and then execute
code or call function..
check_gpb(me, addr, expect)
Use to compare GPR B memory with an expected value.
dump_gpb(me)
Use to display the Microengine’s GPR B content.
init_gpb(me, data)
Use to initialize GPR B content in the Microengine.
A.4.4
Transfer Register S In
S Transfer register In within a Microengine.
Functions:
set_srd(me, addr, data)
Use to write to S Transfer In register in the Microengine.
get_srd(me, addr)
Use to read S Transfer In register in the Microengine.
watch_srd(me, addr)
Use to watch S Transfer In register content changes.
watch_srd_function({code} or function, me, addr)
Use to watch for S Transfer In register content
changes and then execute code or call function.
check_srd(me, addr, expect)
Use to compare S Transfer In register with an expected
value.
dump_srd(me)
Use to display the S Transfer In register’s content.
init_srd(me, data)
Use to initialize S Transfer In register content.
A.4.5
Transfer Register S Out
S Transfer register Out within a Microengine.
Functions:
set_swr(me, addr, data)
Use to write to S Transfer Out register in the Microengine.
get_swr(me, addr)
Use to read S Transfer Out register in the Microengine.
watch_swr(me, addr)
Use to watch S Transfer Out register content changes.
watch_swr_function({code} or function, me, addr)
Use to watch for S Transfer Out register