[SC64][FW] Included default Lattice Diamond license

This commit is contained in:
Mateusz Faderewski 2023-02-11 11:17:55 +01:00
parent 7c7919fd8e
commit bffda5dcb3
4 changed files with 28 additions and 15 deletions

View File

@ -4,12 +4,12 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- created
workflow_run:
workflows:
- pull-request
workflow_dispatch:
jobs:
@ -21,17 +21,7 @@ jobs:
with:
submodules: true
- name: Prepare Lattice Diamond license
env:
ENCODED_LICENSE: ${{ secrets.LATTICE_DIAMOND_LICENSE }}
run: |
mkdir -p ./flexlm
echo "$ENCODED_LICENSE" > ./flexlm/encoded_license
base64 -d ./flexlm/encoded_license > ./flexlm/license.dat
- name: Build script
env:
MAC_ADDRESS: ${{ secrets.LATTICE_DIAMOND_MAC }}
run: ./docker_build.sh release --force-clean
- name: Upload artifact

1
.gitignore vendored
View File

@ -2,6 +2,5 @@
**/.vscode/
**/*.bak
**/*.zip
/flexlm
!**/.vscode/tasks.json

View File

@ -20,7 +20,7 @@ docker run \
--rm \
--user $(id -u):$(id -g) \
--mac-address ${MAC_ADDRESS:-F8:12:34:56:78:90} \
--mount type=bind,src="$(pwd)/flexlm",target="/flexlm" \
--mount type=bind,src="$(pwd)/fw/project/lcmxo2/license.dat",target="/flexlm/license.dat" \
--mount type=bind,src="$(pwd)",target="/workdir" \
-h=`hostname` \
-e GIT_BRANCH="$GIT_BRANCH" \

View File

@ -0,0 +1,24 @@
FEATURE LSC_BASE lattice 8.0 11-feb-2024 uncounted 1303CFE67866 \
VENDOR_STRING="ispLEVER BASE" HOSTID=f81234567890
FEATURE LSC_SYNPLIFY lattice 8.0 11-feb-2024 uncounted B52A4FF71CC8 \
VENDOR_STRING="ispLEVER System with Synplicity" \
HOSTID=f81234567890
FEATURE LSC_SYNPLIFYPRO1 lattice 10.0 11-feb-2024 uncounted \
30EA214E8213 VENDOR_STRING="ispLEVER System with Synplicity \
Pro 1" HOSTID=f81234567890
FEATURE LSC_ADVANCED_DSP lattice 10.0 11-feb-2024 uncounted \
1BFB494C1D0D VENDOR_STRING="ispLEVER DSP" HOSTID=f81234567890
FEATURE LSC_DIAMOND_A lattice 10.0 11-feb-2024 uncounted 1067C09C10BA \
VENDOR_STRING="Diamond Free" HOSTID=f81234567890
FEATURE LSC_PROGRAMMER_MATURE lattice 10.0 11-feb-2024 uncounted \
4559F34D65AB VENDOR_STRING=Programmer HOSTID=f81234567890
FEATURE LSC_ADVANCED_ORCA lattice 9.0 11-feb-2024 uncounted \
CC7BBC2A3A16 VENDOR_STRING="ispORCA System" \
HOSTID=f81234567890
INCREMENT latticemsim mgcld 2023.09 11-feb-2024 0 6FE612FBCA60340B3076 \
VENDOR_STRING=672C91AB HOSTID=f81234567890 ISSUER="ModelSIM Lattice" \
SN=284862648 SIGN2="1E93 D015 CA8E 6012 81DA 3394 F0EA 3C2F 5482 24AB \
F903 2C13 A952 2697 2AF4 0819 2FA9 8CE8 CC9B 329B F71E C11F C29E A733 \
3D18 B2C3 7983 70EA 2885 F23E"