Skip to content

Commit

Permalink
Address review comments regarding testbench path
Browse files Browse the repository at this point in the history
  • Loading branch information
azaidy committed Aug 29, 2024
1 parent 40fcd4c commit b32ba87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion umi/sumi/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def sumi_dut(build_dir, request):

# Add testbench
test_file_name = Path(request.fspath).stem
testbench_name = test_file_name.replace('test', 'sumi/testbench/testbench') + ".sv"
assert (test_file_name[:5] == 'test_'), "Test file name must start with test_"
testbench_name = f'sumi/testbench/testbench_{test_file_name[5:]}.sv'
dut.input(testbench_name, package='umi')

# TODO: How to add module/testbench specific parameters
Expand Down

0 comments on commit b32ba87

Please sign in to comment.