StanfordVLSI / dragonphy2

Open Source PHY v2
Apache License 2.0
22 stars 2 forks source link

Add ZCU106 support #114

Closed sgherbst closed 3 years ago

sgherbst commented 3 years ago

Summary

This small PR adds support for running emulations on the ZCU106 board. We should hold off on approving it until it is confirmed to be working for @zamyers.

Details

  1. setup.py is updated to use the most recent version of anasymod, which now has support for ZCU106.
  2. A memory corruption bug was fixed in the main.c firmware files used for the low- and high-level emulators. I'm not sure why this only showed up for ZCU106, not ZC706 or other boards, but it appears to be related to how null character termination was being done and whether unsigned vs. unsigned long was used as the format in sscanf.