[ixp1200] packet_rx when simulation

Liang Jian ixp2xxx at yahoo.com
Fri Jan 13 23:15:16 EST 2006


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 <ixp2xxx at yahoo.com> wrote:
  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 wrote:
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 we’ll bind it!
_______________________________________________
ixp1200 mailing list
ixp1200 at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/ixp1200




---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
_______________________________________________
ixp1200 mailing list
ixp1200 at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/ixp1200
  


		
---------------------------------
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!


More information about the ixp1200 mailing list