IXP 2400. 4 Types of registers: General purpose. Synchronous Random Access Memory transfer (SRAM). Dynamic Random Access Memory transfer (DRAM). Next Neighbor (NN). Registers. 256 for each Microengine. 32 Bits. Divided in 2 banks of registers (A and B).
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
//Setup a value to write into memory
//Set bit 31 in the Write Xfer.
Alu_shf[$my_xfer_reg, --, B, 1, <<31]
Alu_shf[$my_xfer_reg, $my_xfer_reg, OR, ctx]
The first ALU shift modifies the Write register called my_xfer_reg.
The second instruction logically OR´s the context number to the read transfer register and places the results into de transfer register.
.reg xfer_index register number to access (0-127) then the pseudo-register *$index is used to access the SRAM transfer register indicated by the T_INDEX register.
shf_left(xfer_index, &$array_data, 2)
add_shf_left(xfer_index, xfer_index, entries_to_move, 2)
sub_shf_left(xfer_index, xfer_index, 1, 2)
local_csr_wr[T_INDEX, xfer_index]Example Code: Hello_World
Two modes of operation: