Skip to content

Commit 24eb314

Browse files
committed
Updated README and documentation landing page.
1 parent 2ceaaef commit 24eb314

File tree

3 files changed

+54
-25
lines changed

3 files changed

+54
-25
lines changed

.idea/pyEDAA.Launcher.iml

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+29-13
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,39 @@
2525
[![Libraries.io SourceRank](https://img.shields.io/librariesio/sourcerank/pypi/pyEDAA.Launcher?longCache=true&style=flat-square)](https://libraries.io/github/edaa-org/pyEDAA.Launcher/sourcerank)
2626
-->
2727

28+
**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.
2830

2931
# 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.
3132

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.
3737

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.
4340

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.
4561
4662
# Contributors
4763

@@ -56,4 +72,4 @@ This Python package (source code) licensed under [Apache License 2.0](LICENSE.md
5672
The accompanying documentation is licensed under [Creative Commons - Attribution 4.0 (CC-BY 4.0)](doc/Doc-License.rst).
5773

5874
-------------------------
59-
SPDX-License-Identifier: Apache-2.0
75+
SPDX-License-Identifier: Apache-2.0

doc/index.rst

+23-12
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,44 @@
3030
The pyEDAA.Launcher Documentation
3131
#################################
3232

33-
.. image:: _static/work-in-progress.png
34-
:height: 275 px
35-
:align: center
36-
:target: https://GitHub.com/edaa-org/pyEDAA.Launcher
33+
**pyEDAA.Launcher** starts the correct Xilinx Vivado version based on the version number written into the ``*.xpr`` file.
34+
If no suitable version was found, an error message is shown.
3735

38-
.. raw:: html
3936

40-
<br>
37+
.. _goals:
4138

39+
Main Goals
40+
**********
4241

43-
one-liner TBD
42+
When opening Xilinx Vivado by double-clicking an ``*.xpr`` file in the Windows Explorer, a default Vivado version is
43+
launched by Windows. In many cases, this is the first Vivado version that was installed on a system, but not the latest
44+
version. Anyhow, in most cases, Windows starts the wrong Vivado version, which leeds to a project upgrade question, or a
45+
rejection, because the project file is too new.
4446

47+
**pyEDAA.Launcher** addresses exactly this problem. It will start the correct Xilinx Vivado installation with correct
48+
working directory settings, if that requested Vivado version is found on the system.
4549

46-
.. _goals:
50+
How does it work?
51+
=================
4752

48-
Main Goals
49-
**********
53+
1. Check with which Vivado version was used to save the ``*.xpr`` file.
54+
2. Scan the Xilinx installation directory for available Vivado versions.
55+
3. If a matching version was found, start Vivado and pass the ``*.xpr`` as a parameter.
56+
57+
Differences to opening the ``*.xpr`` from GUI?
58+
==============================================
5059

51-
tbd
60+
By default, Xilinx Vivado has its working directory in ``AppData``, but the working directory should be in the directory
61+
where the ``*.xpr`` file is located. This is fixed by **pyEDAA.Launcher** as a side effect. Now, Vivado saves log and
62+
journal files to the correct locations.
5263

5364

5465
.. _usecase:
5566

5667
Use Cases
5768
*********
5869

59-
* tbd
70+
* Handle multiple parallel Xilinx Vivado installations.
6071

6172

6273
.. _news:

0 commit comments

Comments
 (0)