You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After comparing the actual vs golden data, it seems there is a 0x400 offset to the test pattern in the actual data. It would seem some initial data is getting lost somehow?
(A future improvement to the benchmark test might be to send the requested length from Python to the FPGA, and have it refuse to send more than the requested amount of data. This likely would have caused an unexpectedly short read in this case, and may have made the bug more visible initially.)
If I comment out iface.reset() here, it consistently works fine (I don't know what the impact of removing the reset() call is though):
On a Windows 11 computer I'm seeing
glasgow run benchmark source
fail:Very rarely, it sometimes succeeds:
After comparing the
actual
vsgolden
data, it seems there is a 0x400 offset to the test pattern in theactual
data. It would seem some initial data is getting lost somehow?(A future improvement to the benchmark test might be to send the requested length from Python to the FPGA, and have it refuse to send more than the requested amount of data. This likely would have caused an unexpectedly short read in this case, and may have made the bug more visible initially.)
If I comment out
iface.reset()
here, it consistently works fine (I don't know what the impact of removing thereset()
call is though):glasgow/software/glasgow/applet/internal/benchmark/__init__.py
Lines 155 to 157 in 2b01503
Does
DirectDemultiplexer.reset()
cause a read (or discard some read data) that could interfere with the test?actual
andgolden
data available here: https://gist.github.com/bburky/ac39a5211eb386c2edcc73e8b29b5397I'm not an expert in USB debugging, but if there's something specific I can check I'm happy to.
The text was updated successfully, but these errors were encountered: