You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
419 B
Tcl

# magic -rcfile magic.tcl
source ../magic/.magic_tech/.magicrc
# openwrapper for non-cmdline
set cmdline 0
if {[catch {openwrapper}]} {
set cmdline 1
}
gds read toysram_bit.gds
load toysram_bit
select
# create toysram_bit.ext
extract cell toysram_bit
# create toysram_bit.spice
ext2spice scale off
ext2spice -F -f ngspice
# create toysram_bit.sim
ext2sim -R -C
# quit if commandline
if {$cmdline} {
quit
}