This is a library which contains bindigns for RTL simulators and provides UVM like environment which simplifies feeding and checking the circuit running in RTL simulator. Goal of this library is to remove obscurity and support code reuse. Each simulation is just python object without special properties. This allows also integration with existing test frameworks and better test automation and debugging.
sudo apt install build-essential python3 cmake flex bison git libboost-dev libboost-all-dev
verilator_patches_tmp
( as it is done in .travis.yml)sudo python3 setup.py install --verilator
to install globally or python3 setup.py install --user --verilator
to install to ~/.local/...
python3 setup.py build --verilator
to build c extensions.Using windows is not recomended with verilator. Asi it is more easy to use docker than tweak Verilator to run on Windows as desired.
setup-x86_64.exe
to cygwin root.ci_scripts/appveyor_install.sh
to install this library and it's dependenciesAfter installation verilator has to run under cygwin, but python and this library are not restricted.