Closed yrrapt closed 5 months ago
Hi, Thomas, try to see if you have more than one test_circuit.sch in your search paths. Are you netlisting a testbench that instantiates test_circuit.sym? or are you netlisting test_circuit.sch directly? in the first case edit the symbol attributes and look at the format attribute. This tells xschem the port list.
Hi Stefan, I found the problem, the symbol did not have those pins. Adding the pins to the symbol fixed the problem. So this was user error. Thanks, Thomas
@yrrapt If you run a netlist from a script, like:
$ xschem -rnqsx tb_opamp_stef.sch
-----------/home/schippes/.xschem/xschem_library/opamp_stef/tb_opamp_stef.sch
Warning: open net: VCC
-----------/home/schippes/.xschem/xschem_library/opamp_stef/opamp_stef.sch
-----------/home/schippes/.xschem/xschem_library/opamp_stef/tb_opamp_stef.sch
Error: Symbol opamp_stef.sym: schematic pin: VCC not in symbol
Error: Symbol opamp_stef.sym has 4 pins, its schematic has 5 pins
you get on stderr messages telling if something is wrong regarding to sch/sym port matching.
option -r
is important since it prevents xschem from closing stdin/stdout/stderr (this is necessary if multiple xschem instances are launched from the same controlling terminal).
I have an issue where two particular ports (
chop_p_i
andchop_n_i
) are not being netlisted into the subckt definition.The schematic file is:
The ends up with a netlist (with LVS mode enabled):
I have tried to debug the cause but have not yet been able to determine what is causing the issue.