The-OpenROAD-Project / OpenLane

OpenLane is an automated RTL to GDSII flow based on several components including OpenROAD, Yosys, Magic, Netgen and custom methodology scripts for design exploration and optimization.
https://openlane.readthedocs.io/
Apache License 2.0
1.31k stars 368 forks source link

Replace outdated commands in synthesis scripts #2052

Closed donn closed 10 months ago

donn commented 10 months ago

Description

First reported in https://github.com/The-OpenROAD-Project/OpenLane/issues/1523 (and mistakenly closed) then resurfaced as https://github.com/The-OpenROAD-Project/OpenLane/issues/2050:

The commands refactor and rewrite are considered broken by the Yosys team: see this comment from @jix. https://github.com/YosysHQ/yosys/issues/4039#issuecomment-1817937447

Proposal

drf and drw are offered as "drop-in" replacements. If refactor and rewrite are in a state of disrepair, they should be replaced (at the very least for OpenLane 2.)

We are, however, weary of unintended side effects. ABC scripts tend to be… incredibly opaque and moody. This will need to be discussed.

donn commented 10 months ago

To those looking for a workaround, the SYNTH_STRATEGY may be set to DELAY 4, which lacks the offending commands.