Skip to content

Commit

Permalink
restore old changes in the changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Kareem Farid <[email protected]>
  • Loading branch information
kareefardi committed Jan 21, 2025
1 parent db9c4d4 commit 05d7792
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@

* `OpenROAD.DetailedRouting`

* Added `DRT_SAVE_SNAPSHOTS` which enables saving snapshots of the layout each detalied routing iteration.
* Added `DRT_SAVE_DRC_REPORT_ITERS`
* Added `DRT_ANTENNA_REPAIR` which enables antenna fixing after detailed routing
* Added `DRT_ANTENNA_MARGIN` which is similar to `GRT_ANTENNA_MARGIN`
* Added `DRT_ANTENNA_REPAIR_ITERS`
Expand Down
4 changes: 2 additions & 2 deletions openlane/scripts/openroad/drt.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
proc run_drt_antenna_repair_step {i args} {
set directory "${i}-after-repair-antenna"
file mkdir ${i}-after-repair-antenna
set directory "${i}-antenna-repair"
file mkdir $directory
set output_drc "-output_drc $::env(STEP_DIR)/$directory/$::env(DESIGN_NAME).drc"
log_cmd detailed_route {*}$args {*}$output_drc
if { $::env(DRT_SAVE_SNAPSHOTS) } {
Expand Down
9 changes: 6 additions & 3 deletions openlane/steps/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -1315,9 +1315,12 @@ def run_subprocess(
link_start = f"[link=file://{os.path.abspath(log_path)}]"
link_end = "[/link]"

verbose(
f"Logging subprocess to [repr.filename]{link_start}'{os.path.relpath(log_path)}'{link_end}[/repr.filename]…"
)
msg = f"Logging subprocess to [repr.filename]{link_start}'{os.path.relpath(log_path)}'{link_end}[/repr.filename]…"
if logging.options.get_condensed_mode():
info(msg)
else:
verbose(msg)

process = _popen_callable(
cmd_str,
encoding="utf8",
Expand Down

0 comments on commit 05d7792

Please sign in to comment.