~ruther/vhdl-spi

5fcbd240919bb7da98f53e78414ffed43f9e4c2a — František Boháček 1 year, 7 months ago 52e34c0
chore: add vunit run configuration python file
1 files changed, 15 insertions(+), 0 deletions(-)

A run.py
A run.py => run.py +15 -0
@@ 0,0 1,15 @@
from vunit import VUnit
from pathlib import Path

vu = VUnit.from_argv(compile_builtins = False)

vu.add_vhdl_builtins()
vu.add_json4vhdl()

testbench_lib = vu.add_library('spi_tb')
testbench_lib.add_source_files(Path(__file__).parent / 'testbench/*.vhd')

spi_lib = vu.add_library('spi')
spi_lib.add_source_files(Path(__file__).parent / 'src/**/*.vhd')

vu.main()

Do not follow this link