Hi, all. How can I include a standard cell in spic...
# ieee-sscs-dc-23
j
Hi, all. How can I include a standard cell in spice netlist code of schematic? While I make netlists in Xschem, the standard cell that I passed doesn't come up in netlist( e.g dffqnq)
s
Did you design yourself this standard cell? or what process are you working on?
Anyway, if you have a standard cell symbol and a spice netlist for it, descend into the symbol and add attribute:
spice_sym_def=/path/to/spice/file/cir
and set the symbol type to '`subcircuit`'. https://xschem.sourceforge.io/stefan/xschem_man/tutorial_use_existing_subckt.html
j
@Stefan Schippers Ah, I missed that property. Thanks. Instead of adding spice_sym_def code in symbols, I added ".include code in schematic as below.
image.png
👍 1