RFC: slew limit on macro output ports
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Start by reading platforms/asap7/constraints.sdc and scripts/util.tcl, then compare the platform constraint templates and the macro flow behavior described in the issue. The issue asks maintainers to choose among four approaches and decide whether a check should warn or fail; there is no implementation scope or completion criterion yet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
When hardening a macro with the platform constraints.sdc (for example flow/platforms/asap7/constraints.sdc), nothing limits the slew on top-level output ports. A port net that runs a long way across the macro is never seen as a slew violation, so repair_design leaves it unbuffered. The macro's boundary timing (reg2out / in2out) then fails by orders of magnitude, with no warning anywhere.
I'd like guidance on where ORFS should guard against this, because I don't see an obvious best option.
What happens
platforms/asap7/constraints.sdcsets the clock, the threeset_max_delayboundary budgets and thegroup_paths. It has noset_max_transition,set_loadorset_driving_cell. I believe the other platforms' templates are the same.- The library's
default_max_transitionbinds library pins only. A top-level output port has no library pin, so no slew limit applies to it. repair_design_helper(scripts/util.tcl) passes only-slew_marginand-cap_margin, and no max wire length. So:- a long net from an internal buffer to an output port is never a violation, while internal long nets do get repeater chains;
report_check_types -max_slew -violatorslists no ports, even though port slew is far above the library default.
repair_timingdoesn't rescue it either: rebuffering skips nets that drive a top-level output port.- The result is boundary paths dominated by one unbuffered port net, with nothing in the logs pointing at the cause.
This rarely shows up on small macros. It shows up when a macro's pins sit far from the logic that drives them, which is common once a macro's pins are placed to face its neighbours in a parent floorplan.
Reproducer: a toy macro with a register driving an output pin placed on the far edge of the die (a few hundred µm to mm away), hardened with the platform SDC. The port net stays unbuffered after repair_design, and adding set_max_transition <lib default> [all_outputs] makes repair_design buffer it.
Options I can see, each with trade-offs
- A default in each platform's
constraints.sdc:set_max_transitionon[all_outputs], defaulting to the library'sdefault_max_transitionand overridable by a variable, like the existingin2reg_max/reg2out_max/in2out_max.- Simple, and it fixes most macro flows.
- It touches every platform, and it changes results for existing designs (more buffers on port nets).
- A check that fails, or warns, at floorplan when output ports have no effective slew limit, with an explicit variable to skip it (for example a chip top whose pads drive the ports).
- Makes the silent failure loud.
- Could be noisy for flows that don't care, which raises the question of warning versus error, and whether only for macro flows.
repair_designfalls back todefault_max_transitionfor top-level ports when no limit is set.- Fixes it everywhere with no SDC change.
- Changes OpenSTA and OpenROAD semantics: port limits conventionally come from the SDC.
- A max wire length passed to
repair_design(platform default or variable), so length alone triggers buffering.- Independent of slew limits.
- Only a proxy for the real constraint, and it needs a per-platform value.
Questions
- Which of these would ORFS accept: a platform default (1), a check (2), a tool fallback (3), a wire-length default (4), or a combination such as 1 + 2?
- If it's a check, should it be a warning or an error by default, and should it apply only to macro flows (designs hardened for use as macros)?
- Is there an existing convention for port slew, load and driving cell in macro flows that I've missed?
We currently carry option 1 for asap7 locally and can turn it into a PR for all platforms once there's agreement on the shape.
- Vorherrschende Sprache
- Verilog
- Sterne
- 836
- Forks
- 566
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 84
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus The-OpenROAD-Project/OpenROAD-flow-scripts
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4938 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
gf180: `-split_cuts {Metal3 0.128}` in the platform PDN config makes overlapping, off-grid Via2/Via3 cutsEvtl. wieder frei @gadfort hat das vor 33 Tagen übernommen, und es ist kein Pull Request offen. Offenpdn
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 71/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4754 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4739 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Make SYNTH_HDL_FRONTEND=slang defaultEvtl. wieder frei @jeffng-or hat das vor 74 Tagen übernommen, und es ist kein Pull Request offen. OffenStale
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4548 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 56/100
The-OpenROAD-Project/OpenROAD-flow-scripts#4940 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in The-OpenROAD-Project/OpenROAD-flow-scripts
Ähnliche Issues
-
v3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
pluginkollektiv/antispam-bee#952 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: middleware enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
config: reject Proxy-Authorization and Proxy-Authenticate in server headersEvtl. vergeben @haseemajaz hat das heute übernommen. Offenbug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
rohitgollarahalli/mcpx#38 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: API good first issue size/xs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 92/100
DahanItamar/DockNest#354 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100