Skip to content

Commit

Permalink
incorporate genus ILM blackboxes commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vighneshiyer committed Mar 15, 2023
1 parent e0a5fb9 commit 734fd32
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hammer/synthesis/genus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ def mapped_v_path(self) -> str:

@property
def mapped_hier_v_path(self) -> str:
return os.path.join(self.run_dir, "genus_invs_des/genus.v.gz")
if self.version() >= self.version_number("191"):
return os.path.join(self.run_dir, "{top}_noilm.mapped.v".format(self.top_module))
else:
return os.path.join(self.run_dir, "genus_invs_des/genus.v.gz")

@property
def mapped_sdc_path(self) -> str:
Expand Down Expand Up @@ -340,6 +343,8 @@ def write_outputs(self) -> bool:
top = self.top_module

verbose_append("write_hdl > {}".format(self.mapped_v_path))
if self.hierarchical_mode.is_nonleaf_hierarchical() and self.version() >= self.version_number("191"):
verbose_append("write_hdl -exclude_ilm > {}".format(self.mapped_hier_v_path))
verbose_append("write_script > {}.mapped.scr".format(top))
corners = self.get_mmmc_corners()
if corners:
Expand Down

0 comments on commit 734fd32

Please sign in to comment.