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.

Importing a pspice model into TINA-TI (MCP6541)

I'm trying to compare a TI comparator with a Microchip comparator for debugging purposes.  For the MCP part, I'm having difficulty importing the model into TINA. 

The MCP6541 model is here: http://ww1.microchip.com/downloads/en/DeviceDoc/MCP6541_MM_B.zip

TINA complains about "Undefined subcircuit: DFFRSH" which is referenced in this line of the model:

X_U113 0 0 113 114 120 115 $G_DPWR $G_DGND DFFRSH

  • Matt,

    Microchip has used a PSpice only built in model for this device. It will only work correctly in PSpice.

    Please also note that the $G_DPR $G_DGND are PSpice specific notations for power and ground busses. These connections would not be correct either, but you could change them to the pins for Positive Supply and Negative Supply. However, you would need to find the DFFRSH model before you could try to import this model into any simulator other than PSpice.

    The device is described as: D FLIP FLOP WITH ENABLE HIGH PRESET AND RESET

    Since it is a digital primitive, there is no importable model for the DFFRSH device.

    Britt

  • Matt,

    I took a look at the model and it looks like the error is due to the fact the subcircuit DFFRSH referenced by X_U113 is missing from the netlist. The model netlist is basically incomplete.

    Regards,
    John

  • I understand.  Thanks for the prompt responses!  

    I found a german language forum where they successfully kludged it by using an SR FF to get it to work in LTSpice: http://www.mikrocontroller.net/topic/256548  

    To avoid a long convergence, they used some dreaded "CSHUNT" value that one isn't supposed to use.

    I will try to futz around with it to see if I can do the same for TINA.

    Thanks!