-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9718ffe
commit 25dcd0e
Showing
13 changed files
with
635 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,16 @@ | |
# | ||
# Copyright (c) 2014-2023, Lars Asplund [email protected] | ||
|
||
import sys | ||
from os import environ | ||
from pathlib import Path | ||
from vunit import VUnit | ||
from vunit.python_pkg import compile_vhpi_application, compile_fli_application, compile_vhpidirect_nvc_application | ||
from vunit.python_pkg import ( | ||
compile_vhpi_application, | ||
compile_fli_application, | ||
compile_vhpidirect_nvc_application, | ||
compile_vhpidirect_ghdl_application, | ||
) | ||
|
||
|
||
def remote_test(): | ||
|
@@ -15,7 +22,6 @@ def remote_test(): | |
|
||
def main(): | ||
root = Path(__file__).parent | ||
|
||
vu = VUnit.from_argv() | ||
vu.add_vhdl_builtins() | ||
vu.add_python() | ||
|
@@ -29,6 +35,8 @@ def main(): | |
compile_fli_application(root, vu) | ||
elif simulator_name == "nvc": | ||
compile_vhpidirect_nvc_application(root, vu) | ||
elif simulator_name == "ghdl": | ||
compile_vhpidirect_ghdl_application(root, vu) | ||
|
||
lib = vu.add_library("lib") | ||
lib.add_source_files(root / "test" / "*.vhd") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.