Skip to content

Help wanted with NetFPGA-PLUS Reference Switch #6

Description

@lukaszkwiatkowskii

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];".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions