Skip to content

Commit 850607e

Browse files
authored
Merge pull request #2544 from Pinata-Consulting/report-clock-skew
variables: add REPORT_CLOCK_SKEW
2 parents 1837132 + addd9c9 commit 850607e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

flow/scripts/report_metrics.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ proc report_metrics { stage when {include_erc true} {include_clock_skew true} }
3131
report_worst_slack >> $filename
3232
report_worst_slack_metric >> $filename
3333

34-
if {$include_clock_skew} {
34+
if {$include_clock_skew && $::env(REPORT_CLOCK_SKEW)} {
3535
report_puts "\n=========================================================================="
3636
report_puts "$when report_clock_skew"
3737
report_puts "--------------------------------------------------------------------------"

flow/scripts/variables.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ CORE_AREA:
8181
(X1 Y1 X2 Y2).
8282
stages:
8383
- floorplan
84+
REPORT_CLOCK_SKEW:
85+
description:
86+
Report clock skew as part of reporting metrics, starting at CTS,
87+
before which there is no clock skew.
88+
89+
This metric can be quite time-consuming, so it can be useful to disable.
90+
stages:
91+
- cts
92+
- grt
93+
- route
94+
- final
95+
default: 1
8496
SKIP_REPORT_METRICS:
8597
description: >
8698
If set to 1, then metrics, report_metrics does nothing. Useful to speed up builds.

0 commit comments

Comments
 (0)