diff --git a/e2e/configs-env/inst-env.yml b/e2e/configs-env/inst-env.yml index ca362731d..ba6fc24ad 100644 --- a/e2e/configs-env/inst-env.yml +++ b/e2e/configs-env/inst-env.yml @@ -10,7 +10,7 @@ synopsys.SNPSLMD_LICENSE_FILE: "27005@license-srv.eecs.berkeley.edu" synopsys.MGLS_LICENSE_FILE: "1717@bwrcflex-1.eecs.berkeley.edu:1717@bwrcflex-2.eecs.berkeley.edu" # Commercial tool versions -synthesis.genus.version: "191" -par.innovus.version: "191" -synthesis.genus.genus_bin: "/home/ff/eecs151/hammer-tools/cadence/GENUS/GENUS191/bin/genus" # must point to binaries bc Hammer assumes DDI path now -par.innovus.innovus_bin: "/home/ff/eecs151/hammer-tools/cadence/INNOVUS/INNOVUS191/bin/innovus" +synthesis.genus.version: "221" +par.innovus.version: "221" +synthesis.genus.genus_bin: "/share/instsww/cadence/DDI221/GENUS221/bin/genus" +par.innovus.innovus_bin: "/share/instsww/cadence/DDI221/INNOVUS221/bin/innovus" diff --git a/hammer/synthesis/yosys/__init__.py b/hammer/synthesis/yosys/__init__.py index fc344c9be..fbfe135b0 100644 --- a/hammer/synthesis/yosys/__init__.py +++ b/hammer/synthesis/yosys/__init__.py @@ -249,7 +249,7 @@ def init_environment(self) -> bool: def syn_generic(self) -> bool: # TODO: is there a better way to do this? like self.get_setting() - if self._database.has_setting("synthesis.yosys.latch_map_file"): + if self._database.has_setting("synthesis.yosys.latch_map_file") and self.get_setting('synthesis.yosys.latch_map_file') is not None: latch_map = f"techmap -map {self.get_setting('synthesis.yosys.latch_map_file')}" else: # TODO: make the else case better latch_map = ""