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
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.
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.