Furthermore, for the schematic two_port_cell, Z11 looks good if only one port is selected for SP analysis.
Code:NPORT0 (PORT0_PLUS 0 NPORT0_t2 0) nport thermalnoise=yes \
file="~/test.s2p"
PORT3 (NPORT0_t2 0) port r=50 type=sine
PORT0 (PORT0_PLUS 0) port r=50 type=sine
...
sp sp ports=[PORT0] start=1 stop=2G dec=10 annotate=status
But Z11 is weird if both port cells are selected for SP analysis.
Code:NPORT0 (PORT0_PLUS 0 NPORT0_t2 0) nport thermalnoise=yes \
file="~/test.s2p"
PORT3 (NPORT0_t2 0) port r=50 type=sine
PORT0 (PORT0_PLUS 0) port r=50 type=sine
...
sp sp ports=[PORT0 PORT2] start=1 stop=2G dec=10 annotate=status
Thanks for any comments.
Yawei