From f0a463da4fd8e42165f3eda12ab65eaa7d77fc7c Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 9 Jun 2021 11:13:27 +0200 Subject: [PATCH] Add a case in the build script to fit my environment (jpc). --- .../tsmc_c018/build_full_4ksram_recon.sh | 31 ++++++++++++++----- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/experiments9/tsmc_c018/build_full_4ksram_recon.sh b/experiments9/tsmc_c018/build_full_4ksram_recon.sh index 13e67f5..d4ece5c 100755 --- a/experiments9/tsmc_c018/build_full_4ksram_recon.sh +++ b/experiments9/tsmc_c018/build_full_4ksram_recon.sh @@ -7,21 +7,35 @@ # also contains Staf's manually re-connected PLL edits to the verilog # see commits 24cbbcc and 227a0f69 # +# Include tweaks dedicated to jpc's slightly different build environment. + echo "remember to check doDesign core size" echo "also use yosys 049e3abf9" +if [ "${USER}" = "jpc" ]; then echo "Using \"jpc\" configuration."; fi # initialise/update the pinmux submodule -git submodule update --init --remote +if [ "${USER}" = "jpc" ]; then + # Must be done in the root of the repository when cloning anew. + (cd ../..; git submodule update --init --remote) +else + git submodule update --init --remote +fi # makes symlinks to alliance -./mksyms.sh +if [ ! -e "./mk" ]; then + if [ "${USER}" = "jpc" ]; then + ln -s ../../../../alliance-check-toolkit/etc/mk . + else + ./mksyms.sh + fi +fi # generates the io pads needed for ioring.py make pinmux # clear out make clean -rm *.vst *.ap +rm -f *.vst *.ap # copies over a "full" core #cp non_generated/full_core_4_4ksram_ls180.il ls180.il @@ -38,9 +52,10 @@ touch mem_3.init touch mem_4.init touch mem_5.init -# make the vst from verilog -make vst - -# starts the build. -make layout +if [ "${USER}" != "jpc" ]; then + # make the vst from verilog + make vst + # starts the build. + make layout +fi -- 2.30.2