Open britovski opened 5 days ago
The transistor subckt's needs the fifthnode for temperature:
XQ1 B2 net1 GND GND t npn13G2 Nx=1
XQ2 net1 B1 IN GND t npn13G2 Nx=1
There seems something wrong with your PDK installation.
@dwarning your xschem is generating the subckt netlist with the fifth node?
Environment
Expected Behavior
both TBs (inv_ttl_tran and inv_ttl_tran2) are expected to work since the only difference is that transistors in one of them are inside a subckt.
Actual Behavior
TB with subckt doesn't work and gave a subckt error message: Error: unknown subckt: x1.xq1 out x1.net1 0 0 x1.npn13g2 Simulation interrupted due to error!
Steps to Reproduce the Problem
Both TB netlists and xschem files are provided in attachment as a testcase. inv_ttl.tar.gz
PS: I didn't have problems with MOSFETs using the same hierarchy flow on xschem/ngspice.