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
> - Windows PowerShell*, use the following command: `cmd.exe "/K" '"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" && powershell'`
160
-
>
161
-
> For more information on configuring environment variables, see [Use the setvars Script with Linux* or macOS*](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-linux-or-macos.html) or [Use the setvars Script with Windows*](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-windows.html).
157
+
> For more information on configuring environment variables, see [Use the setvars Script with Linux* or macOS*](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-linux-or-macos.html).
162
158
### On a Linux* System
163
159
164
160
1. Generate the `Makefile` by running `cmake`.
@@ -200,48 +196,6 @@ To achieve an II of 1 for the main `while` loop in the FPGA code shown above, th
200
196
```
201
197
3. (Optional) As the above hardware compile may take several hours to complete, FPGA precompiled binaries (compatible with Linux* Ubuntu* 18.04) can be downloaded <a href="https://iotdk.intel.com/fpga-precompiled-binaries/latest/shannonization.fpga.tar.gz" download>here</a>.
202
198
203
-
### On a Windows* System
204
-
205
-
1. Generate the `Makefile` by running `cmake`.
206
-
```
207
-
mkdir build
208
-
cd build
209
-
```
210
-
To compile for the Intel® PAC with Intel Arria® 10 GX FPGA, run `cmake` using the command:
211
-
```
212
-
cmake -G "NMake Makefiles" ..
213
-
```
214
-
Alternatively, to compile for the Intel® FPGA PAC D5005 (with Intel Stratix® 10 SX), run `cmake` using the command:
You can also compile for a custom FPGA platform. Ensure that the board support package is installed on your system. Then run `cmake` using the command:
2. Compile the design through the generated `Makefile`. The following build targets are provided, matching the recommended development flow:
225
-
226
-
* Compile for emulation (fast compile time, targets emulated FPGA device):
227
-
```
228
-
nmake fpga_emu
229
-
```
230
-
* Compile for simulation (fast compile time, targets simulator FPGA device):
231
-
```
232
-
nmake fpga_sim
233
-
```
234
-
* Generate the optimization report:
235
-
```
236
-
nmake report
237
-
```
238
-
* Compile for FPGA hardware (longer compile time, targets FPGA device):
239
-
```
240
-
nmake fpga
241
-
```
242
-
243
-
*Note:* The Intel® PAC with Intel Arria® 10 GX FPGA and Intel® FPGA PAC D5005 (with Intel Stratix® 10 SX) do not support Windows*. Compiling to FPGA hardware on Windows* requires a third-party or custom Board Support Package (BSP) with Windows* support.
244
-
245
199
## Examining the Reports
246
200
This section will walk through how the HTML reports show the result of the optimizations we made in each version of the kernel, the definition of which can be found in `src/IntersectionKernel.hpp`. Start by locating `report.html` in the `shannonization_report.prj/reports/` directory. Open the report in Chrome*, Firefox*, Edge*, or Internet Explorer*. The f<sub>MAX</sub> numbers mentioned in these sections assume that the Arria® 10 GX FPGA is the target. However, the discussion is similar for the Stratix® 10 SX FPGA.
247
201
@@ -326,23 +280,15 @@ As a consequence of the fabric architecture of the Intel Stratix® 10 SX FPGA
326
280
1. Run the sample on the FPGA emulator (the kernel executes on the CPU):
0 commit comments