xmos / lib_ethernet

Ethernet MAC library
Other
3 stars 15 forks source link

test_avb_traffic.py::test_avb_traffic[rgmii-125MHz-rt_hp-xs2] fails for seed anything other than 1 #68

Open shuchitak opened 4 days ago

shuchitak commented 4 days ago

test_avb_traffic.py has the seed hardcoded to 1. I tested with some other seed values and for almost all the other seeds it fails with the error:

ERROR: Line 0 of output does not match expected Expected: Stream 0 received 10 packets, 4180 bytes Actual : Packet 1 instead of 521800 ERROR: Length of expected output greater than output Missing: Stream 1 received 10 packets, 4180 bytes Stream 2 received 10 packets, 4180 bytes Stream 3 received 10 packets, 4180 bytes Stream 4 received 10 packets, 4180 bytes Stream 5 received 10 packets, 4180 bytes Stream 6 received 10 packets, 4180 bytes Stream 7 received 10 packets, 4180 bytes Stream 8 received 10 packets, 4180 bytes Stream 9 received 10 packets, 4180 bytes Stream 10 received 10 packets, 4180 bytes Stream 11 received 10 packets, 4180 bytes Received \d+ lp bytes Fail

Need more investigation. I'm leaving the seed hardcoded to 1 for now.

shuchitak commented 4 days ago

The test passes if the core clock frequency is set to 600MHz. Seems to be a timing issue.