Is there a way to create a symbol from spice file ...
# xschem
t
Is there a way to create a symbol from spice file ?
l
xschem symbol files are text files. You could edit it manualy. Easier than point and clicking.
t
But is there a doc of the format ?
And also how do you specify the pin ordering ?
l
https://github.com/lhrodovalho/sky130_rodovalho_ip__lpopamp/blob/main/xschem/lpopamp_slice.sym Something like this
Copy code
K {type=subcircuit
format="@name @@im @@ip @@o @@avdd @@avss @@en @@enb @@bpa @@bpb @@bnb @@bna @@xp @@ypp @@ypm @@zpp @@zpm @@xn @@ynp @@ynm @@znp @@znm @symname"
template="name=X1"}