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