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
+26-10
Original file line number
Diff line number
Diff line change
@@ -111,8 +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
+
$> cp add-quartus-sln/add.sv add-quartus
115
+
$> cp add-quartus-sln/jtag.sdc add-quartus
116
116
$> cd add-quartus
117
117
$> quartus
118
118
```
@@ -122,8 +122,8 @@ Follow these steps to compile and test the design:
122
122
```
123
123
> cd ..\..\
124
124
> mkdir add-quartus
125
-
> xcopy add-quartus\add.sv add-quartus
126
-
> xcopy add-quartus\jtag.sdc add-quartus
125
+
> xcopy add-quartus-sln\add.sv add-quartus
126
+
> xcopy add-quartus-sln\jtag.sdc add-quartus
127
127
> cd add-quartus
128
128
> quartus.exe
129
129
```
@@ -134,13 +134,13 @@ Follow these steps to compile and test the design:
134
134
135
135

136
136
137
-
3.Choose **Empty Project** when prompted to select a project type.
137
+
3.Make sure you choose an appropriate device. See **Board-specific Considerations** above.
138
138
139
-
4.Add the source file `add.sv` and `jtag.sdc`to the design when the wizard prompts you. These may be copied from `add-quartus-sln`.
139
+
4.Choose **Empty Project** when prompted to select a project type.
140
140
141
-

141
+
5. Add the source file `add.sv` and `jtag.sdc` to the design when the wizard prompts you. These may be copied from `add-quartus-sln`.
142
142
143
-
5. Make sure you choose an appropriate device. See **Board-specific Considerations** above.
143
+

144
144
145
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.
146
146
@@ -222,11 +222,13 @@ Follow these steps to compile and test the design:
222
222
223
223
7. Save the system by clicking `File` > `Save`
224
224
225
-
8. Generate the system so that it can be included in the Intel® Quartus® Prime project by clicking `Generate HDL...`
225
+
8. Make sure there are no errors in the 'System Messages' panel.
226
+
227
+
9. Generate the system so that it can be included in the Intel® Quartus® Prime project by clicking `Generate HDL...`
226
228
227
229

228
230
229
-
9. Close Platform Designer.
231
+
10. Close Platform Designer.
230
232
231
233
6. In the Intel® Quartus® Prime window, run Analysis and Elaboration by clicking 'Start Analysis and Elaboration'.
232
234
@@ -250,6 +252,8 @@ Follow these steps to compile and test the design:
250
252
>
251
253
> 
252
254
255
+
> **Note**: Make sure you choose 'LVDS' for the I/O standard of `i_clk`, the pin location will be automatically populated for `i_clk(n)`.
256
+
253
257
8. Add the timing constraints.
254
258
255
259
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.
@@ -275,6 +279,18 @@ Follow these steps to compile and test the design:
275
279
276
280
10. Copy the generated `add.sof` file to the `system_console` directory.
- [Intel® Arria® 10 SoC Golden System Reference Design](https://rocketboards.org/foswiki/Documentation/Arria10SoCGSRD) describes a reference design you can use with your Intel® Arria® 10 SX SoC Developer kit.
280
296
- [Intel® Arria® 10 SX SoC Development Kit](https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/arria/10-sx.html) describes the Intel® Arria® 10 SX SoC Development kit in greater detail.
Copy file name to clipboardExpand all lines: DirectProgramming/C++SYCL_FPGA/Tutorials/Tools/experimental/platform_designer/README_2023-0.md
+40-11
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ This example design shows how to use an FPGA IP produced with the Intel® oneAPI
15
15
> To use the simulator flow, Intel® Quartus® Prime Pro Edition and one of the following simulators must be installed and accessible through your PATH:
16
16
> - Questa*-Intel® FPGA Edition
17
17
> - Questa*-Intel® FPGA Starter Edition
18
+
> - Questa* Advanced Simulator
18
19
> - ModelSim® SE
19
20
>
20
21
> To use the hardware compile flow, Intel® Quartus® Prime Pro Edition must be installed and accessible through your PATH.
@@ -54,7 +55,7 @@ This example is intended for users interested in creating standalone modules tha
54
55
55
56
### Board-specific Considerations
56
57
57
-
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:
58
59
1. Choose `10AS066N3F40E2SG` device to match the devkit
59
60
2. Choose pin `PIN_AM10` to drive the `i_clk` signal
60
61
3. Choose pin `PIN_AR23` to drive the `fpga_led` signal
@@ -101,7 +102,7 @@ Follow these steps to compile and test the design:
101
102
> nmake fpga_ip_export
102
103
```
103
104
104
-
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.
105
106
106
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.
107
108
@@ -110,6 +111,8 @@ Follow these steps to compile and test the design:
110
111
```
111
112
$> cd ../../
112
113
$> mkdir add-quartus
114
+
$> cp add-quartus-sln/add.sv add-quartus
115
+
$> cp add-quartus-sln/jtag.sdc add-quartus
113
116
$> cd add-quartus
114
117
$> quartus
115
118
```
@@ -119,27 +122,29 @@ Follow these steps to compile and test the design:
119
122
```
120
123
> cd ..\..\
121
124
> mkdir add-quartus
125
+
> xcopy add-quartus-sln\add.sv add-quartus
126
+
> xcopy add-quartus-sln\jtag.sdc add-quartus
122
127
> cd add-quartus
123
128
> quartus.exe
124
129
```
125
130
126
-
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.
127
132
128
133
2. Set the top-level entity to be `add` to make project management easier.
129
134
130
135

131
136
132
-
3.Choose **Empty Project** when prompted to select a project type.
137
+
3.Make sure you choose an appropriate device. See **Board-specific Considerations** above.
133
138
134
-
4.Add the source file `add.sv` and `jtag.sdc`to the design when the wizard prompts you. These may be copied from `add-quartus-sln`.
139
+
4.Choose **Empty Project** when prompted to select a project type.
135
140
136
-

141
+
5. Add the source file `add.sv` and `jtag.sdc` to the design when the wizard prompts you. These may be copied from `add-quartus-sln`.
137
142
138
-
5. Make sure you choose an appropriate device. See **Board-specific Considerations** above.
143
+

139
144
140
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.
141
146
142
-
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:
Don't forget to export the `irq_add` and `exception_add` signals. The provided top-level RTL file (`add.sv`) uses the generated IP. Following these naming conventions allows the IP to connect to this handwritten RTL.
219
228
220
229
4. Save the system by clicking `File` > `Save`
221
230
222
-
5. Generate the system so that it can be included in the Intel® Quartus® Prime project by clicking `Generate HDL...`
231
+
5. Make sure there are no errors in the 'System Messages' panel.
232
+
233
+
6. Generate the system so that it can be included in the Intel® Quartus® Prime project by clicking `Generate HDL...`
223
234
224
235

225
236
226
-
6. Close Platform Designer.
237
+
7. Close Platform Designer.
227
238
228
239
6. In the Intel® Quartus® Prime window, run Analysis and Elaboration by clicking 'Start Analysis and Elaboration'.
229
240
@@ -243,6 +254,12 @@ Follow these steps to compile and test the design:
243
254
244
255

245
256
257
+
> **Note**: If you cannot see the pin details, click the `All Pins` button in the bottom left corner of the Pin Planner GUI.
258
+
>
259
+
> 
260
+
261
+
> **Note**: Make sure you choose 'LVDS' for the I/O standard of `i_clk`, the pin location will be automatically populated for `i_clk(n)`.
262
+
246
263
8. Add the timing constraints.
247
264
248
265
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.
@@ -268,6 +285,18 @@ Follow these steps to compile and test the design:
268
285
269
286
10. Copy the generated `add.sof` file to the `system_console` directory.
- [Intel® Arria® 10 SoC Golden System Reference Design](https://rocketboards.org/foswiki/Documentation/Arria10SoCGSRD) describes a reference design you can use with your Intel® Arria® 10 SX SoC Developer kit.
273
302
- [Intel® Arria® 10 SX SoC Development Kit](https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/arria/10-sx.html) describes the Intel® Arria® 10 SX SoC Development kit in greater detail.
0 commit comments