When using Vivado , compilation often takes us a long time . Today we introduce a method to improve the compilation speed by changing the number of compilation threads , so that the original one-hour compilation time is reduced to about 50 minutes .
1. The method to obtain the current number of compiled threads :
Enter the command on the Tcl Console interface: get _param general.maxThreads . As shown in the figure , the default setting under windows is 2.
prompt:
VIVADO compiles the default number of threads as follows:
Windows-2 threads (default)
Linux-8 threads (default)
2. The method to set the current number of compiled threads:
Enter the command on the Tcl Console interface:
set_param general.maxThreads [number] (1 ≤ [number] ≤ 8)
For example: set_param general.maxThreads. 8 , as shown in FIG .
The above method needs to be reset every time the software is opened . The one-time setting method and attachments have been uploaded to Baidu network disk.
Network disk address: https://pan.baidu.com/s/1rTWh6CfgmM6fObNFRCt1yA
Password: 329o