Mingjie Liu
10/11/2021, 7:25 PMBarry Muldrey
01/13/2022, 8:21 PMMarwan Abbas
01/18/2022, 4:08 PMMarwan Abbas
01/18/2022, 4:12 PMMarwan Abbas
01/18/2022, 4:12 PMmkk
01/18/2022, 4:33 PMmagic export TOOLS=/ciic/tools
mkdir git
cd $TOOLS/git; \
git clone <git://opencircuitdesign.com/magic> magic ; \
cd magic; \
./configure --prefix=$TOOLS/magic; \
make; \
make install
netgen:
cd /ciic/tools; \
git clone <git://opencircuitdesign.com/netgen>; netgen-netgen
cd netgen; \
./configure; \
make; \
sudo make install
mkk
01/18/2022, 4:52 PMKeren Zhu
01/23/2022, 9:22 PMKeren Zhu
01/24/2022, 1:00 AMMarwan Abbas
01/24/2022, 5:48 PMmkk
01/25/2022, 2:07 PMmkk
01/25/2022, 2:09 PMmkk
01/25/2022, 2:09 PMmkk
01/25/2022, 2:18 PMmkdir ~/tools
git clone <git://opencircuitdesign.com/magic>
cd magic
./configure --prefix=~/tools
make
make install
mkk
01/25/2022, 2:23 PMgit clone <git://opencircuitdesign.com/netgen>
cd netgen
./configure --prefix=~/tools/netgen
make
make install
mkk
01/25/2022, 2:45 PM########################################################
###### Magic netlist extraction
########################################################
export MAGIC=magic
export PDKPATH=$PDK_ROOT/sky130A ;
export MAGTYPE=mag
MAGTYPE=$MAGTYPE $MAGIC -dnull -noconsole -rcfile $PDKPATH/libs.tech/magic/sky130A.magicrc << EOF
path search [concat "../${MAGTYPE}" [path search]]
crashbackups stop
drc off
gds readonly true
gds flatten true
gds rescale false
tech unlock *
cif istyle sky130(vendor)
gds read ../gds/$1
load ${1%.gds} -dereference
select top cell
#lef read $PDK_ROOT/openlane/sky130A/libs.ref/sky130_fd_sc_hd/lef/sky130_fd_sc_hd.lef
#readspice $PDK_ROOT/openlane/sky130A/libs.ref/sky130_fd_sc_hd/cdl/sky130_fd_sc_hd.cdl}
#extract no all
extract do local
extract all
ext2spice lvs
ext2spice -o ./netlists/gds-extracted-${1%.gds}.spice
EOF
mkk
01/25/2022, 2:48 PMmkk
01/25/2022, 3:08 PMKeren Zhu
01/25/2022, 3:39 PMMingjie Liu
02/09/2022, 4:15 PMmkk
02/09/2022, 4:18 PMmkk
02/09/2022, 4:43 PMload spm
flatten spm_flat
load spm_flat
select top cell
extract do local
extract all
ext2sim labels on
ext2sim
extresist tolerance 10
extresist
ext2spice lvs
ext2spice cthresh 0
ext2spice extresist on
ext2spice
Marwan Abbas
02/14/2022, 12:08 PMMingjie Liu
02/14/2022, 9:54 PMMingjie Liu
02/14/2022, 9:54 PMMingjie Liu
02/14/2022, 10:09 PMMarwan Abbas
02/15/2022, 7:59 AMklayout -zz -r sky130A_mr.drc -rd feol=1 -rd beol=1 -rd offgrid=0 -rd seal=1 -rd floating_met=0 -rd input=<file>.gds
Mingjie Liu
02/24/2022, 4:19 PMMingjie Liu
02/24/2022, 4:23 PMMingjie Liu
02/24/2022, 4:39 PM