From e024bff7306167de12d032699a97ffb87aeed2fd Mon Sep 17 00:00:00 2001 From: eddieh-xlnx Date: Tue, 16 Jul 2024 09:01:47 -0700 Subject: [PATCH] [VivadoTools] Source *_load.tcl from same dir as DCP (#1032) Signed-off-by: Eddie Hung --- src/com/xilinx/rapidwright/util/VivadoTools.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/xilinx/rapidwright/util/VivadoTools.java b/src/com/xilinx/rapidwright/util/VivadoTools.java index 67ca7b5de..40ae8aa77 100644 --- a/src/com/xilinx/rapidwright/util/VivadoTools.java +++ b/src/com/xilinx/rapidwright/util/VivadoTools.java @@ -305,7 +305,7 @@ public static String reportRouteStatus(String netName, Path dcp, Path workdir, b private static String createTclDCPLoadCommand(Path dcp, boolean encrypted) { if (encrypted) { - Path tclFileName = FileTools.replaceExtension(dcp.getFileName(), EDIFTools.LOAD_TCL_SUFFIX); + Path tclFileName = FileTools.replaceExtension(dcp, EDIFTools.LOAD_TCL_SUFFIX); return "source {" + tclFileName + "}; "; } else { return "open_checkpoint {" + dcp + "}; ";