From 9543ac8b9c650773ce24637e67a4542323cb4be0 Mon Sep 17 00:00:00 2001 From: Reza Sajadiany Date: Thu, 20 Apr 2023 08:44:30 -0700 Subject: [PATCH] source enter file properly to avoid the script crash (#779) --- hammer/drc/icv/__init__.py | 2 +- hammer/lvs/icv/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hammer/drc/icv/__init__.py b/hammer/drc/icv/__init__.py index f8fd79289..2cf8b40fb 100644 --- a/hammer/drc/icv/__init__.py +++ b/hammer/drc/icv/__init__.py @@ -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 diff --git a/hammer/lvs/icv/__init__.py b/hammer/lvs/icv/__init__.py index 5ae51d8eb..18f8f4b80 100644 --- a/hammer/lvs/icv/__init__.py +++ b/hammer/lvs/icv/__init__.py @@ -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