<gh_stars>1-10
#!/usr/bin/env python3

"""VUnit run script."""

from pathlib import Path
from vunit import VUnit

prj = VUnit.from_argv()
lib = prj.add_library("lib")

root = Path(__file__).parent
lib.add_source_files(root / "src" / "*.vhd")
lib.add_source_files(root / "test" / "*.vhd")

prj.main()

#!/usr/bin/env python3

"""VUnit run script."""

from pathlib import Path
from vunit import VUnit

prj = VUnit.from_argv()
lib = prj.add_library("lib")

root = Path(__file__).parent
lib.add_source_files(root / "src" / "*.vhd")
lib.add_source_files(root / "test" / "*.vhd")

prj.main()
#!/usr/bin/env python3 VUnit run script.