I ran into a segmentation fault when trying to perform 'extresist' to extract the parasitic resistance of my triangular wave generator circuit. Any idea how to solve this? The schematic and .mag file are shown here. By the way, everything is fine if extracted without any parasitic, only the 'extresist' would give me this segmentation fault. And my current version is 8.3.188 for magic. @User
I have a presentation I need to prepare today. I'll take a look at this when I get the chance. If I don't respond by tomorrow, please ping me again.
h
Hongzhe Jiang
07/23/2021, 1:15 PM
OK. Thanks for your time.
t
Tim Edwards
07/23/2021, 2:33 PM
The underlying issue is that some of the pin labels are not attached to a metal layer. The "vsquare" pin is not connected to anything and was the first thing to cause a segfault. You can select the label and type "setlabel layer m1" to make sure it's connected to metal1. I made a quick run after fixing it, and magic still crashed, so there is at least one other unconnected label in the design.
I do need to fix magic to keep it from segfaulting; it should instead flag a warning about the unconnected label.
Tim Edwards
07/23/2021, 2:42 PM
I fixed the issue in magic by just flagging and ignoring unconnected labels (new version of magic pushed to the repo at opencircuitdesign.com). Running your example with the fixed version, I didn't see any errors other than the "vsquare" label, but it did finish the extresist command without segfaulting.