From 1b60f776f0ef3f6c4d5a6ffefc16e26cf4bf362b Mon Sep 17 00:00:00 2001 From: Mike Inouye <mikeinouye@google.com> Date: Tue, 8 Oct 2024 17:44:47 +0000 Subject: [PATCH 1/2] Estimate parasitics for accurate timing information in benchmark. Signed-off-by: Mike Inouye <mikeinouye@google.com> --- place_and_route/private/benchmark.bzl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/place_and_route/private/benchmark.bzl b/place_and_route/private/benchmark.bzl index d3da1077..d0d9bf94 100644 --- a/place_and_route/private/benchmark.bzl +++ b/place_and_route/private/benchmark.bzl @@ -28,8 +28,12 @@ def benchmark(ctx, open_road_info): """ + est_parasitic_cmd = "estimate_parasitics -placement" + if ctx.attr.stop_after_step in ["global_routing", "detailed_routing"]: + est_parasitic_cmd = "estimate_parasitics -global_routing" + open_road_commands = [ - "report_power", + est_parasitic_cmd, "report_wns", "report_tns", "report_checks -path_delay min_max -format full_clock_expanded -fields {input_pin slew capacitance} -digits 3", From 0164abb00a6aa2b50e59471900171be3caf9cbde Mon Sep 17 00:00:00 2001 From: Mike Inouye <mikeinouye@google.com> Date: Tue, 8 Oct 2024 17:45:28 +0000 Subject: [PATCH 2/2] Undelete report_power Signed-off-by: Mike Inouye <mikeinouye@google.com> --- place_and_route/private/benchmark.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/place_and_route/private/benchmark.bzl b/place_and_route/private/benchmark.bzl index d0d9bf94..08b09522 100644 --- a/place_and_route/private/benchmark.bzl +++ b/place_and_route/private/benchmark.bzl @@ -34,6 +34,7 @@ def benchmark(ctx, open_road_info): open_road_commands = [ est_parasitic_cmd, + "report_power", "report_wns", "report_tns", "report_checks -path_delay min_max -format full_clock_expanded -fields {input_pin slew capacitance} -digits 3",