Skip to content

Commit

Permalink
Merge branch 'dev' into synthesis-corner
Browse files Browse the repository at this point in the history
  • Loading branch information
kareefardi authored Oct 21, 2024
2 parents a434596 + 904e9c1 commit e9a6d6f
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 10 deletions.
135 changes: 135 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,141 @@
## Documentation
-->

# 2.2.0

## CLI

* Exposed Flow.start(overwrite=) as `--overwrite`, which removes a run directory
before running the flow (if it exists)

## Steps

* Created `Odb.ManualGlobalPlacement`

* Can create a global placement for instances. Intended for
manually-instantiated buffers that require a certain regional placement or
similar.
* Uses new variable `MANUAL_GLOBAL_PLACEMENTS`, a mapping from instance names
to the `Instance` class.

* Created `Odb.CellFrequencyTables`

* Creates a number of tables to show the cell frequencies by:
* Cells
* Buffer cells only
* Cell Function
* SCL

* `OpenROAD.*`

* All steps that modify views now update design cell metrics using OpenROAD's
`report_design_area_metrics`

* `OpenROAD.ResizerTimingPostGRT`

* Added `GRT_RESIZER_RUN_GRT` to control whether global routing is re-run
after this step, which is usually required but may be redundant in some
custom flows.

* `OpenROAD.RepairDesignPostGRT`

* Added `GRT_DESIGN_REPAIR_RUN_GRT` to control whether global routing is
re-run after this step, which is usually required but may be redundant in
some custom flows.

* `OpenROAD.STA*`

* New report `clock.rpt` created with information about each clock in a
specific domain

* `OpenROAD.WriteViews`

* Added `OPENROAD_LEF_BLOAT_OCCUPIED_LAYERS` with a default value of `true`

* `Yosys.*Synthesis`

* ABC scripts used now created dynamically and dumped as a `.abc` file into
the step directory.
* Implemented many of the
[suggestions by @ravenslofty](https://github.com/efabless/openlane2/issues/524)
from YosysHQ, some behind flags:
* `SYNTH_ABC_DFF`: Adds `-dff` to `abc` invocations (except the ones inside
`synth`)
* `SYNTH_ABC_BOOTH`: Activates the
[`booth`](https://yosyshq.readthedocs.io/projects/yosys/en/0.44/cmd/booth.html)
pass as part of `synth`
* `SYNTH_ABC_USE_MFS3`: Uses `mfs3` in all strategies before retime
* `SYNTH_ABC_AREA_USE_NF`: Attempts delay-based mapping with a really high
delay value instead of area-based mapping.

* `Yosys.JsonHeader`, `Yosys.*Synthesis`

* **Internal**: * Steps are no longer `TclStep`s: rewritten in Python and now
use `libyosys`. While there are no functional changes, this enhances the
codebase's consistency and helps avoid tokenization-related security issues.

## Flows

* `Classic`
* Emplaced `Odb.ManualGlobalPlacement` immediately preceding
`OpenROAD.DetailedPlacement`.
* Emplaced `Odb.CellFrequencyTables` after `OpenROAD.FillInsertion`

## Tool Updates

* OpenROAD -> `bbe940134bddf836894bfd1fe02153f4a38f8ae5`

* OpenSTA -> `20925bb00965c1199c45aca0318c2baeb4042c5a`
* Removed "stable" version of OpenSTA

* Updated nix-eda to `0814aa6`: more orthodox approach to managing dependencies
by overlaying them on top of nixpkgs, which fixes an occasional "repeated
allocation" issue and helps make override behavior more consistent.

* Yosys and first-party plugins -> `0.46`
* `klayout` -> `0.29.4`
* `magic` -> `8.3.489`
* `netgen` -> `1.5.278`
* OpenROAD now used with new `withPythonPackages` features to use Python
packages specifically for the OpenROAD environment

* OpenLane itself no longer included in `devShells.*.dev`, `devShells.*.docs`

* These shells are intended to be actual dev shells, i.e. used to develop
OpenLane, and needing OpenLane to pass tests to run these shells makes no
sense.

* Open PDKs -> `0fe599b` (Recommended for chipIgnite 2409/2411+ shuttles)

## Misc. Enhancements/Bugfixes

* `openlane.common.metrics`
* `aggregate_metrics()`: Added support for aggregation of N-modifier levels
* `openlane.config.Config`
* YAML 1.2 configuration files now accepted using `.yaml` or `.yml`
extensions, with the same featureset as JSON files.
* The first configuration (file/dict) supplied no longer needs to be a
complete configuration so long as any required variables are supplied in
later configurations. Missing variables are only checked on the complete
configuration.
* Internally reworked how config files and command-line overrides are parsed.
* Fixed bug with deprecated variable translations of
`{CLOCK,SIGNAL}_WIRE_RC_LAYERS`.

## Documentation

* Added info on YAML configuration files.
* Documentation for `Instance` dataclass generalized to include instances of
cells and not macros.

# 2.1.11

## Steps

* `OpenROAD.STA*PnR`

* Fixed `timing__*_r2r__ws__corner` metrics reporting the wrong value

# 2.1.10

## Misc. Enhancements/Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion openlane/open_pdks_rev
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bdc9412b3e468c102d01b7cf6337be06ec6e9c9a
0fe599b2afb6708d281543108caf8310912f54af
7 changes: 0 additions & 7 deletions openlane/scripts/openroad/sta/corner.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,6 @@ foreach path $hold_paths {
set kind "[get_path_kind $start_pin $end_pin]"
set slack [get_property $path slack]

if { $slack >= 0 } {
continue
}
if { "$kind" == "reg-reg" } {
set slack [get_property $path slack]

Expand Down Expand Up @@ -324,10 +321,6 @@ foreach path $setup_paths {
set kind "[get_path_kind $start_pin $end_pin]"
set slack [get_property $path slack]

if { $slack >= 0 } {
continue
}

if { "$kind" == "reg-reg" } {
set slack [get_property $path slack]
if { $slack < $worst_r2r_setup_slack } {
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 = "2.1.10"
version = "2.2.0"
description = "An infrastructure for implementing chip design flows"
authors = ["Efabless Corporation and Contributors <[email protected]>"]
readme = "Readme.md"
Expand Down

0 comments on commit e9a6d6f

Please sign in to comment.