1 2 3 4 5 6 7 8 9 10 11 12 13 14
import os import sys from string import join from vunit import VUnit # Create VUnit instance by parsing command line arguments vu = VUnit.from_argv() vu.add_com() lib = vu.add_library("lib") lib.add_source_files("*.vhd") vu.main()