Quick start microchip fpga development with a podman container
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
penguin dbce8ef062 update readme 3 weeks ago
installers reset repo 4 weeks ago
licenses libero container + licenser working 3 weeks ago
scripts update readme with instructions for filling the env script with hostname 3 weeks ago
.gitignore init 4 weeks ago
Dockerfile libero container + licenser working 3 weeks ago
LICENSE init 4 weeks ago
Makefile update readme 3 weeks ago
README.org update readme 3 weeks ago

README.org

Installing Microchip Tools via podman or docker

Download the Libero and SoftConsole installers

  • Download Libero from here.
  • Place it in ./installers/
  • Download SoftConsole from here.
  • Place it in ./installers/

Unzip libero:

cd installers
unzip Libero_soc_*.*_web_lin.zip
cd ..

Install the license

mv /path/to/License.dat ./licenses/.

Open the license in a text editor and change these lines:

SERVER <put.hostname.here> <your mac address> 1702
DAEMON actlmgrd  PATH/actlmgrd
DAEMON mgcld PATH/mgcld
VENDOR snpslmd  PATH/snpslmd

to

SERVER <put.hostname.here> <your mac address> 1702
DAEMON actlmgrd  /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/actlmgrd
DAEMON mgcld /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/mgcld
VENDOR snpslmd  /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/snpslmd

Your mac address should already be placed there so don't worry about that.

Edit the environment

The environment script, located in ./scripts/env contains the version of Libero and SoftConsole that you are installing. Change the versions to the correct versions if needed.

The hostname of your host machine will be used by the container. We can use the following command to plop your hostname into the right places:

sed -i "s/<hostname>/$(hostname)/g" ./scripts/env

Build the container + Launch the licensing daemon

make daemon

Run libero from inside the container

podman exec -it --user root libero bash
. /opt/microchip/scripts/env
libero