Skip to content

Commit f89a2da

Browse files
docs/user_guide/porting_project: Update code instructions
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
1 parent 152d170 commit f89a2da

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/user_guide/porting_project.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ the **adi_project_create** process:
113113

114114
.. code:: tcl
115115
116-
if [regexp "_zcu102$" $project_name] {
117-
set p_device "xczu9eg-ffvb1156-1-i-es1"
118-
set p_board "xilinx.com:zcu102:part0:1.2"
119-
set sys_zynq 2
116+
if [regexp "_zcu102" $project_name] {
117+
set device "xczu9eg-ffvb1156-2-e"
118+
set board [lindex [lsearch -all -inline [get_board_parts] *zcu102*] end]
119+
set sys_zynq 2
120120
}
121121
122122
.. tip::
@@ -128,10 +128,10 @@ the **adi_project_create** process:
128128

129129
The **sys_zynq** constant variable should be set in the following way:
130130

131-
- 0 - 7 Series FPGA (e.g. Kintex7, Virtex7)
132-
- 1 - Zynq7000 SoC
133-
- 2 - Zynq UltraScale+ SoC
134-
- 3 - Versal
131+
* 0 - 7 Series FPGA (e.g. Kintex7, Virtex7)
132+
* 1 - Zynq7000 SoC
133+
* 2 - Zynq UltraScale+ SoC
134+
* 3 - Versal
135135

136136
Example with an Intel board
137137
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)