This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello, TI
I try to start the simulating my D-CAP converter based on TPS51285B_TRANS.LIB spice model from downloads of the product page and get the error massege: "Undefined subcircuit: and2"
I added the subcircuit as
*$
.SUBCKT AND2 A B OUT
EOUT OUT1 0 VALUE { IF( V(A)>0.5 & V(B)>0.5,1,0) }
R1 OUT1 OUT 1
C1 OUT 0 10p
.ends AND2
and tried to start again, and get the next error message: "Undefined subcircuit: dff", I have no idea what the "dff" is. Could you help me?
Thanx!
Hi Alex,
Is that okay for you to use TPS51275B Pspice model first? We will look into TPS51285B model.
Thanks,
Lishuang
Thanks for your reply
Yes, it is ok. I have done my design calculations for TPS51275B and TPS51285B and both designs are identical except for inductance and CS resistor, and I think if the TPS51275B based design model matches the calculations, then the TPS51285B will also matches the calculations. But I would like to compare these two models in terms of performance.
Hi Alex,
It seems that's a issue caused by software/simulation config.
You can try to use the method in this post and see if it could work: https://e2e.ti.com/support/tools/simulation-hardware-system-design-tools-group/sim-hw-system-design/f/simulation-hardware-system-design-tools-forum/952719/error-orpsim-15461-incorrect-number-of-interface-nodes-for-x_u1.
I tried with default Pspice model and it worked after I removed the nom_pspti.lib from the library list, as suggested in the linked post.
Thanks,
Andrew
I don't have Pspice, I use LTSpice instead. Can you give me a file with a subcircuits of standard logic gates ("nom.lib" if I understand correctly)? Then I will try to add missing gates to model.