Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple rounds of opt_design in Innovus plugin #837

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion hammer/par/innovus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,10 @@ def opt_design(self) -> bool:
Post-route optimization and fix setup & hold time violations.
-expanded_views creates timing reports for each MMMC view.
"""
self.verbose_append("opt_design -post_route -setup -hold -expanded_views")
rounds = self.get_setting("par.innovus.opt_design_rounds")
assert rounds > 0
for r in range(rounds):
self.verbose_append("opt_design -post_route -setup -hold -expanded_views")
if self.hierarchical_mode.is_nonleaf_hierarchical():
self.verbose_append("unflatten_ilm")
return True
Expand Down
4 changes: 4 additions & 0 deletions hammer/par/innovus/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ par.innovus:
# Note that this requires an optional licence (enccco).
# type: bool
use_cco: true

# How many iterations to run opt_design
# If the first opt_design fails to converge by a small margin, the second run may achieve closure
opt_design_rounds: 1