Installing VEGA SDK¶
Supported Systems¶
VEGA SDK supports Linux machines only. Currently the Linux distributions that support VEGA SDK are :
Ubuntu 18.04
Ubuntu 20.04
We expect other Linux distributions to work as well, provided that the user can either run our provided toolchains on them or produce their own toolchain.
Prerequisites¶
To use this SDK, you will need the following software available on your Linux machine :
GNU Make
sudo apt update sudo apt install build-essential
GNU Autoconf
sudo apt install autoconf
Git
sudo apt install git
Minicom
sudo apt install minicom
VEGA Tools
Install VEGA Tools¶
VEGA Tools contains necessary RISC-V Toolchains to compile C/C++ programs and other utilities. To Install VEGA Tools :
Warning
Watch How to get cdac-vega GitLab access video before you clone.
For Thejas32 SoC (Aries Boards)¶
git clone https://gitlab.com/cdac-vega/vega-tools-rv32.git
cd vega-tools
./setup-env.sh
cd ..
For Thejas64 SoC¶
git clone https://gitlab.com/cdac-vega/vega-tools-rv64.git
cd vega-tools
./setup-env.sh
cd ..
Install VEGA SDK¶
Clone and install VEGA SDK
For Thejas32 SoC (Aries Boards)¶
git clone https://gitlab.com/cdac-vega/vega-sdk.git
cd vega-sdk
git checkout aries
./setup.sh
For Thejas64 SoC¶
git clone https://gitlab.com/cdac-vega/vega-sdk.git
cd vega-sdk
./setup-thejas64.sh
Updating the SDK/Tools¶
If you’d like to update your SDK/Tools to the latest version, go to respective directory and :
git pull
Note
It is recommended to update VEGA Tools before you update VEGA SDK.