diff --git a/doc/plan.org b/doc/plan.org index 64a3cfa..31ec8d1 100644 --- a/doc/plan.org +++ b/doc/plan.org @@ -4167,6 +4167,20 @@ After reprogram AND reboot: 10:00.0 Memory controller: Xilinx Corporation Device 7028 +*** 2019-06-12: try broadcasting +#+BEGIN_CENTER +[SW] CAM_EnableDevice() - done +[2274090] INFO: finished packet stimulus file +[2735572] ERROR: tuple mismatch for packet 1 +expected < tuple_out_digest_data, tuple_out_sume_metadata > = < 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000001040000 > +actual < tuple_out_digest_data, tuple_out_sume_metadata > = < 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000055040000 > +$finish called at time : 2735572 ps : File "/home/nico/master-thesis/netpfga/minip4/nf_sume_sdnet_ip/SimpleSumeSwitch/Testbench/Check.v" Line 120 +exit + +#+END_CENTER + +-> mismatch when using expPkt on all ports +-> trying to use bcast fails due to programming errors ** References / Follow up *** RFC 791 IPv4 https://tools.ietf.org/html/rfc791 diff --git a/netpfga/minip4/testdata/gen_testdata.py b/netpfga/minip4/testdata/gen_testdata.py index 67b360d..d18e62b 100755 --- a/netpfga/minip4/testdata/gen_testdata.py +++ b/netpfga/minip4/testdata/gen_testdata.py @@ -26,11 +26,12 @@ nf_expected[2] = [] nf_expected[3] = [] nf_port_map = { - "nf0":0b00000001, - "nf1":0b00000100, - "nf2":0b00010000, - "nf3":0b01000000, - "dma0":0b00000010 + "nf0": 0b00000001, + "nf1": 0b00000100, + "nf2": 0b00010000, + "nf3": 0b01000000, + "dma0": 0b00000010, + "bcast":0b01010101 } nf_id_map = {