correct relative link to FreePDK45_c4m45, use submodule
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 24 Apr 2021 13:43:30 +0000 (13:43 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 24 Apr 2021 13:43:30 +0000 (13:43 +0000)
add note about remembering to run git submodule

experiments10_verilog/freepdk_c4m45/Makefile
experiments10_verilog/freepdk_c4m45/build_full.sh
experiments10_verilog/freepdk_c4m45/mksym.sh

index e86078ca61c00c585b715101fc075a8c127e56ea..96c5924ba45173c5dc7636f7a56c3c8037bc051a 100755 (executable)
@@ -1,5 +1,7 @@
 
-            PDKMASTER_TOP = $(shell pwd)/../../../c4m-pdk-freepdk45
+            # use git submodule version of c4m-pdk-freepdk45
+           # remember to do "git submodule update --init --remote
+            PDKMASTER_TOP = $(shell pwd)/../../c4m-pdk-freepdk45
         LOGICAL_SYNTHESIS = Yosys
        PHYSICAL_SYNTHESIS = Coriolis
                DESIGN_KIT = FreePDK_C4M45
index 67dd69540cec17b447bf041608e907ce849beec5..5dde008d49d2a9d3b3105d923fe7c597373ccc34 100755 (executable)
@@ -5,8 +5,8 @@
 # change the settings to the larger chip/corona size
 echo "remember to check doDesign core size"
 
-pdk=`realpath ../../c4m-pdk-freepdk45`
-export NDA_TOP=${pdk}/coriolis/techno
+export PDKMASTER_TOP=`realpath ../../c4m-pdk-freepdk45`
+export NDA_TOP=${FREEPDK45_C4M}/coriolis/techno
 
 # initialise/update the pinmux & c4m-pdk-freepdk45 submodule
 #pushd ..
@@ -16,11 +16,6 @@ git submodule update --init --remote
 # makes symlinks to alliance
 ./mksym.sh
 touch mk/users.d/user-${USER}.mk
-rm -f mk/design-flow.mk
-cp design-flow.mk mk/
-lib=${pdk}/views/FreePDK45/FlexLib/liberty/FlexLib_nom.lib
-echo "export REAL_MODE = Yes" > mk/dks.d/FreePDK_C4M45.mk
-echo "export LIBERTY_FILE = $lib" >> mk/dks.d/FreePDK_C4M45.mk
 
 # clear out
 make clean
index 1659db864d3a7e5ecb06dc0748edcc11c32c483d..a4581711235b87f58924fb3ac4495c2e6c984081 100755 (executable)
@@ -24,6 +24,7 @@ for script in "${ScriptsArray[@]}"; do
 done
 
 declare -a LibsArray=("sxlib" "nsxlib" "nsxlib45" "cmos" "cmos45" "mosis"
+                     "FreePDK_45" "FreePDK_C4M45"
 )
 
 for script in "${LibsArray[@]}"; do