Strange model drag and drop behavior

When I drag and drop the modified (to remove the ^ in if statements) PSPICE model for the TPS61170, it creates a symbol as usual, but most of the pins are duplicated, even thought the model has only one reference to each pin:
.SUBCKT TPS61170_TRANS VIN CTRL COMP GND FB SW PwPD PARAMS: D0=1
+D1=1 D2=1 D3=1 D4=1 FAST_MODE=1

TPS63805_TRANS-Qspice.txt (48.9 KB)

Any idea what’s causing that? Is it related to the PARAMS statement on the same line?

The file you uploaded in your post is TPS63805 instead TPS61170… but anyway, this is 2nd time that such experience is reported : https://forum.qorvo.com/t/subcircuit-issues/23505

I download TPS61170 https://www.ti.com/lit/zip/slvm100 and tested, but again, problem cannot be replicated. Update Qspice and retry. If you find a consistent way the problem can be replicate, share it in this post or email to Mike.

By the way, about XOR symbol, what you should do for it to work in Qspice is to replace ^ by ^^ but not to remove that. Reference : https://forum.qorvo.com/t/ti-tps63805-unencrypted-model-doesnt-run-in-qspice/23185/7

1 Like

Thanks, Kelvin, sorry for attaching the wrong file. I updated QSPICE (my version was only ~5 days old) and could not replicate the issue with the new version. So it looks OK now, and thanks for the advice on XOR.