packet_rx when simulation
Hi,ALL I make new project with packet_rx.uc,when simulation project and command line hint: "ERROR: One or more import-variable(s) in the UOF is uninitialized. Status=0x820e" if remove packet_rx.list from microengine , it no ERROR! anyone Can help me ?? Thanks --------------------------------- Yahoo! Photos Showcase holiday pictures in hardcover Photo Books. You design it and well bind it!
I found Error at: system_init.uc
import_var QARRAY_INIT_SRAM_BASE_CH0
import_var QARRAY_INIT_SRAM_BASE_CH1
but when I simulation about 3000 cycles at command line hava other Error:
npu2400.tc0.PLT0_T_CLK:276> go -1
ERROR: PERF_STAT: invalid scratch_ring fullness detected !!!5095,4096
Scratch ring m_curr_state[0]=0x7fb
Scratch ring m_curr_state[1]=0x7fb
Scratch ring m_curr_state[2]=0x7fb
Scratch ring m_curr_state[3]=0x7fb
Scratch ring m_curr_state[4]=0x7fb
Scratch ring m_curr_state[5]=0x0
Scratch ring m_curr_state[6]=0x0
Scratch ring m_curr_state[7]=0x0
Scratch ring m_curr_state[8]=0x0
Scratch ring m_curr_state[9]=0x0
Scratch ring m_curr_state[10]=0x0
Scratch ring m_curr_state[11]=0x0
Scratch ring m_curr_state[12]=0x0
Scratch ring m_curr_state[13]=0x0
Scratch ring m_curr_state[14]=0x0
Scratch ring m_curr_state[15]=0x0
at the same time , in packet_rx no have simulation packet receive when I write ps_start_packet_receive() in some *.ind file
why?
Thanks
Regards
Liang Jian
Tx scratch ring have fours , when use only one , there are don't error!
init_scratch_ring[PACKET_TX_SCR_RING_0_BASE, PACKET_TX_SCR_RING_0_SIZE, PACKET_TX_SCR_RING_0]
// init_scratch_ring[PACKET_TX_SCR_RING_1_BASE, PACKET_TX_SCR_RING_1_SIZE, PACKET_TX_SCR_RING_1]
// init_scratch_ring[PACKET_TX_SCR_RING_2_BASE, PACKET_TX_SCR_RING_2_SIZE, PACKET_TX_SCR_RING_2]
// init_scratch_ring[PACKET_TX_SCR_RING_3_BASE, PACKET_TX_SCR_RING_3_SIZE, PACKET_TX_SCR_RING_3]
I use mphy4 rec and tx mode
Anyone can help me?
Liang Jian
participants (1)
-
Liang Jian