#!/usr/bin/env python3
from vunit import VUnit
from pathlib import Path
vu = VUnit.from_argv(compile_builtins = False)
vu.add_vhdl_builtins()
testbench_lib = vu.add_library('PROJECT_tb')
testbench_lib.add_source_files(Path(__file__).parent / 'testbench/**/*.vhd')
stopwatch_lib = vu.add_library('PROJECT')
stopwatch_lib.add_source_files(Path(__file__).parent / 'src/**/*.vhd')
vu.main()