From db4db17c3a15374ef5ba931776b574db3c53136d Mon Sep 17 00:00:00 2001 From: Mike Inouye Date: Mon, 5 Aug 2024 22:00:35 +0000 Subject: [PATCH] Fix a bug in the pin placement script feature of place_and_route. Signed-off-by: Mike Inouye --- place_and_route/private/place_pins.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/place_and_route/private/place_pins.bzl b/place_and_route/private/place_pins.bzl index 1f936490..80940921 100644 --- a/place_and_route/private/place_pins.bzl +++ b/place_and_route/private/place_pins.bzl @@ -45,8 +45,8 @@ def place_pins(ctx, open_road_info): ] tapcell_command = "source {}".format(open_road_configuration.tapcell_tcl.path) - if ctx.file.pin_placement_script: - inputs.append(ctx.file.pin_placement_script) + if ctx.file.pin_placement_script: + inputs.append(ctx.file.pin_placement_script) open_road_commands = [ "source {}".format(ctx.file.pin_placement_script.path) if ctx.file.pin_placement_script else "",