A limited Python/cocotb interface to the Xilinx Vivado Simulator simulator. Based on cocotb-stub-sim.
- Only top-level ports are accessible (simulator limitation).
- It supports the
Timer
trigger (simulator limitation). - Setting signal values is immediate, as one would use
setimmediatevalue
(simulator limitation). - Only
Verilog
at the top level is supported (to do).
pip install cocotb-vivado
See the tests
folder for examples.
source ../Vivado/202X.X/settings64.sh
export LD_LIBRARY_PATH=$XILINX_VIVADO/lib/lnx64.o
pytest -s
We'd like to thank our employer, Dectris for supporting this work.