-
Notifications
You must be signed in to change notification settings - Fork 8
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
Showing
17 changed files
with
71 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
include svreal.sv | ||
include svreal/svreal.sv |
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 |
---|---|---|
@@ -1 +1,6 @@ | ||
from .files import get_svreal_header | ||
from pathlib import Path | ||
|
||
PACK_DIR = Path(__file__).resolve().parent | ||
|
||
def get_svreal_header(): | ||
return PACK_DIR / 'svreal.sv' |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# svreal imports | ||
from .common import pytest_synth_params, run_synth | ||
from svreal.files import get_file, get_dir, get_svreal_header | ||
from .common import pytest_synth_params, run_synth, get_file, get_dir | ||
from svreal import get_svreal_header | ||
|
||
def pytest_generate_tests(metafunc): | ||
pytest_synth_params(metafunc) | ||
|
||
def test_synth(synth): | ||
run_synth(synth=synth, | ||
src_files=[get_file('tests/test_iface_core.sv'), | ||
get_file('tests/test_iface_synth.sv')], | ||
src_files=[get_file('test_iface_core.sv'), | ||
get_file('test_iface_synth.sv')], | ||
hdr_files=[get_svreal_header()], | ||
top='test_iface_synth', | ||
cwd=get_dir('tests/tmp/test_iface_synth')) | ||
cwd=get_dir('tmp/test_iface_synth') | ||
) |
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
# svreal imports | ||
from .common import pytest_synth_params, run_synth | ||
from svreal.files import get_file, get_dir, get_svreal_header | ||
from .common import pytest_synth_params, run_synth, get_file, get_dir | ||
from svreal import get_svreal_header | ||
|
||
def pytest_generate_tests(metafunc): | ||
pytest_synth_params(metafunc) | ||
|
||
def test_synth(synth): | ||
run_synth(synth=synth, | ||
src_files=[get_file('tests/test_synth.sv')], | ||
src_files=[get_file('test_synth.sv')], | ||
hdr_files=[get_svreal_header()], | ||
top='test_synth', | ||
cwd=get_dir('tests/tmp/test_synth')) | ||
cwd=get_dir('tmp/test_synth') | ||
) |