You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DirectProgramming/C++SYCL_FPGA/Tutorials/Tools/experimental/platform_designer/README.md
+27-11Lines changed: 27 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ This example is intended for users interested in creating standalone modules tha
55
55
56
56
### Board-specific Considerations
57
57
58
-
This design is intended to work with the Intel® Arria® 10 SX SoC Development Kit. The board-specific configurations that you should specify in Intel® Quartus® Prime are as follows:
58
+
This design is intended to work with the Intel® Arria® 10 SX SoC Development Kit. These board-specific configurations are not guaranteed to work with different boards:
59
59
1. Choose `10AS066N3F40E2SG` device to match the devkit
60
60
2. Choose pin `PIN_AM10` to drive the `i_clk` signal
61
61
3. Choose pin `PIN_AR23` to drive the `fpga_led` signal
@@ -102,7 +102,7 @@ Follow these steps to compile and test the design:
102
102
> nmake fpga_ip_export
103
103
```
104
104
105
-
2.**From the same terminal**, launch the Intel® Quartus® Prime Pro Edition GUI, and create a new Intel® Quartus® Prime project using the 'New Project' wizard.
105
+
2.**From the same terminal**, prepare a project directory for the Intel® Quartus® Prime project and copy the source files `add.sv` and `jtag.sdc` from the `add-quartus-sln` into it. Then launch the Intel® Quartus® Prime Pro Edition GUI, and create a new Intel® Quartus® Prime project using the 'New Project' wizard.
106
106
107
107
> **Note**: You may confirm your Intel® Quartus® Prime project settings by comparing with the sample Intel® Quartus® Prime project included in the `add-quartus-sln` directory.
108
108
@@ -111,6 +111,8 @@ Follow these steps to compile and test the design:
111
111
```
112
112
$> cd ../../
113
113
$> mkdir add-quartus
114
+
$> cp add-quartus/add.sv add-quartus
115
+
$> cp add-quartus/jtag.sdc add-quartus
114
116
$> cd add-quartus
115
117
$> quartus
116
118
```
@@ -120,11 +122,13 @@ Follow these steps to compile and test the design:
120
122
```
121
123
> cd ..\..\
122
124
> mkdir add-quartus
125
+
> xcopy add-quartus\add.sv add-quartus
126
+
> xcopy add-quartus\jtag.sdc add-quartus
123
127
> cd add-quartus
124
128
> quartus.exe
125
129
```
126
130
127
-
1. Set the project directory to be the `add-quartus` directory of this code sample.
131
+
1. Set the project directory to be the `add-quartus` directory.
128
132
129
133
2. Set the top-level entity to be `add` to make project management easier.
130
134
@@ -140,7 +144,7 @@ Follow these steps to compile and test the design:
140
144
141
145
3. Copy the generated IP to the Intel Quartus® Prime project. This design uses host pipes, which generates additional internal SYCL kernels. The `fpga_ip_export` build target uses the `-fsycl-device-code-split=per_kernel` flag to separate these additional kernels from your kernel, but these kernels have their own reports and associated RTL. You must locate the the `.prj_X` directory that contains the IP you want to use in your design.
142
146
143
-
You can identify the correct `.prj_X` folder by looking for the folder that contains `*_di_inst.v` file where the interfaces match your kernel. For example, in this project, `add_xample.fpga_ip.prj_1` is the correct `.prj_x` directory, because `add_example_fpga_ip_1_di_inst.v` contains only a CSR Agent interface in addition to the clock/reset signals:
147
+
You can identify the correct `.prj_X` folder by looking for the folder that contains `*_di_inst.v` file where the interfaces match your kernel. For example, in this project, `add.fpga_ip_export.prj_1` is the correct `.prj_x` directory, because `add_fpga_ip_export_1_di_inst.v` contains only a CSR Agent interface in addition to the clock/reset signals:
@@ -184,21 +188,29 @@ Follow these steps to compile and test the design:
184
188
185
189

186
190
187
-
Create a new system by clicking the 'New Platform Designer System' button () and name it `add_kernel_wrapper.qsys`.
191
+
2. Create a new system by clicking the 'New Platform Designer System' button () and name it `add_kernel_wrapper.qsys`.
188
192
189
-
Configure the `Reset Bridge` IP as shown:
193
+
3. Disconnect the clock from the `Reset Bridge` IP:
194
+
195
+

196
+
197
+
4. Configure the `Reset Bridge` IP as shown:
190
198
191
199

192
200
193
-
2. Add the following IP to your system:
201
+
5. Add the following IP to your system:
194
202
195
203
* Basic Functions > Bridges and Adaptors > Memory Mapped > **JTAG to Avalon Master Bridge Intel® FPGA IP**
196
204
197
205
* oneAPI > **add_fpga_ip_export_1_di**
198
206
199
207

200
208
201
-
3. Connect the modules as shown:
209
+
> **Note**: If you cannot see the oneAPI IP component, refresh Platform Designer by clicking `File` > `Refresh System`
210
+
>
211
+
> 
212
+
213
+
6. Connect the modules as shown:
202
214
203
215

204
216
@@ -208,13 +220,13 @@ Follow these steps to compile and test the design:
208
220
>
209
221
> 
210
222
211
-
4. Save the system by clicking `File` > `Save`
223
+
7. Save the system by clicking `File` > `Save`
212
224
213
-
5. Generate the system so that it can be included in the Intel® Quartus® Prime project by clicking `Generate HDL...`
225
+
8. Generate the system so that it can be included in the Intel® Quartus® Prime project by clicking `Generate HDL...`
214
226
215
227

216
228
217
-
6. Close Platform Designer.
229
+
9. Close Platform Designer.
218
230
219
231
6. In the Intel® Quartus® Prime window, run Analysis and Elaboration by clicking 'Start Analysis and Elaboration'.
220
232
@@ -234,6 +246,10 @@ Follow these steps to compile and test the design:
234
246
235
247

236
248
249
+
> **Note**: If you cannot see the pin details, click the `All Pins` button in the bottom left corner of the Pin Planner GUI.
250
+
>
251
+
> 
252
+
237
253
8. Add the timing constraints.
238
254
239
255
1. If you are using the Intel® Arria® 10 SX SoC Dev Kit, you can find a timing constraints file for the JTAG interface (jtag.sdc) in the GHRD. This file was added during project creation.
0 commit comments