Hi there, is it possible to create a symbol for sp...
# xschem
z
Hi there, is it possible to create a symbol for spice(.cir) circuit in xschem
s
the xschem manual has numerous explanations for doing this. see for example https://xschem.sourceforge.io/stefan/xschem_man/creating_symbols.html
If you have an existing spice circuit netlist you can create a symbol for it as explained here: https://xschem.sourceforge.io/stefan/xschem_man/tutorial_use_existing_subckt.html
z
Thanks a lot :)
s
see also the
device_model
attrtibute in the xschem manual here and here. this allows you to embed the .cir spice data into the instance or into the symbol, so you don't depend on an external file.This makes the design more portable. If you give the sch and sym files to other you don't need to provide the external .cir file. Picture below shows a MOS symbol with the IRF540 spice model embedded.
👍 1