Skip to content

Commit

Permalink
set test directory in testbench file automatically in RTL node
Browse files Browse the repository at this point in the history
  • Loading branch information
kavyasreedhar committed Aug 7, 2024
1 parent 021298e commit 3c6d53a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion gf_physical_design/NEW/reg_file/rtl/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ commands:
- cp $TOP/TEST/inputs/lakespec.sv outputs/design.v
- cp $TOP/tests/test_spec_hw/tb.sv outputs/testbench.sv
- cat $TOP/TEST/inputs/comp_args.txt $TOP/TEST/inputs/PARGS.txt > outputs/design.args
- cp $TOP/TEST/inputs/comp_args.txt outputs/design.args

- echo $PWD

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def remove_appends(filename):

index += 1

with open("outputs/new.pt.sdc", 'w') as f:
with open(filename, 'w') as f:
for line in all_lines:
f.write(line)

Expand Down
1 change: 1 addition & 0 deletions gf_physical_design/NEW/sample/rtl/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ commands:
- cp $TOP/TEST/inputs/lakespec.sv outputs/design.v
- cp $TOP/tests/test_spec_hw/tb.sv outputs/testbench.sv
- cat $TOP/TEST/inputs/comp_args.txt $TOP/TEST/inputs/PARGS.txt > outputs/design.args
- python set_test_dir.py

- echo $PWD

0 comments on commit 3c6d53a

Please sign in to comment.