Hey guys, I ran into some trouble in LTSpice.
Basically the problem is that the circuit behaves different if I make it into a custom symbol(subcircuit).
I am simulating a TSMC018 CMOS op amp in ltspice, and need to test it using "gain of 2" non-inverting amplifier configuration. So I started by doing everything in one schematic sheet, which is shown in the attached "without using subcircuit.PNG". It worked fine as the simulation result shows, when the input is 100mV, the output is ~199.5mV.
Then I made it into a custom symbol(subcircuit), as shown in the attached "subcircuit.PNG" and "symbol.PNG". Then I hooked it up with the external components (power supply, feedback resistors, biasing current etc). Simulated it and the output was off. It is shown in the attached "using subcircuit.PNG", when the input is 100mV, the output is ~194.8mV.
I have no idea why this would happened. Can you guys please help me with that? Thanks.