use --recursive on git submodule not --remote - one does a "latest update"
[soclayout.git] / experiments9 / build_full.sh
index 1a0558df60956dc0c0a000de3d86fef369846227..94ef4d33b8816c6cc3e6d8638bd08e965251e433 100755 (executable)
@@ -1,10 +1,13 @@
 #!/bin/sh
 
+# comment about yosys version needed
+echo "this only works at the moment with yosys 049e3abf9"
+
 # full core build: please remember to alter ioring.py before running!
 # change the settings to the larger chip/corona size
 
 # initialise/update the pinmux submodule
-git submodule update --init --remote
+git submodule update --init --recursive
 
 # makes symlinks to alliance
 ./mksyms.sh
@@ -17,7 +20,19 @@ make clean
 rm *.vst *.ap
 
 # copies over a "full" core
-cp non_generated/full_core_ls180.il ls180.il
+#cp non_generated/full_core_ls180.il ls180.il
+cp non_generated/ls180.v ls180.v
+cp non_generated/litex_ls180.v litex_ls180.v
+cp non_generated/libresoc.v libresoc.v
+touch mem.init
+touch mem_1.init
+touch mem_2.init
+touch mem_3.init
+touch mem_4.init
+touch mem_5.init
+
+# make the vst from ilang
+make vst
 
 # starts the build.
 make lvx