3 # full core build including QTY 4of 4k SRAMs: please remember to alter
4 # doDesign.py before running!
5 # change the settings to the larger chip/corona size
7 # also contains Staf's manually re-connected PLL edits to the verilog
8 # see commits 24cbbcc and 227a0f69
10 # Include tweaks dedicated to jpc's slightly different build environment.
12 echo "remember to check doDesign core size"
13 echo "also use yosys 049e3abf9"
14 if [ "${USER}" = "jpc" ]; then echo "Using \"jpc\" configuration."; fi
17 echo "fetching GDS-II files"
18 wget http
://ftp.libre-soc.org
/C4MLogo.gds
19 wget http
://ftp.libre-soc.org
/lip6.gds
20 wget http
://ftp.libre-soc.org
/sorbonne_logo.gds
21 wget http
://ftp.libre-soc.org
/libresoc_logo.gds
23 # initialise/update the pinmux submodule
24 if [ "${USER}" = "jpc" ]; then
25 # Must be done in the root of the repository when cloning anew.
26 (cd ..
/..
; git submodule update
--init --remote)
28 git submodule update
--init --remote
31 # makes symlinks to alliance
32 if [ ! -e "./mk" ]; then
33 if [ "${USER}" = "jpc" ]; then
34 ln -s ..
/..
/..
/..
/alliance-check-toolkit
/etc
/mk .
40 # generates the io pads needed for ioring.py
47 # copies over a "full" core
48 #cp non_generated/full_core_4_4ksram_ls180.il ls180.il
49 cp non_generated
/full_core_4_4ksram_ls180.v ls180.v
50 cp non_generated
/full_core_4_4ksram_litex_ls180_recon.v litex_ls180.v
51 cp non_generated
/full_core_4_4ksram_libresoc_recon.v libresoc.v
52 cp non_generated
/spblock
*.v .
53 cp non_generated
/spblock
*.vbe .
54 cp non_generated
/pll.v .
62 if [ "${USER}" != "jpc" ]; then
63 # make the vst from verilog