From ee561f3974b598d517014b504754403cef8bd0dd Mon Sep 17 00:00:00 2001 From: Maciej Dudek Date: Thu, 14 Dec 2023 13:31:26 +0100 Subject: [PATCH] P&R: Modify database extension This commit changes output_database file extension from .db to .odb. OpenROAD file explorer only allows for .odb to be opened from GUI. Signed-off-by: Maciej Dudek --- place_and_route/open_road.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/place_and_route/open_road.bzl b/place_and_route/open_road.bzl index 8ed01ca3..e5e9e9d7 100644 --- a/place_and_route/open_road.bzl +++ b/place_and_route/open_road.bzl @@ -210,9 +210,9 @@ def openroad_command(ctx, commands, input_db = None, step_name = None, inputs = output_db = None if step_name: - output_db = ctx.actions.declare_file("{}__{}.db".format(ctx.attr.name, step_name)) + output_db = ctx.actions.declare_file("{}__{}.odb".format(ctx.attr.name, step_name)) else: - output_db = ctx.actions.declare_file("{}{}.db".format(input_hash, command_hash)) + output_db = ctx.actions.declare_file("{}{}.odb".format(input_hash, command_hash)) real_commands = [] if input_db: