-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools_install.sh
More file actions
94 lines (86 loc) · 3.54 KB
/
Copy pathtools_install.sh
File metadata and controls
94 lines (86 loc) · 3.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#!/bin/bash
# VLSI EDA Tools
# Repositories and downloads directory
LAST_PWD=${pwd}
# xschem
git clone https://github.com/StefanSchippers/xschem.git ${TOOLS_DOWNLOADS}/xschem_git && \
cd ${TOOLS_DOWNLOADS}/xschem_git && ./configure
make -j${nproc} && make -j${nproc} install
cd ${LAST_PWD}
# netgen
git clone https://github.com/RTimothyEdwards/netgen.git ${TOOLS_DOWNLOADS}/netgen_git && \
cd ${TOOLS_DOWNLOADS}/netgen_git && ./configure
make -j${nproc} && make -j${nproc} install
cd ${LAST_PWD}
# jtr0view - Wave Viewer
wget http://www.mixedmode.com/products/jtr0view.tar.gz \
--directory-prefix=${TOOLS_DOWNLOADS}
tar -xvzf ${TOOLS_DOWNLOADS}/jtr0view.tar.gz --directory=${TOOLS_DOWNLOADS}
echo -e "#\!/bin/bash\njava -jar ${TOOLS_DOWNLOADS}/jtr0view/jtr0view.jar" > ${TOOLS_DOWNLOADS}/jtr0view/jtr0view
ln -s ${TOOLS_DOWNLOADS}/jtr0view/jtr0view /usr/local/bin/
rm ${TOOLS_DOWNLOADS}/jtr0view.tar.gz
# gwave3 - Wave Viewer
wget https://sourceforge.net/projects/gwave/files/gwave3/gwave-20190116.tar.gz \
--directory-prefix=${TOOLS_DOWNLOADS} --output-document=${TOOLS_DOWNLOADS}/gwave.tar.gz
tar -xvzf ${TOOLS_DOWNLOADS}/gwave.tar.gz --directory=${TOOLS_DOWNLOADS}
cd $TOOLS_DOWNLOADS && mv $(ls | grep -i "201") gwave
cd gwave && autoreconf && autoupdate && ./configure
make -j${nproc} CFLAGS=-D_LARGEFILE64_SOURCE && make -j${nproc} install
rm ${TOOLS_DOWNLOADS}/gwave.tar.gz
cd ${LAST_PWD}
# GAW3 - Wave Viewer (TODO)
wget https://download.tuxfamily.org/gaw/download/gaw2-20170605.tar.gz \
--directory-prefix=${TOOLS_DOWNLOADS} --output-document=${TOOLS_DOWNLOADS}/gaw2.tar.gz
tar -xvzf ${TOOLS_DOWNLOADS}/gaw2.tar.gz --directory=${TOOLS_DOWNLOADS}
cd $TOOLS_DOWNLOADS && mv $(ls | grep -i "201") gaw2
cd gaw2 && autoreconf && autoupdate && ./configure
make -j${nproc} && make -j${nproc} install
rm ${TOOLS_DOWNLOADS}/gaw2.tar.gz
cd ${LAST_PWD}
# Magic
git clone https://github.com/RTimothyEdwards/magic.git ${TOOLS_DOWNLOADS}/magic_git && \
cd ${TOOLS_DOWNLOADS}/magic_git && ./configure
make -j${nproc} && make -j${nproc} install
cd ${LAST_PWD}
# Open PDKs (last install) (TODO)
git clone https://github.com/RTimothyEdwards/open_pdks.git ${TOOLS_DOWNLOADS}/open_pdks_git && \
cd ${TOOLS_DOWNLOADS}/open_pdks_git
# Many enable options on ./configure
./configure --enable-alpha-sky130 \
--enable-gf180mcu-pdk \
--enable-io-gf180mcu \
--enable-io-sky130 \
--enable-irsim \
--enable-klayout \
--enable-klayout-sky130 \
--enable-magic \
--enable-netgen \
--enable-openlane \
--enable-option-checking \
--enable-osu-sc-gf180mcu \
--enable-osu-t12-sky130 \
--enable-osu-t15-sky130 \
--enable-osu-t18-sky130 \
--enable-precheck-sky130 \
--enable-primitive-gf180mcu \
--enable-primitive-sky130 \
--enable-qflow \
--enable-reram-sky130 \
--enable-sc-7t5v0-gf180mcu \
--enable-sc-9t5v0-gf180mcu \
--enable-sc-hd-sky130 \
--enable-sc-hdll-sky130 \
--enable-sc-hs-sky130 \
--enable-sc-hvl-sky130 \
--enable-sc-lp-sky130 \
--enable-sc-ls-sky130 \
--enable-sc-ms-sky130 \
--enable-sram-gf180mcu \
--enable-sram-sky130 \
--enable-sram-space-sky130 \
--enable-verification-gf180mcu \
--enable-xcircuit \
--enable-xschem \
--enable-xschem-sky130
make -j${nproc} && make -j${nproc} install
cd ${LAST_PWD}