From: Luke Kenneth Casson Leighton Date: Mon, 24 Feb 2020 11:13:34 +0000 (+0000) Subject: add missing mksym.sh X-Git-Tag: partial-core-ls180-gdsii~210 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ab5f518b35796ba621e497b03c9d73caededaf9;p=soclayout.git add missing mksym.sh --- diff --git a/experiments2/Makefile b/experiments2/Makefile index 67b4c52..941757c 100755 --- a/experiments2/Makefile +++ b/experiments2/Makefile @@ -5,7 +5,7 @@ DESIGN_KIT = sxlib # YOSYS_FLATTEN = Yes - USE_CLOCKTREE = Yes + USE_CLOCKTREE = No USE_DEBUG = No USE_KITE = No diff --git a/experiments2/mksym.sh b/experiments2/mksym.sh new file mode 100755 index 0000000..cea54b0 --- /dev/null +++ b/experiments2/mksym.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +ALLIANCE_TOOLKIT=${ALLIANCE_TOOLKIT:-${HOME}/alliance-check-toolkit/} + +echo "creating symlinks" + +mkdir -p mk/dks.d +mkdir -p mk/users.d + +declare -a ScriptsArray=("os" "users" "binaries" "alliance" + "design-flow" "pr-coriolis" "pr-alliance" "pr-hibikino" + "synthesis-yosys" +) + +for script in "${ScriptsArray[@]}"; do + if [ ! -L "mk/$script.mk" ]; then + echo "link" mk/$script.mk + ln -s $ALLIANCE_TOOLKIT/etc/mk/$script.mk mk/$script.mk + fi +done + +declare -a LibsArray=("sxlib" "nsxlib" "nsxlib45" "cmos" +) + +for script in "${LibsArray[@]}"; do + if [ ! -L "mk/dks.d/$script.mk" ]; then + echo "link" mk/dks.d/$script.mk + ln -s $ALLIANCE_TOOLKIT/etc/mk/dks.d/$script.mk mk/dks.d/$script.mk + fi +done + +declare -a UsersArray=("lkcl" +) + +for script in "${UsersArray[@]}"; do + if [ ! -L "mk/users.d/user-$script.mk" ]; then + echo "link" mk/users.d/user-$script.mk + ln -s $ALLIANCE_TOOLKIT/etc/mk/users.d/user-$script.mk \ + mk/users.d/user-$script.mk + fi +done +