Skip to content

Commit

Permalink
feat: add SYNTH_CORNER
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 Jan 2, 2025
1 parent 2400723 commit 3c25250
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

## Steps

* `Yosys.*`
* Added `SYNTH_CORNER`

* `OpenROAD.CTS`
* Added flags `CTS_OBSTRUCTION_AWARE` and `CTS_BALANCE_LEVELS`
* Added `CTS_SINK_BUFFER_MAX_CAP_DERATE_PCT`
Expand Down
2 changes: 1 addition & 1 deletion openlane/common/toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def filter_views(
corner.
:param views_by_corner: The mapping from (wild cards) of corner names to
views.
:param corner: An explicit override for the default corner. Must be a
:param timing_corner: An explicit override for the default corner. Must be a
fully qualified IPVT corner.
:returns: The created list
"""
Expand Down
2 changes: 0 additions & 2 deletions openlane/config/pdk_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ def process_sta(key: str):
"max_ss_100C_1v60",
"max_ff_n40C_1v95",
]
new["SYNTH_CORNER"] = "*_ss_100C_1v60"
elif new["PDK"].startswith("gf180mcu"):
new["STA_CORNERS"] = [
"nom_tt_025C_5v00",
Expand All @@ -227,7 +226,6 @@ def process_sta(key: str):
"max_ss_125C_4v50",
"max_ff_n40C_5v50",
]
new["SYNTH_CORNER"] = "*_ss_125C_4v50"

new["DEFAULT_CORNER"] = f"nom_{default_pvt}"
new["TIMING_VIOLATION_CORNERS"] = ["*tt*"]
Expand Down
4 changes: 3 additions & 1 deletion openlane/steps/pyosys.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class PyosysStep(Step):
Variable(
"SYNTH_CORNER",
Optional[str],
"IPVT corners to use during resizer optimizations. If unspecified, the value for `STA_CORNERS` from the PDK will be used.",
"A fully qualified IPVT corner to use during synthesis. If unspecified, the value for `DEFAULT_CORNER` from the PDK will be used.",
pdk=True,
),
]
Expand Down Expand Up @@ -249,6 +249,8 @@ def get_command(self, state_in: State) -> List[str]:
scl_lib_list = self.toolbox.filter_views(
self.config, self.config["LIB"], self.config.get("SYNTH_CORNER")
)
print(scl_lib_list)
exit()
if self.power_defines and self.config["CELL_VERILOG_MODELS"] is not None:
blackbox_models.extend(
[
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openlane"
version = "3.0.0.dev5"
version = "3.0.0.dev6"
description = "An infrastructure for implementing chip design flows"
authors = ["Efabless Corporation and Contributors <donn@efabless.com>"]
readme = "Readme.md"
Expand Down

0 comments on commit 3c25250

Please sign in to comment.