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: Spice DELAY PARAMS: + DELAY=80n

Other Parts Discussed in Thread: TINA-TI

Tool/software: TINA-TI or Spice Models

Hi,

I'm trying to import a Spice model in TINA-TI, but I get an error on DELAY parameter.

Do you have any idea about?

Thank you.

Best Regards,

Michele

  • Hi Michele,

    Could you please share your TSC file along with snapshot of error message ? We will check and get back to you.
  • Hi Sacket,

    I can't generate TSC file because I receive the error in the attached snapshot.

    Thank you.

    Regards,

    Michele

    RTQ2106_PSpice.lib

  • Hi Michele,

    I have looked into the lib file and found that there are many subckt being called (like DELAY, DFF_ABM) but they are not defined anywhere in the lib file.

    For example,

    the device X_U35_U93 is calling a subcircuit DELAY but there is no definition for the same in the lib file. You need to add them in your lib file and retry.

    Thanks,
    Somen

  • I can't find this subcircuit.

    Can I replace with TD=xxns directive?

    Thank you.

    Regards,

    Michele

  • Hi Michele,

    I have attached a typical delay subcircuit and you can customize this as per your need.

    DELAY.lib

    Thanks,

    Somen

  • Thank you Somen, but I don't understand how to use it.
    Regards,
    Michele
  • Hi Michele,

    For this part, I would recommend to go directly to the company that provides this model which I believe RICHTEK and they should be able to support you further.

    However, if you still insist want to try to use the DELAY block provided by Somen, you can replace for instance

    X_U35_U93 U35_ZC_ST U35_N2638956 $G_DPWR $G_DGND DELAY PARAMS:
    + DELAY=80n TOL=10 IO_LEVEL=0 MNTYMXDLY=0

    with

    X_U35_U93 U35_ZC_ST U35_N2638956 $G_DPWR $G_DGND DELAY PARAMS: VDD=1 VSS=0 VTHRESH=0.5 DELAY = 80n

    Please note that you need to replace VDD=1 and VSS=0 to and VTHRESH=0.5 with what's appropriate for your system.

    Then copy paste the .SUBCKT DELAY (file) provided by Somen in the end of the file RTQ2106_Pspice.lib

    Hope this helps.

    Herman