improve Cocotb integration

  • compile and use Xilinx glbl
  • handle DesyRDL-generated Python files
  • make the Python venv from make env optional for DesyRDL
  • add pyUVM RAL generation through DesyRDL

Making the venv optional also when using DesyRDL is intended to give the user some flexibility. Cocotb is currently not part of the basic venv from make env, and when the user installs it in a user-wide venv using pipx, these two venvs seem to confuse each other.

Unfortunately this does not really solve it yet, partly because of https://github.com/cocotb/cocotb/issues/4091 (I forgot the details by now, sorry!)

Maybe with cocotb-2.0 it will be easier because https://github.com/cocotb/cocotb/pull/4293 was merged?

What is currently working well is make env_dev to also install cocotb into the venv.

Edited by Michael Buechler

Merge request reports

Loading