Skip to content

Commit

Permalink
Merge pull request #2544 from Pinata-Consulting/report-clock-skew
Browse files Browse the repository at this point in the history
variables: add REPORT_CLOCK_SKEW
  • Loading branch information
maliberty authored Nov 3, 2024
2 parents 1837132 + addd9c9 commit 850607e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flow/scripts/report_metrics.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ proc report_metrics { stage when {include_erc true} {include_clock_skew true} }
report_worst_slack >> $filename
report_worst_slack_metric >> $filename

if {$include_clock_skew} {
if {$include_clock_skew && $::env(REPORT_CLOCK_SKEW)} {
report_puts "\n=========================================================================="
report_puts "$when report_clock_skew"
report_puts "--------------------------------------------------------------------------"
Expand Down
12 changes: 12 additions & 0 deletions flow/scripts/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,18 @@ CORE_AREA:
(X1 Y1 X2 Y2).
stages:
- floorplan
REPORT_CLOCK_SKEW:
description:
Report clock skew as part of reporting metrics, starting at CTS,
before which there is no clock skew.

This metric can be quite time-consuming, so it can be useful to disable.
stages:
- cts
- grt
- route
- final
default: 1
SKIP_REPORT_METRICS:
description: >
If set to 1, then metrics, report_metrics does nothing. Useful to speed up builds.
Expand Down

0 comments on commit 850607e

Please sign in to comment.