Skip to content

Commit

Permalink
source enter file properly to avoid the script crash (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaasjd authored Apr 20, 2023
1 parent dc5dbc8 commit 9543ac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hammer/drc/icv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def run_icv(self) -> bool:
with open(self.view_drc_script, "w") as f:
f.write("""
cd {run_dir}
source enter
source ./enter
# Start Synopsys IC Validator WorkBench and wait for port to open before starting VUE
{icvwb} -socket {port} -run {macrofile} {gds} &
while ! nc -z localhost {port}; do
Expand Down
2 changes: 1 addition & 1 deletion hammer/lvs/icv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def run_icv(self) -> bool:
with open(self.view_lvs_script, "w") as f:
f.write("""
cd {run_dir}
source enter
source ./enter
# Start Synopsys IC Validator WorkBench and wait for port to open before starting VUE
{icvwb} -socket {port} -run {macrofile} {gds} &
while ! nc -z localhost {port}; do
Expand Down

0 comments on commit 9543ac8

Please sign in to comment.