276
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Transactor States
A.3.6
TBUF
Media Switch Fabric interface Transmit buffer.
Functions:
set_tbuf(addr, data)
Use to write to TBUF memory.
get_tbuf(addr)
Use to read TBUF content changes.
watch_tbuf(addr)
Use to watch for TBUF content changes.
watch_tbuf_function({code} or function( ), addr)
Use to watch for TBUF content changes and then execute
code or call function.
check_tbuf(addr, expect)
Use to compare TBUF content with an expected value.
dump_tbuf(addr_lo, addr_hi)
Use to display TBUF content.
init_tbuf(data, addr_lo, addr_hi)
Use to initialize TBUF content
init_tbuf_from_file(filename)
Use to initialize TBUF content from file. Format is
hex_addr value
pair on each line.
A.3.7
FIFO
First in first out (FIFO).
watch_fcefifo(index)
Used to watch an
index
within the MSF FCE fifo.
watch_fcefifo(code or function, index)
Used to call a
function
when an
index
within the
MSF FCE fifo is modified.
get_fcefifo(index)
Used to retrieve a value from the MSF FCE fifo at
location
index
.
dump_fcefifo(low, high)
Used to dump the contents of the MSF FCE fifo f
get_fcififo(index)
Used to retrieve a value from the MSF FCI fifo at
location
index
.
dump_fcififo(low, high)
Used to dump the contents of the MSF FCI fifo from a
low
index to
high
index.
watch_fcififo(index)
Used to watch an
index
within the MSF FCI fifo.
watch_fcififo(code or function, index)
Used to call a
function
when an
index
within the
MSF FCI fifo is modified.