Post Go back to editing

ad8338 spice model

i try to use ad8338 spice model, but it doesn't work, there is an error in line 72. Any suggestion how to solve it?

  • I'm trying to import AD8338.cir file in Tina 9, using Macro wizard.

    With Others Analog spice model it works. The reported error log is "invalid function name:LIMIT Line:72" in AD8338 model

    Thank you in advance

    Luciano

  • Ok, it works with another simulator, it seems to be a Tina problem.

    Thank you

  • ruggiLucio,

    Might be a bit late..but

    I also have been through this. There are different Spice syntax types e.g. Berkeley SPICE3 which some simulators can't handle. There's nothing wrong with Tina-Ti. It's great.

    The support from manufacturers of the IC's is the problem not being able to help with these models. One model can work with one simulator but not another!! Frustrating.

    2 lines have to be re-written in the AD8338 model for Tina-Ti.

    Was

    • BSLEW  VSLEW 0 I=(-1)*LIMIT((V(VGAINOUT)-V(VSLEW)),0.002,-0.002)

    Now

    • GSLEW  VSLEW 0 VALUE ={(-1)*LIMIT((V(VGAINOUT)-V(VSLEW)),0.002,-0.002)}

    Was

    • BCLAMP VLIMIT 0 V=LIMIT(V(VPRE), 1.55, -1.55)

    Now

    • ECLAMP VLIMIT  0 VALUE {LIMIT(V(VPRE), 1.55, -1.55)}

    This is the sort of answer we want from manufacturers!!!

  • Hi,

    Seems the issue that been raised is already answered.
    Thank you for brining this up on this community and collaborating with the team.

    We'll consider this thread as close.

    Thanks!