Skip to content

Commit

Permalink
[VivadoTools] Source *_load.tcl from same dir as DCP (#1032)
Browse files Browse the repository at this point in the history
Signed-off-by: Eddie Hung <eddie.hung@amd.com>
  • Loading branch information
eddieh-xlnx authored Jul 16, 2024
1 parent 8131a23 commit e024bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/xilinx/rapidwright/util/VivadoTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 + "}; ";
Expand Down

0 comments on commit e024bff

Please sign in to comment.