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
FPGA: Move all FPGA samples to IP Authoring, targeting Agilex by default (#1307)
# Existing Sample Changes
## Description
All of the FPGA samples are moved to the IP Authoring flow.
The default target for all samples is now Agilex.
For targeting a specific board, the user must run `cmake` with `-DFPGA_DEVICE=` his own BSP name.
Only `fpga_compile` nodes support compiling to FPGA. When compiling for FPGA hardware, increase the job timeout to 24 hours.
271
271
272
-
Executing programs on FPGA hardware is only supported on `fpga_runtime` nodes of the appropriate type, such as `fpga_runtime:arria10` or `fpga_runtime:stratix10`.
273
-
274
272
Neither compiling nor executing programs on FPGA hardware are supported on the login nodes. For more information, see the [Intel® oneAPI Base Toolkit Get Started Guide](https://devcloud.intel.com/oneapi/documentation/base-toolkit/).
275
273
276
274
>**Note**: Since Intel® DevCloud for oneAPI includes the appropriate development environment already configured for you, you do not need to set environment variables.
> **Note**: Even though the Intel DPC++/C++ OneAPI compiler is enough to compile for emulation, generating reports and generating RTL, there are extra software requirements for the simulation flow and FPGA compiles.
@@ -48,6 +48,8 @@ You can also find more information about [troubleshooting build errors](/DirectP
48
48
> - ModelSim® SE
49
49
>
50
50
> When using the hardware compile flow, Intel® Quartus® Prime Pro Edition must be installed and accessible through your PATH.
51
+
>
52
+
> :warning: Make sure you add the device files associated with the FPGA that you are targeting to your Intel® Quartus® Prime installation.
51
53
52
54
## Key Implementation Details
53
55
@@ -149,17 +151,26 @@ The design uses the following generic header files.
149
151
### On Linux*
150
152
151
153
1. Change to the sample directory.
152
-
2. Configure the build system for **Intel® PAC with Intel Arria® 10 GX FPGA**, which is the default.
154
+
2. Configure the build system for the Agilex™ device family, which is the default.
153
155
154
156
```
155
157
mkdir build
156
158
cd build
157
159
cmake ..
158
160
```
159
-
For **Intel® FPGA PAC D5005 (with Intel Stratix® 10 SX)**, enter the following:
160
-
```
161
-
cmake .. -DFPGA_DEVICE=intel_s10sx_pac:pac_s10
162
-
```
161
+
162
+
> **Note**: You can change the default target by using the command:
163
+
> ```
164
+
> cmake .. -DFPGA_DEVICE=<FPGA device family or FPGA part number>
165
+
> ```
166
+
>
167
+
> Alternatively, you can target an explicit FPGA board variant and BSP by using the following command:
> You will only be able to run an executable on the FPGA if you specified a BSP.
173
+
163
174
3. Compile the design. (The provided targets match the recommended development flow.)
164
175
165
176
1. Compile for emulation (fast compile time, targets emulated FPGA device).
@@ -181,23 +192,27 @@ The design uses the following generic header files.
181
192
make fpga
182
193
```
183
194
184
-
(Optional) The hardware compiles listed above can take several hours to complete; alternatively, you can download FPGA precompiled binaries (compatible with Linux* Ubuntu* 18.04) from [https://iotdk.intel.com/fpga-precompiled-binaries/latest/anr.fpga.tar.gz](https://iotdk.intel.com/fpga-precompiled-binaries/latest/anr.fpga.tar.gz).
185
-
186
195
### On Windows*
187
196
188
-
>**Note**: The Intel® PAC with Intel Arria® 10 GX FPGA and Intel® FPGA PAC D5005 (with Intel Stratix® 10 SX) do not yet support Windows*. Compiling to FPGA hardware on Windows* requires a third-party or custom Board Support Package (BSP) with Windows* support.
189
-
190
197
1. Change to the sample directory.
191
-
2. Configure the build system for **Intel® PAC with Intel Arria® 10 GX FPGA**, which is the default.
198
+
2. Configure the build system for the Agilex™ device family, which is the default.
192
199
```
193
200
mkdir build
194
201
cd build
195
202
cmake -G "NMake Makefiles" ..
196
203
```
197
-
To compile for the **Intel® FPGA PAC D5005 (with Intel Stratix® 10 SX)**, enter the following:
0 commit comments