Tutorials

Version-specific tutorial: this event material may depend on the ESP revision or branch, companion repositories, prebuilt files, and CAD tool versions prepared for that event. It is not guaranteed to work with ESP 2026.1.0 or the current main branch. Use the maintained guides for current released workflows.

Set up your machine for the ESP tutorial

The setup consists in performing the following steps from the ESP How to: setup guide:

  • Software packages
    • Install the packages for your OS (CentOS 7, Ubuntu 18.04, Red Hat Enterprise Linux 7.8) listed in the Software packages section of the How to: setup guide under the labels “Miscellaneous”, “Python”, “Perl”, “CAD tools and SW toolchains dependencies”.
  • Clone the ESP repository
    • Follow the instructions in the ESP repository section of the How to: setup guide.
  • Software toolchain
    • Install both Leon3 and RISC-V toolchains by following the instructions in the Software toolchain section of the How to: setup guide.
  • Environment variables
    • In the terminal window where you use ESP set the environment variables by following the instructions in the Environment variables section of the How to: setup guide. You only need the variables for RISC-V and Leon3. You should also set the XILINX_VIVADO to any value.

        export XILINX_VIVADO=/
      
      # RISC-V
        # e.g. <riscv_path> = /opt/riscv
        export RISCV=<riscv_path>
        export PATH=$PATH:<riscv_path>/bin
      
      # Leon3
        # e.g. <leon3_path> = /opt/leon
        export PATH=$PATH:<leon3_path>/bin
        export PATH=$PATH:<leon3_path>/mklinuximg
        export PATH=$PATH:<leon3_path>/sparc-elf/bin
      

ESP is supported on the following OS distributions: CentOS 7, Ubuntu 18.04, Red Hat Enterprise Linux 7.8. Other Linux distributions could work too, but they may require additional setup effort.