xl07

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. xl07

    NetFPGA problem

    Thanks, Dan. I would like to find bugs by checking related registers step by step. Although this is slow, but it will look out the root of problem.
  2. xl07

    NetFPGA problem

    Sorry, the question is the following. In output_queues module, there are 8 queues, 0,2,4,6 queues are used for mac interface while 1,3,5,7 queues are used for cpu queues. In switch project, I want to add 4 additional queues as input queues for mac interface. And I find the 1,3,5,7 queues of output_queues module are not used in switch project, so I use these 1,3,5,7 queues as input queues. I changed the code of remove_pkt.v to get packets from 0,2,4,6 queues of output queues instead of from 0,1,2,3,4,5,6,7 output queues. When a packet of in_data_0 go into user_data_path its destination_port will be changed as 1, and in_data_2 packet will be 3 destination port, and so on, so that input_queues can put these packets into 1,3,5,7 queues. All the codes are compiled successfully, but the NetFPGA switch does not transport any packet, and I find debugging this problem is so hard. Any advice is very welcomed.
  3. xl07

    NetFPGA problem

    HI, does anybody know how to debug NetFPGA, because I find that it spends me 15 minutes to compile the verilog hdl code, once there is a problem, I have to check the verilog hdl source code of NetFPGA in project/reference_switch/src/ manually and recompile the verilog hdl codes.
  4. xl07

    NetFPGA problem

    I solved the problem. Change "parameter NUM_REGS_USED = 6;" in op_lut_regs.v as "parameter NUM_REGS_USED = 8;"
  5. xl07

    NetFPGA problem

    hi, I have added two registers in project/reference_switch/include/learning_cam_switch.xml as "debug_to_device" and "debug_to_developer", and used the macros "SWITCH_OP_LUT_DEBUG_TO_DEVICE" and "SWITCH_OP_LUT_DEBUG_TO_DEVELOPER" in op_lut_regs.v. But when I use "make" to compile the code, there are 2 errors as following: ERROR:Xst:868 - "../src/learning_cam_switch/op_lut_regs.v" line 168: Index out of range for reg_file_next. ERROR:Xst:868 - "../src/learning_cam_switch/op_lut_regs.v" line 144: Index out of range for reg_file. What is the problem?