You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a0bb826
Browse filesBrowse the repository at this point in the historyBrowse files
place: DETAIL_PLACEMENT_ARGS reaches every detailed_placement call
detail_place.tcl passed DETAIL_PLACEMENT_ARGS to detailed_placement; the
four other calls -- after clock tree synthesis and after repair_timing in
cts.tcl, after repair_design and after repair_timing in global_route.tcl
-- were bare. A design that picks a legalizer for the place stage, say
-use_diamond_legalizer -max_displacement {450 450} because the default
negotiation legalizer could not place its wire buffers, was legalized by
the default again as soon as CTS inserted its clock buffers.
Measured on a 1.5 M-instance hierarchical design (asap7, 44 macros):
detailed_placement in the place stage took 149 s with the diamond
search; the re-legalization after clock_tree_synthesis in the same flow
ran the negotiation legalizer over 212,700 violations for 400 iterations,
17 minutes, on the same floorplan.
All five calls now go through detailed_placement_helper in util.tcl,
beside repair_timing_helper and repair_design_helper, so the argument
handling lives in one place and a sixth call cannot miss it. The variable
is scoped to place, cts and grt in variables.yaml, so a build system that
filters variables by stage passes it to all three. The default is empty,
so a flow that does not set it is unchanged. FlowVariables.md and
variables.json are regenerated.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Copy file name to clipboardExpand all lines: docs/user/FlowVariables.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ configuration file.
135
135
| <aname="DETAILED_METRICS"></a>DETAILED_METRICS| If set, then calls report_metrics prior to repair operations in the CTS and global route stages| 0|
136
136
| <aname="DETAILED_ROUTE_ARGS"></a>DETAILED_ROUTE_ARGS| Add additional arguments for debugging purposes during detail route.||
137
137
| <aname="DETAILED_ROUTE_END_ITERATION"></a>DETAILED_ROUTE_END_ITERATION| Maximum number of iterations.| 64|
138
-
| <aname="DETAIL_PLACEMENT_ARGS"></a>DETAIL_PLACEMENT_ARGS| Specify arguments to the detailed_placement call during placement.||
138
+
| <aname="DETAIL_PLACEMENT_ARGS"></a>DETAIL_PLACEMENT_ARGS| Specify arguments to every detailed_placement call: the one in placement and the re-legalizations after clock tree synthesis, after repair in CTS and after the repairs in global route. A legalizer chosen here (-use_diamond_legalizer, -max_displacement) is therefore the one every stage uses.||
139
139
| <aname="DFF_LIB_FILE"></a>DFF_LIB_FILE| Single Liberty file for flip-flop technology mapping (dfflibmap) during synthesis. Takes precedence over DFF_MAP_FILE when set.||
140
140
| <aname="DFF_MAP_FILE"></a>DFF_MAP_FILE| Optional mapping file supplied to Yosys to map D flip-flops||
141
141
| <aname="DIE_AREA"></a>DIE_AREA| The die area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).||
0 commit comments