@@ -41,6 +41,7 @@ relative to the :git-hdl:`HDL repository </>`. Our recommendation is to clone
4141the testbenches repository next to the HDL repository:
4242
4343.. shell ::
44+    :showuser: 
4445
4546   $git clone 
[email protected] :analogdevicesinc/testbenches.git
4647
@@ -50,6 +51,7 @@ branch, but it also has features **that are not fully tested**. If you
5051want to switch to any other branch you need to checkout that branch:
5152
5253.. shell ::
54+    :showuser: 
5355
5456   $cd testbenches/
5557   $git branch
@@ -80,12 +82,14 @@ these things, it is best to leave it to the tools to set up the environment.
8082For Vivado versions of 2025 and later, use the following command:
8183
8284.. shell ::
85+    :showuser: 
8386
8487   $export PATH=$PATH:/opt/Xilinx/202x.x/Vivado/bin:/opt/Xilinx/202x.x/Vitis/bin
8588
8689For Vivado versions prior to 2025, use the following command:
8790
8891.. shell ::
92+    :showuser: 
8993
9094   $export PATH=$PATH:/opt/Xilinx/Vivado/202x.x/bin:/opt/Xilinx/Vitis/202x.x/bin
9195
@@ -100,12 +104,14 @@ similar manner to the Linux environment.
100104For Vivado versions of 2025 and later, use the following command:
101105
102106.. shell ::
107+    :showuser: 
103108
104109   $export PATH=$PATH:/cygdrive/d/Xilinx/202x.x/Vivado/bin:/cygdrive/d/Xilinx/202x.x/Vitis/bin
105110
106111For Vivado versions prior to 2025, use the following command:
107112
108113.. shell ::
114+    :showuser: 
109115
110116   $export PATH=$PATH:/cygdrive/d/Xilinx/Vivado/202x.x/bin:/cygdrive/d/Xilinx/Vitis/202x.x/bin
111117
@@ -116,12 +122,14 @@ manual changes to your **.bashrc** should look like:
116122For Vivado versions of 2025 and later, use the following command:
117123
118124.. shell ::
125+    :showuser: 
119126
120127   $export PATH=$PATH:/opt/path_to/202x.x/Vivado/bin:/opt/202x.x/Vitis/bin
121128
122129For Vivado versions prior to 2025, use the following command:
123130
124131.. shell ::
132+    :showuser: 
125133
126134   $export PATH=$PATH:/opt/path_to/Vivado/202x.x/bin:/opt/Vitis/202x.x/bin
127135
@@ -142,6 +150,7 @@ The make script must know where the cloned HDL and Testbenches repositories are
142150located. Two variables must be exported, which specify the target directories:
143151
144152.. shell ::
153+    :showuser: 
145154
146155   $export ADI_HDL_DIR=<path to cloned HDL directory>
147156   $export ADI_TB_DIR=<path to cloned Testbenches directory>
@@ -156,11 +165,12 @@ Building a testbench
156165   from above!
157166
158167The way of building a testbench in Cygwin and WSL is almost the same.
159- In this example, it is building the **AD7616 ** testbench.
168+ In this example, it is building the **Base ** testbench.
160169
161170.. shell ::
171+    :showuser: 
162172
163-    $cd ad7616 
173+    $cd testbenches/ip/base 
164174   $make
165175
166176The ``make `` builds all the libraries first and then builds the testbench. The
@@ -184,6 +194,7 @@ configuration/test program parameter. Often used in combination with ``clean``
184194parameter.
185195
186196.. shell ::
197+    :showuser: 
187198
188199   $make all
189200
@@ -192,8 +203,9 @@ without any other input. This will build the configuration and run all test
192203programs on it.
193204
194205.. shell ::
206+    :showuser: 
195207
196-    $make cfg_si 
208+    $make cfg 
197209
198210Some projects support adding additional ``make `` parameters to configure
199211the project. This option gives you the ability to build only the configuration
@@ -202,8 +214,9 @@ configurations, as well as running the chosen test program. ``CFG`` specifies
202214the configuration file's name, while ``TST `` specifies the test program's name.
203215
204216.. shell ::
217+    :showuser: 
205218
206-    $make CFG=cfg_si  TST=test_program_si 
219+    $make CFG=cfg1  TST=test_program 
207220
208221.. caution ::
209222
@@ -221,6 +234,7 @@ The ``clean`` keyword removes the ``runs`` and ``results`` folders, as well as
221234the log files created by Vivado.
222235
223236.. shell ::
237+    :showuser: 
224238
225239   $make clean
226240
@@ -230,7 +244,9 @@ well. By default, ``make`` launches Vivado in batch mode, meaning that it won't
230244provide a GUI, only a result in the terminal at the end of the simulation.
231245
232246.. shell ::
247+    :showuser: 
233248
249+    $cd testbenches/ip/base
234250   $make MODE=gui
235251
236252The ``STOP_ON_ERROR `` parameter is mainly used for continuous integration
@@ -242,6 +258,7 @@ all testbenches is ``n``. This is useful for checking which configuration and
242258test program configurations are failing.
243259
244260.. shell ::
261+    :showuser: 
245262
246263   $make STOP_ON_ERROR=y
247264
@@ -299,8 +316,9 @@ waveform, there are two options:
299316  mode right after it builds the block design.
300317
301318.. shell ::
319+    :showuser: 
302320
303-    $cd ad7616 
321+    $cd testbenches/ip/base 
304322   $make MODE=gui
305323
306324- Build the testbench using ``make `` and open Vivado manually after the block
@@ -311,10 +329,11 @@ waveform, there are two options:
311329  that can be opened.
312330
313331.. shell ::
332+    :showuser: 
314333
315-    $cd ad7616 
334+    $cd testbenches/ip/base 
316335   $make
317-    $cd runs/cfg_si 
318-    $vivado ./cfg_si .xpr
336+    $cd runs/cfg1 
337+    $vivado ./cfg1 .xpr
319338
320339.. _AMD Xilinx Vivado : https://www.xilinx.com/support/download.html 
0 commit comments