3.2.2. Enabling Multi-Processor Compilation
This technique reduces the compilation time by up to 10% on systems with two processing cores, and by up to 20% on systems with four cores. When running timing analysis independently, two processors reduce the timing analysis time by an average of 10%. This reduction reaches an average of 15% when using four processors.
The Intel® Quartus® Prime software does not necessarily use all the processors that you specify during a given compilation. Additionally, the software never uses more than the specified number of processors. This fact enables you to work on other tasks without slowing down your computer. The use of multiple processors does not affect the quality of the fit. For a given Fitter seed, and given Maximum processors allowed setting on a specific design, the fit is exactly the same and deterministic. This remains true, regardless of the target machine, and the number of available processors. Different Maximum processors allowed specifications produce different results of the same quality. The impact is similar to changing the Fitter seed setting.
To enable multiprocessor compilation, follow these steps:
- Open or create an Intel® Quartus® Prime project.
- Click Assignments > Settings > Compilation Process Settings.
- Under Parallel compilation, specify options for the number of processors the Compiler uses.
- View detailed information about processor use in the Parallel Compilation report following compilation.
To specify the number of processors for compilation at the command line, use the following Tcl command in your script:
set_global_assignment -name NUM_PARALLEL_PROCESSORS <value>
In this case, <value> is an integer from 1 to 16.
If you want the Intel® Quartus® Prime software to detect the number of processors and use all the processors for the compilation, include the following Tcl command in your script:
set_global_assignment -name NUM_PARALLEL_PROCESSORS ALLNote: The Compiler detects Intel® Hyper-Threading® Technology (Intel® HT Technology) as a single processor. If your system includes a single processor with Intel HT Technology, set the number of processors to one. Do not use the Intel® HT Technology for Intel® Quartus® Prime compilations.