Cadence Spectre V function

Discussion in 'Cadence' started by Szekit, Sep 22, 2004.

  1. Szekit

    Szekit Guest

    Hi,

    In my resistor's model deck, I have the following:

    r1 ( 1 12 ) bsource r=rsh/mf*1/(w-dw)*(1+pvcl*abs(v(12,2))+pvc2*v(12,2))*tfac/6

    When I run with spectre simulator, it says that the v function is not
    defined or being called recursively.

    What is the problem here? Am I missing some files?

    Thanks
    szekit
     
    Szekit, Sep 22, 2004
    #1
  2. You're using too old a version of spectre. bsource was introduced
    (officially) in IC5033. If you are using a version before IC50 MSR3
    though, you'll get this (bsource was there, but as an engineering
    release).

    In practice you need to use IC5033 or IC5141 to use bsource. Your
    design kit probably says this somewhere in the documentation...

    Andrew.
     
    Andrew Beckett, Sep 23, 2004
    #2
  3. Szekit

    Szekit Guest

    Thank you very much for your answer.

    If upgrade is not an option in the near future, is there a
    quick-and-dirty way to get around this problem?

    Szekit
     
    Szekit, Sep 30, 2004
    #3
  4. You'd have to write a Verilog-A module to do the same thing.

    The point of bsource was to avoid you having to write Verilog-A
    modules for simple relationshops like this. You might be able to use
    a resistor with coefficients, with nonlinform=r as well - I think
    there is something to allow this - yes, there is, symmetric=absolute.
    However, the symmetric model parameter for resistors is not there
    until some time after IC50 MSR3 (in a hotfix), and so this is not
    going to help you.

    Upgrading is by far the simplest option. There may be other things in
    the PDK that don't work as wel...

    Andrew.
     
    Andrew Beckett, Oct 3, 2004
    #4
  5. Just to make sure we're clear here - I would recommend writing a
    Verilog-A model rather than a SpectreHDL model. Often "ahdl" views
    in DFII refer to SpectreHDL (although the term itself applies to any
    analog hardware description language). SpectreHDL is an older,
    proprietary language, with limited support going forward.

    Regards,

    Andrew.
     
    Andrew Beckett, Oct 8, 2004
    #5
  6. Szekit

    Szekit Guest

    Thank you very much Andrew. You have been very helpful.
     
    Szekit, Oct 29, 2004
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.