Open
Description
Hi.
I changed the project "reference switch" to seven ports: 0, 1, 2, 3, 4, 5 - normal ports, 6 - cpu port.
0 - src_port: 0x01, 1 - src_port: 0x02, 2 - src_port: 0x04, 3 - src_port: 0x08, 4 - src_port: 0x10, 5 - src_port: 0x20, 6 - src_port: 0x00,
0 - dst_port: 0x00, 1 - dst_port: 0x00, 2 - dst_port: 0x00, 3 - dst_port: 0x00, 4 - dst_port: 0x00, 5 - dst_port: 0x00, 6 - dst_port: 0x3f,
When I want to send packets from ports: 0,1,2,3,4,5 -> 6 it works fine, but when I want to send packets from port: 6 -> 0,1,2,3,4,5 it only sends to 0,1,4.
Changes:
input_arbiter.v - "assign next_queue = (cur_queue == NUM_QUEUES-1) ? 0 : cur_queue + 1;".
output_queues.v - "assign oq = s_axis_tuser[(DST_POS+(NUM_QUEUES-1)):DST_POS];".
Metadata
Metadata
Assignees
Labels
No labels