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.
Merge request reports
Activity
assigned to @michael.buechler
requested review from @lbutkows
A work-in-progress state of using cocotb and pyUVM is here: https://gitlab.desy.de/fpgafw/projects/verif/verif_axi4_stream_packetizer
Please consider merging these changes or provide feedback what needs to be improved. I don't have much time left here I'm afraid.
added 42 commits
-
9ce7c194...82f905a5 - 35 commits from branch
main
- 8890b8f8 - feat(cocotb): compile and use Xilinx glbl
- ceb3894a - docs: improve basic project setup howto
- 4afe9bd0 - docs: add initial documentation of cocotb integration
- aeb92f94 - feat: make the venv optional for DesyRDL
- d6fe3aac - feat(cocotb): handle DesyRDL-generated Python files
- 83f09511 - docs: add initial documentation of cocotb integration
- 5a55a746 - feat(cocotb): add initial pyUVM RAL support
Toggle commit list-
9ce7c194...82f905a5 - 35 commits from branch