You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**pyEDAA.Launcher** starts the correct Xilinx Vivado version based on the version number written into the ``*.xpr`` file.
29
+
If no suitable version was found, an error message is shown.
28
30
29
31
# Main Goals
30
-
If one is using the Xilinx Vivado IDE, you will know that you can't just open the xpr project file with a double click if you have installed more then one Vivado version. This is because Xilinx has no Launcher which is checking the version of the project and passing the xpr to the correct Vivado Version. This project addresses exactly this problem.
31
32
32
-
1. Check with which Vivado Version a xpr was created
33
-
1. and pass the xpr to the correct Version.
34
-
1. Now you can open every xpr just with a simple double click!
35
-
1. It behaves exactly as you would open the xpr directly with Vivado itself. **With one exeption**:
36
-
The working dir in Vivado is set to the xpr path and not to AppData, like it should be!
33
+
When opening Xilinx Vivado by double-clicking an ``*.xpr`` file in the Windows Explorer, a default Vivado version is
34
+
launched by Windows. In many cases, this is the first Vivado version that was installed on a system, but not the latest
35
+
version. Anyhow, in most cases, Windows starts the wrong Vivado version, which leeds to a project upgrade question, or a
36
+
rejection, because the project file is too new.
37
37
38
-
# Installation
39
-
* Copy the executable from the releases to the Vivado installation Path. For me its `C:\Xilinx\Vivado\`.
40
-
* In this Path you should see the installation-folders of all Vivado Versions. E.g: 2018.3, 2019.1, ...
41
-
* Change File-association: Right click on `*.xpr` -> open with -> choose another app -> and select the `VivadoLauncher.exe`
42
-
* That's it.
38
+
**pyEDAA.Launcher** addresses exactly this problem. It will start the correct Xilinx Vivado installation with correct
39
+
working directory settings, if that requested Vivado version is found on the system.
43
40
44
-
Note for Xilinx: Feel free to include this in the next release to stop this version madness. Please inform us then.
41
+
## How does it work?
42
+
43
+
1. Check with which Vivado version was used to save the ``*.xpr`` file.
44
+
2. Scan the Xilinx installation directory for available Vivado versions.
45
+
3. If a matching version was found, start Vivado and pass the ``*.xpr`` as a parameter.
46
+
47
+
## Differences to opening the ``*.xpr`` from GUI?
48
+
49
+
By default, Xilinx Vivado has its working directory in ``AppData``, but the working directory should be in the directory
50
+
where the ``*.xpr`` file is located. This is fixed by **pyEDAA.Launcher** as a side effect. Now, Vivado saves log and
51
+
journal files to the correct locations.
52
+
53
+
54
+
> # Installation
55
+
> * Copy the executable from the releases to the Vivado installation Path. For me its `C:\Xilinx\Vivado\`.
56
+
> * In this Path you should see the installation-folders of all Vivado Versions. E.g: 2018.3, 2019.1, ...
57
+
> * Change File-association: Right click on `*.xpr` -> open with -> choose another app -> and select the `VivadoLauncher.exe`
58
+
> * That's it.
59
+
60
+
> Note for Xilinx: Feel free to include this in the next release to stop this version madness. Please inform us then.
45
61
46
62
# Contributors
47
63
@@ -56,4 +72,4 @@ This Python package (source code) licensed under [Apache License 2.0](LICENSE.md
56
72
The accompanying documentation is licensed under [Creative Commons - Attribution 4.0 (CC-BY 4.0)](doc/Doc-License.rst).
0 commit comments