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.

TINA/Spice/AMC1301: Error importing model into OrCAD

Part Number: AMC1301
Other Parts Discussed in Thread: TINA-TI,

Tool/software: TINA-TI or Spice Models

importing the model into OrCAD gives errors 

GVocmtemp 1 2 table {TEMP} = (-40.2880,1.43593, -10.0524,1.43840, 5.20942,1.43938, 35.1571,1.44012, 64.8168,1.44062, 79.7906,1.44086,
$
ERROR(ORPSIM-16366): Line too long. Limit is 132 characters.

this can be fixed by deleting some of the last couple of characters from each line and the space after the comma

the next error that comes up, i'm not sure how to fix:

ERROR(ORPSIM-15461): Incorrect number of interface nodes for X_U7.XInput.

this error was mentioned over in another thread where it was fixed for AMC13111 model, but not AMC1301

https://e2e.ti.com/support/development_tools/webench_design_center/f/234/t/685968

  • Hi Sonny,

    Regarding the line too long error, you can split this into 2 lines. The second line should start with a + and a space. This indicates a line continuation to PSpice.

    Regarding the other error, we will have someone look into this.
  • Sonny,

    I looked at the model and it does not look like there's an issue with incorrect number of interface nodes. How did you import the model into OrCAD?

    Thanks,
    JC

  • i agree, not sure why the error is here.  circuit modeled in normal way using model editor, wizard import.  opening up the model file to see the part that was auto created for "Input" circuit and it seems to match the *.lib file just fine as shown below.  i mean, the number of inputs matches.. 8 of them.  

    later on in the *.lib file we find where the function input_circuit is used:   .SUBCKT Input_circuit VINP VINN GND2 POut1 FSO VDD1 GND1 NOut1

    and we can see it matches up nicely with the definition shown below.  so again.. i'm not sure why i get an error.  only difference is subckt uses "Pout1" and not "Pout1_15" and similar for "Nout1" and "Nout1_17" but i think this is not a problem, just variable names that match up with respect to the order in which they are called in the subckt.  at this point i think the error is not related to the library  :(

  • Sonny,

    Can't tell much from this screenshot. Would you please share this file you have open in what seems to be Microsoft WordPad? And how was this file created?

    Thanks,
    JC

  • AMC1301.libthe file open is the library file.  i just used MS Wordpad  to open it.

  • JC thank you for your time but i don't think this is a model error; has to be on my end somehow. if i get some hint its not, i'll create a thread. until then, i'm going to mark this as resolved.