This fixes the path passed to Vivado to open the project. The existing code worked when supplied with absolute paths, but broke when supplied with relative paths as Vivado is already run from inside outDir, however xpr already includes outDir. This fix computes the correct relative path instead.
This fixes the path passed to Vivado to open the project. The existing code worked when supplied with absolute paths, but broke when supplied with relative paths as Vivado is already run from inside
outDir
, howeverxpr
already includesoutDir
. This fix computes the correct relative path instead.