Project

General

Profile

Xilink Vivado » History » Version 24

Frédéric Blanc, 2023-04-26 14:52

1 1 Frédéric Blanc
h1. Xilink Vivado
2
3
h2. installation Windows
4
5 6 Frédéric Blanc
6 5 Frédéric Blanc
h3. Vivado 2022.2
7
8 2 Frédéric Blanc
Windows 64-bit: Run the settings64.bat from the Vivado/<version> directory
9
10
On Windows, click Start > All Programs > Xilinx Design Tools > Vivado 2022.2 > Vivado 2022.2 Tcl Shell to launch the Vivado Design Suite Tcl shell.
11 3 Frédéric Blanc
12
<pre><code class="shell">
13
dir D:\Public\RedPitaya-FPGA
14
vivado -source red_pitaya_vivado_project_Z10.tcl -tclargs v0.94
15
</code></pre>
16 4 Frédéric Blanc
17
!clipboard-202304201305-exdsl.png!
18 5 Frédéric Blanc
19
We recommend Vivado 2020.1
20 7 Frédéric Blanc
21 8 Frédéric Blanc
h3. Vivado 2020.1
22 7 Frédéric Blanc
23 22 Frédéric Blanc
h2. Création d'un nouveau projet
24
25 24 Frédéric Blanc
26
27
Clone the repositiry
28
29
Create a new project with Vivado.
30
31
Select the device xc7z010clg400-1
32
33
Add the constraint redpitaya.xdc and verilog counter.v files from the repository.
34
35
Create a new Block Design according to the following instructions to creat a block diagram similar to Fig. 1.Binary_Counter.
36
37
Add the IP called ZYNQ7 Processing System from the menu and Run Block Automation with default options.
38
39
Add Module counter.v from the menu.
40
41
clic doit 
42
!clipboard-202304261446-zpxnx.png!
43
44
Add a Binary Counter from thr Add IP menu.
45
46
Add a port called led_o with components from 7 down to 0.
47
48
!clipboard-202304261452-qlhno.png!
49
50
From the menu click on Validate Design
51
52
In 'Sources' go to 'IP Sources' right-click on 'project1' and select 'Create HDL Wraper'
53
54
Proceed to run Synthesis, Implementation and Bitstream Generation
55
56
Find the bitstream file (you may use the command 'find . -name *bit')
57
58
Transfer the bitstream file (*.bit) to the Red Pitaya (you may use *sftp root@rp-ip and put *.bit)
59
60 22 Frédéric Blanc
clic doit 
61 23 Frédéric Blanc
!clipboard-202304261446-zpxnx.png!
62 22 Frédéric Blanc
63 10 Frédéric Blanc
Tcl Console
64
65 9 Frédéric Blanc
<pre><code class="shell">
66
cd d:/Public/RedPitaya-FPGA/prj/Examples/Led_blink
67
source D:/Public/RedPitaya-FPGA/prj/Examples/Led_blink/make_project.tcl
68
</code></pre>
69
70 11 Frédéric Blanc
!clipboard-202304251008-te1ah.png!
71 17 Frédéric Blanc
pour éviter cette erreur copier le dossier core dans ../tmp/
72 11 Frédéric Blanc
73 16 Frédéric Blanc
attachment:cores.zip
74 12 Frédéric Blanc
75 18 Frédéric Blanc
h4. Bitstream
76
77
!clipboard-202304251107-19zhk.png!
78
79 20 Frédéric Blanc
80
le fichier bitstream doit être remplacer le fichier /dev/xdevcfg
81
82 1 Frédéric Blanc
h3. tuto Web
83 19 Frédéric Blanc
84 21 Frédéric Blanc
https://github.com/lvillasen/RedPitaya-Hello-World
85
86 19 Frédéric Blanc
https://redpitaya.readthedocs.io/en/latest/developerGuide/software/build/fpga/fpga.html
87 7 Frédéric Blanc
88
https://antonpotocnik.com/?p=487360