Skip to content

Commit

Permalink
add CTS_DELAY_BUFFER_DERATE_PCT
Browse files Browse the repository at this point in the history
Signed-off-by: Kareem Farid <kareefardi@users.noreply.github.com>
  • Loading branch information
kareefardi committed Dec 15, 2024
1 parent f7ac225 commit 54c27be
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .Changelog-dev.md

This file was deleted.

9 changes: 9 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
## Documentation
-->

# Dev

## Steps

* `OpenROAD.CTS`
* Added flags `CTS_OBSTRUCTION_AWARE` and `CTS_BALANCE_LEVELS`
* Added `CTS_SINK_BUFFER_MAX_CAP_DERATE_PCT`
* Added `CTS_DELAY_BUFFER_DERATE_PCT`

# 2.2.9

## Steps
Expand Down
3 changes: 3 additions & 0 deletions openlane/scripts/openroad/cts.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ if { [info exists ::env(CTS_OBSTRUCTION_AWARE)] && $::env(CTS_OBSTRUCTION_AWARE)
if { [info exists ::env(CTS_SINK_BUFFER_MAX_CAP_DERATE_PCT)] } {
lappend arg_list -sink_buffer_max_cap_derate [expr $::env(CTS_SINK_BUFFER_MAX_CAP_DERATE_PCT) / 100.0]
}
if { [info exists ::env(CTS_DELAY_BUFFER_DERATE_PCT)] } {
lappend arg_list -delay_buffer_derate [expr $::env(CTS_DELAY_BUFFER_DERATE_PCT) / 100]
}
if { [info exists ::env(CTS_BALANCE_LEVELS)] && $::env(CTS_BALANCE_LEVELS) } {
lappend arg_list -balance_levels
}
Expand Down
7 changes: 7 additions & 0 deletions openlane/steps/openroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -2025,6 +2025,13 @@ class CTS(ResizerStep):
+ "The value of 100 means no derating of max cap limit",
units="%",
),
Variable(
"CTS_DELAY_BUFFER_DERATE_PCT",
Optional[Decimal],
"This option balances latencies between macro cells and registers by inserting delay buffers"
+ "The value of 100 means all needed delay buffers are inserted",
units="%",
),
Variable(
"CTS_OBSTRUCTION_AWARE",
Optional[bool],
Expand Down

0 comments on commit 54c27be

Please sign in to comment.