Skip to main content
Version: 5.0.0

Installation

TerosHDL can be installed in VSCodium or VSCode. As open source alternative of VSCode we recommend VSCodium. But it works in both with the same functionalities.

Requirements

Before installing TerosHDL, you need to install some dependencies, which are software packages or libraries that the IDE relies on to function properly.

  1. VSCodicum/VSCode
  2. Python3
  3. Python3 packages
  4. make

1. VSCodium/VSCode

Install VSCodium or VSCode

2. Python3

Install Python3

    1. Go to the Python website and download the latest version of Python3 for Windows: https://www.python.org/downloads/windows

    2. Run the downloaded file and follow the installation wizard. During the installation, make sure to check the box "Add Python 3.x to PATH" so that you can run Python and pip from any command prompt.

    3. Once Python is installed, open a command prompt by pressing Win+R and typing cmd, then press Enter.

    4. Type python --version in the command prompt and press Enter. This should display the version of Python you just installed.

    5. Next, you need to install pip, the package installer for Python. Download the get-pip.py script from https://bootstrap.pypa.io/get-pip.py

    6. Open a command prompt and navigate to the folder where you saved the get-pip.py script.

    7. Type python get-pip.py and press Enter. This will install pip on your system.

    8. To verify that pip is installed correctly, type pip --version in the command prompt and press Enter. This should display the version of pip you just installed.

3. Python3 package dependencies

Install Python package dependencies:

  • VUnit
  • Edalize
  • cocotb (optional)
Open a command prompt by pressing the Windows key and R key at the same time, then type cmd and hit Enter. Type: pip install teroshdl

4. Make

caution

You don't need to install Make if you are using Raptor, VUnit or cocotb.

info

To make sure that TerosHDL is getting your Make binary correctly you need to configure the installation directory in TerosHDL configuration menu >> General >> Make installation directory

Install make in your system:

  1. Open a Command Prompt or PowerShell with administrative privileges.
    • Press Win + X and select "Windows Terminal (Admin)" or "Command Prompt (Admin)."
    • For PowerShell, right-click the Start button, choose "Windows PowerShell (Admin)."
  2. Ensure you have Chocolatey installed. If not, you can install it by running the following command:
  3. Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
  4. Once Chocolatey is installed, you can install make by running the following command:
  5. choco install make
  6. Chocolatey will handle the installation process, including any dependencies make requires.
  7. After the installation is complete, you can verify that make is installed by checking its version with this command:
  8. make --version

TerosHDL installation

From market

TerosHDL is present in VSCodium market and VSCode market.

The VSX market for VSCodium is a marketplace for VSCode extensions that are compatible with VSCodium, which is a free and open-source version of VSCode that is built from the same source code but without the Microsoft branding, telemetry, and licensing restrictions.

To access the market for VSCodium/VSCode, you can follow these steps:

  1. Open VS Code.
  2. Click on the Extensions icon on the left-hand side of the window, or press Ctrl+Shift+X (Windows, Linux) or Cmd+Shift+X (macOS) to open the Extensions view.
  3. In the search bar at the top of the Extensions view, type the name of the extension you want to install. Alternatively, you can browse for extensions by clicking on the "Explore" or "Extensions" tabs.
  4. Once you have found the extension you want to install, click on the "Install" button next to its name.
  5. Wait for the extension to download and install. You can monitor the progress in the "Notifications" area at the bottom-right corner of the window.
  6. After the extension is installed, you may need to reload the editor for the changes to take effect. If so, you'll see a "Reload" button appear next to the extension in the Extensions view. Click on it to reload the editor.
  7. Once the editor has reloaded, the installed extension should be available for use.

VSCodium

TerosHDL beta version: from VSIX

caution

It is recommended to install TerosHDL from the market.

  1. Download the VSIX TerosHDL release from https://github.com/TerosTechnology/vscode-terosHDL/releases
  2. Open VSCodium/VSCode and click on the Extensions icon on the left-hand side of the window.
  3. Click on the three dots icon on the top right-hand corner of the Extensions pane and select "Install from VSIX..." from the dropdown menu.
  4. Navigate to the directory where the VSIX file is located and select it. Alternatively, you can drag and drop the VSIX file onto the Extensions pane.
  5. VSCodium/VSCode will install the extension and prompt you to reload the editor. Click on the "Reload Now" button to reload VSCodium/VSCode.
  6. Once VSCodium/VSCode has reloaded, the installed extension should be available for use.

VSCodium

Validating Installation

You can validate terosHDL dependecies are installed correctly by using the Check Dependecies, you can find the button in teroshdl under Actions

Check Depencies result