Patarimi / hades

https://patarimi.github.io/hades/
0 stars 0 forks source link

magic pour R et RC extraction #241

Closed Patarimi closed 6 days ago

Patarimi commented 3 months ago

https://github.com/iic-jku/osic-multitool/blob/main/iic-pex.sh

magic -dnull -noconsole -rcfile ../pdk/sky130A/libs.tech/magic/sky130A.magicrc extract.tcl $PDK_ROOT doit être définit.

extract.tcl :

gds read sky130_fd_sc_hd.gds
#for r extraction
flatten sky130_fd_sc_hd__a22o_1
#/r
load sky130_fd_sc_hd__a22o_1
select top cell
set SUB 0
extract path extfile
extract all
#for r extraction
ext2sim labels on
ext2sim
extresist tolerance 10
extresist
#/r
ext2spice lvs
#set threshold for capacitance extraction (in fF)
#set to infinite to disable
ext2spice cthresh 0.1
ext2spice extresist on
ext2spice -p extfile -o a22o.cir
quit -noprompt
Patarimi commented 2 months ago