StanfordVLSI / dragonphy2

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

Finish MDLL integration #81

Closed sgherbst closed 4 years ago

sgherbst commented 4 years ago

This PR aims to get the regression tests passing with the MDLL integrated into the top level. The changes I made were pretty minor:

  1. In the MDLL Markdown file, rstn was changed to rstn_jtag to match with the MDLL JTAG interface definition.
  2. Added missing port clk_b to the input_buffer stub.
  3. Added missing wire definitions mdll_clk_refp, mdll_clk_refn, mdll_clk_monp, mdll_clk_monn to the top level.
  4. Updated dragonphy/views.py to define `SIMULATION for the MDLL when running simulations and to use a stub for the MDLL when running synthesis.
  5. `ANALOG_WIRE is converted to `real_t for consistency with the rest of the design. Modules in the MDLL that used `ANALOG_WIRE now `include "iotype.sv", which defines the `real_t macro.
  6. mdll_param.vh (which defined `ANALOG_WIRE) is removed, as is the part of mdll_pkg.sv that redefined the `ANALOG_WIRE macro.