Skip to content

Commit

Permalink
P&R: Modify database extension
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mtdudek committed Dec 14, 2023
1 parent ccb553b commit ee561f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions place_and_route/open_road.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ee561f3

Please sign in to comment.