Skip to content

Commit

Permalink
remove use of my constraint mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulk29 committed Apr 26, 2024
1 parent 909da59 commit 658edab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions hammer/common/cadence/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

class CadenceTool(HasSDCSupport, HasCPFSupport, HasUPFSupport, TCLTool, HammerTool):
"""Mix-in trait with functions useful for Cadence-based tools."""

constraint_mode = "my_constraint_mode"

@property
Expand Down
4 changes: 2 additions & 2 deletions hammer/par/innovus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ def place_opt_design(self) -> bool:
if self.hierarchical_mode.is_nonleaf_hierarchical():
self.verbose_append('''
flatten_ilm
update_constraint_mode -name my_constraint_mode -ilm_sdc_files {sdc}
'''.format(sdc=self.post_synth_sdc), clean=True)
update_constraint_mode -name {name} -ilm_sdc_files {sdc}
'''.format(name=self.constraint_mode, sdc=self.post_synth_sdc), clean=True)

# Use place_opt_design V2 (POD-Turbo). Option must be explicitly set only in 22.1.
if self.version() >= self.version_number("221") and self.version() < self.version_number("231"):
Expand Down

0 comments on commit 658edab

Please sign in to comment.