$ sudo gedit .bashrc
在该文件末端,添加:
$ source /tools/Xilinx/Vivado/2021.1/settings64.sh
关闭终端,并在你想创建vivado工程的目录下,右键打开终端,然后执行:
$ vivado