~ruther/vhdl-spi

ref: 85f97d0167f3a30cad8eddd2d89dd634b5343169 vhdl-spi/run.py -rw-r--r-- 365 bytes
85f97d01 — František Boháček feat: simplify spi_transmit, send data without delay 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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