From 1b60f776f0ef3f6c4d5a6ffefc16e26cf4bf362b Mon Sep 17 00:00:00 2001 From: Mike Inouye Date: Tue, 8 Oct 2024 17:44:47 +0000 Subject: [PATCH] Estimate parasitics for accurate timing information in benchmark. Signed-off-by: Mike Inouye --- 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",