Stefan Schippers
05/19/2022, 7:11 AM.include /path/to/extracted_netlist.spice
to use the extracted netlist for the block.
You must ensure the port order of the extracted subcircuit netlist and the xschem generated subcircuit match. See also this video about using different descriptions for a symbol. It covers verilog but all concepts are valid for spice sims as well.Abhinav Uppal
06/06/2022, 11:51 AMinclude /path/to/extracted/.spice
x1 [ports] subcircuit-name-from-spice
Or would a symbol be necessary? I am able to get a netlist to generate with the include and instance definition method but I am messing something up as ngspice doesn’t want to quite run it…