- 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
# 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 ..
# 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