Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 5a598b46 authored by Jason Kridner's avatar Jason Kridner
Browse files

fire: mchp tools setup: directly include setup script

parent 9fbce11b
No related merge requests found
...@@ -102,13 +102,16 @@ Request a Libero Silver license ...@@ -102,13 +102,16 @@ Request a Libero Silver license
You will get an email with a license.dat file. Copy it into the ~/Microchip/license directory. Edit the License.dat file to replace the <put.hostname.here> string with... localhost. You will get an email with a license.dat file. Copy it into the ~/Microchip/license directory. Edit the License.dat file to replace the <put.hostname.here> string with... localhost.
Download tool setup script Execute tool setup script
*************************** ***************************
.. code-block:: Download the script:
git clone https://git.beagleboard.org/beaglev-fire/Microchip-FPGA-Tools-Setup .. literalinclude:: ./setup-microchip-tools.sh
:caption: Libero environment and license setup script
:language: bash
:download:`setup-microchip-tools.sh <./setup-microchip-tools.sh>`
Source the script: Source the script:
......
#!/bin/bash
#===============================================================================
# Edit the following section with the location where the following tools are
# installed:
# - SoftConsole (SC_INSTALL_DIR)
# - Libero (LIBERO_INSTALL_DIR)
# - Licensing daemon for Libero (LICENSE_DAEMON_DIR)
#===============================================================================
export SC_INSTALL_DIR=/home/$USER/Microchip/SoftConsole-v2022.2-RISC-V-747
export LIBERO_INSTALL_DIR=/home/$USER/Microchip/Libero_SoC_v2023.2
export LICENSE_DAEMON_DIR=/home/$USER/Microchip/Linux_Licensing_Daemon
export LICENSE_FILE_DIR=/home/$USER/Microchip/license
#===============================================================================
# The following was tested on Ubuntu 20.04 with:
# - Libero 2023.2
# - SoftConsole 2022.2
#===============================================================================
#
# SoftConsole
#
export PATH=$PATH:$SC_INSTALL_DIR/riscv-unknown-elf-gcc/bin
export FPGENPROG=$LIBERO_INSTALL_DIR/Libero/bin64/fpgenprog
#
# Libero
#
export PATH=$PATH:$LIBERO_INSTALL_DIR/Libero/bin:$LIBERO_INSTALL_DIR/Libero/bin64
export PATH=$PATH:$LIBERO_INSTALL_DIR/Synplify/bin
export PATH=$PATH:$LIBERO_INSTALL_DIR/Model/modeltech/linuxacoem
export LOCALE=C
export LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu:$LD_LIBRARY_PATH
#
# Libero License daemon
#
export LM_LICENSE_FILE=1702@localhost
export SNPSLMD_LICENSE_FILE=1702@localhost
$LICENSE_DAEMON_DIR/lmgrd -c $LICENSE_FILE_DIR/License.dat -l $LICENSE_FILE_DIR/license.log
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment