Adding Vivado to your system path allows you to easily access its commands from any directory in your terminal or command prompt. Here's how you can do it:
1. Find Vivado Installation Directory:
- Open your file explorer and locate the directory where Vivado is installed. This is usually in a folder named "Vivado" within your Xilinx installation directory.
- For example, it might be located at:
C:\Xilinx\Vivado\2023.1\bin
.
2. Edit System Path:
- Windows:
- Right-click on "This PC" and select "Properties".
- Click on "Advanced system settings".
- Go to the "Advanced" tab and click on "Environment Variables".
- Under "System variables", find the "Path" variable and select "Edit".
- Click on "New" and add the path to the Vivado "bin" directory.
- Click "OK" on all open windows to save the changes.
- Linux/macOS:
- Open a terminal window.
- Edit your shell's configuration file. This is usually
.bashrc
or.zshrc
. - Add the following line to the end of the file, replacing
/path/to/vivado/bin
with the actual path to your Vivado "bin" directory:export PATH=$PATH:/path/to/vivado/bin
- Save the file and close the terminal window.
- Reopen the terminal window for the changes to take effect.
3. Verify Installation:
- Open a new terminal window and type
vivado
and press Enter. - If Vivado launches successfully, you have successfully added it to your system path.
Note: The specific steps and file names may vary slightly depending on your operating system and Vivado version.