Skip to content

Commit a692d32

Browse files
docs/build_tb: Updated export variables based on Vivado/Vitis version (#256)
Signed-off-by: Istvan-Zsolt Szekely <istvan.szekely@analog.com>
1 parent 0ce7017 commit a692d32

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

docs/user_guide/build_tb.rst

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ You may also do this manually (for better or worse); the following snippet is
7777
from a **.bashrc** file. Please note that unless you are an expert at manipulating
7878
these things, it is best to leave it to the tools to set up the environment.
7979

80+
For Vivado versions of 2025 and later, use the following command:
81+
82+
.. shell::
83+
84+
$export PATH=$PATH:/opt/Xilinx/202x.x/Vivado/bin:/opt/Xilinx/202x.x/Vitis/bin
85+
86+
For Vivado versions prior to 2025, use the following command:
87+
8088
.. shell::
8189

8290
$export PATH=$PATH:/opt/Xilinx/Vivado/202x.x/bin:/opt/Xilinx/Vitis/202x.x/bin
@@ -89,6 +97,14 @@ The best option on Windows is to use
8997
``make`` and ``git`` packages. You should do changes to your **.bashrc** in a
9098
similar manner to the Linux environment.
9199

100+
For Vivado versions of 2025 and later, use the following command:
101+
102+
.. shell::
103+
104+
$export PATH=$PATH:/cygdrive/d/Xilinx/202x.x/Vivado/bin:/cygdrive/d/Xilinx/202x.x/Vitis/bin
105+
106+
For Vivado versions prior to 2025, use the following command:
107+
92108
.. shell::
93109

94110
$export PATH=$PATH:/cygdrive/d/Xilinx/Vivado/202x.x/bin:/cygdrive/d/Xilinx/Vitis/202x.x/bin
@@ -97,6 +113,14 @@ A very good alternative to Cygwin is
97113
`WSL <https://learn.microsoft.com/en-us/windows/wsl/install/>`__. The
98114
manual changes to your **.bashrc** should look like:
99115

116+
For Vivado versions of 2025 and later, use the following command:
117+
118+
.. shell::
119+
120+
$export PATH=$PATH:/opt/path_to/202x.x/Vivado/bin:/opt/202x.x/Vitis/bin
121+
122+
For Vivado versions prior to 2025, use the following command:
123+
100124
.. shell::
101125

102126
$export PATH=$PATH:/opt/path_to/Vivado/202x.x/bin:/opt/Vitis/202x.x/bin
@@ -108,7 +132,8 @@ variations** installed by the tools itself.
108132

109133
Some of these may not be fully functional with our scripts and/or projects.
110134
If you are an AMD user, use the **gnuwin** installed as part of the SDK,
111-
usually at ``C:\Xilinx\Vitis\202x.x\gnuwin\bin``.
135+
usually at ``C:\Xilinx\202x.x\Vitis\gnuwin\bin`` for Vitis versions of 2025 and
136+
later, or ``C:\Xilinx\Vitis\202x.x\gnuwin\bin`` for prior versions.
112137

113138
Repository path setup
114139
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)