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
| What you will learn | How to use the minimum latency flow to compile low-latency designs<br>How to manually override underlying controls set by the minimum latency flow
11
11
| Time to complete | 20 minutes
@@ -18,6 +18,8 @@ This FPGA tutorial demonstrates how to compile your design with the minimum late
18
18
> - ModelSim® SE
19
19
>
20
20
> When using the hardware compile flow, Intel® Quartus® Prime Pro Edition must be installed and accessible through your PATH.
21
+
>
22
+
> :warning: Make sure you add the device files associated with the FPGA that you are targeting to your Intel® Quartus® Prime installation.
21
23
22
24
## Prerequisites
23
25
@@ -100,26 +102,26 @@ Part 3 also compiles the design with the minimum latency flow, as well as manual
100
102
101
103
1. Generate the `Makefile` by running `cmake`:
102
104
103
-
```bash
104
-
mkdir build
105
-
cd build
106
-
```
107
-
108
-
To compile for the Intel® PAC with Intel Arria® 10 GX FPGA, run `cmake` using the command:
109
-
110
-
```bash
111
-
cmake ..
112
-
```
113
-
114
-
Alternatively, to compile for the Intel® PAC D5005 (with Intel Stratix® 10 SX FPGA), run `cmake` using the command:
115
-
116
-
```bash
117
-
cmake .. -DFPGA_DEVICE=intel_s10sx_pac:pac_s10
118
-
```
119
-
You can also compile for a custom FPGA platform. Ensure that the boardsupportpackage is installed on your system. Then run `cmake` using the command:
> You will only be able to run an executable on the FPGA if you specified a BSP.
123
125
124
126
2. Compile the design using the generated `Makefile`. The following build targets are provided, matching the recommended development flow:
125
127
@@ -147,28 +149,29 @@ Part 3 also compiles the design with the minimum latency flow, as well as manual
147
149
make fpga
148
150
```
149
151
150
-
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/minimum_latency.fpga.tar.gz" download>here</a>.
151
-
152
152
### On a Windows* System
153
153
154
154
1. Generate the `Makefile` by running `cmake`.
155
-
```
156
-
mkdir build
157
-
cd build
158
-
```
159
-
To compile for the Intel® PAC with Intel Arria® 10 GX FPGA, run `cmake` using the command:
160
-
```
161
-
cmake -G "NMake Makefiles" ..
162
-
```
163
-
Alternatively, to compile for the Intel® PAC D5005 (with Intel Stratix® 10 SX FPGA), 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:
> You will only be able to run an executable on the FPGA if you specified a BSP.
172
175
173
176
2. Compile the design through the generated `Makefile`. The following build targets are provided, matching the recommended development flow:
174
177
@@ -189,8 +192,6 @@ Part 3 also compiles the design with the minimum latency flow, as well as manual
189
192
nmake fpga
190
193
```
191
194
192
-
> **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.
193
-
194
195
> **Note**: If you encounter any issues with long paths when compiling under Windows*, you may have to create your ‘build’ directory in a shorter path, for example c:\samples\build. You can then run cmake from that directory, and provide cmake with the full path to your sample directory.
195
196
196
197
## Examining the Reports
@@ -232,7 +233,7 @@ Navigate to **Clock Frequency Summary** (**Summary > Clock Frequency Summary**)
232
233
set CL_CONTEXT_MPSIM_DEVICE_INTELFPGA=
233
234
```
234
235
235
-
3. Run the sample on the FPGA device
236
+
3. Run the sample on the FPGA device (only if you ran `cmake` with `-DFPGA_DEVICE=<board-support-package>:<board-variant>`):
0 commit comments