Hi <@U016EM8L91B> <@U017X0NM2E7> <@U01819B63HP> Ex...
# magic
a
Hi @Tim Edwards @Mitch Bailey @Stefan Schippers Excuse me, when I executed the following commands to get extracted spice of bandgap with RC from the layout, Magic IC is aborted suddenly at the step of `ext2spice lv`s. I posted a snapshot of the message that appeared at the terminal. What does it mean, please?. how can get extracted spice with RC? please
gds read bandgap
select top cell
flatten bandgap_flat
load bandgap_flat
extract do local
extract all
ext2sim labels on
ext2sim
extresist tolerance 10
extresist
ext2spice lvs
ext2spice cthresh 0
ext2spice extresist on
ext2spice
t
What version of magic?
@Ahmed Reda: I did not get the crash condition; however, one thing I noticed when trying it myself is that after doing
load bandgap_flat
I need to do an additional `select top cell`; otherwise the
extresist
command acts on the original cell (which is still selected). The following recipe should work and extracts the cell with the original cellname:
Copy code
gds read bandgap
select top cell 
flatten bandgap_flat
load bandgap_flat 
cellname delete bandgap
cellname rename bandgap_flat bandgap
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
1
a
@Tim Edwards It works well now according to your recipe. Thanks
👍 1