Results 1 to 7 of 7

Thread: Cadence Spectre V function

  1. #1
    Szekit Guest

    Cadence Spectre V function

    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

  2. #2
    Andrew Beckett Guest
    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.


    On 22 Sep 2004 11:08:50 -0700, szekit@gmail.com (Szekit) wrote:

    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

  3. #3
    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

    Andrew Beckett <andrewb@DcEaLdEeTnEcTe.HcIoSm> wrote in message news:<12e6l0hndgin3gg7v1oa9lorpdsjge656q@4ax.com>. ..
    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.


    On 22 Sep 2004 11:08:50 -0700, szekit@gmail.com (Szekit) wrote:

    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

  4. #4
    Andrew Beckett Guest
    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.

    On 30 Sep 2004 14:51:34 -0700, szekit@gmail.com (Szekit) wrote:

    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

    Andrew Beckett <andrewb@DcEaLdEeTnEcTe.HcIoSm> wrote in message news:<12e6l0hndgin3gg7v1oa9lorpdsjge656q@4ax.com>. ..
    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.


    On 22 Sep 2004 11:08:50 -0700, szekit@gmail.com (Szekit) wrote:

    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

  5. #5
    Richard Griffith Guest
    Szekit wrote:
    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?
    Write an ahdl model to replace the bsource. This is a nonlinear resistor
    described by the function as you see it. The model deck would have to be
    changed to call the ahdl model.
    Szekit

    Andrew Beckett <andrewb@DcEaLdEeTnEcTe.HcIoSm> wrote in message news:<12e6l0hndgin3gg7v1oa9lorpdsjge656q@4ax.com>. ..

    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.


    On 22 Sep 2004 11:08:50 -0700, szekit@gmail.com (Szekit) wrote:


    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

  6. #6
    Andrew Beckett Guest
    On Wed, 06 Oct 2004 22:00:32 -0400, Richard Griffith
    <rgriffith@istop.com> wrote:
    Write an ahdl model to replace the bsource. This is a nonlinear resistor
    described by the function as you see it. The model deck would have to be
    changed to call the ahdl model.
    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.

  7. #7
    Szekit Guest
    Thank you very much Andrew. You have been very helpful.

    Andrew Beckett <andrewb@DcEaLdEeTnEcTe.HcIoSm> wrote in message news:<grjcm0h2kc9s8comv7amcflrci4vcrj1rm@4ax.com>. ..
    On Wed, 06 Oct 2004 22:00:32 -0400, Richard Griffith
    rgriffith@istop.com> wrote:

    Write an ahdl model to replace the bsource. This is a nonlinear resistor
    described by the function as you see it. The model deck would have to be
    changed to call the ahdl model.


    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.

Similar Threads

  1. Replies: 0
    Last Post: 11-21-2008, 03:08 AM
  2. Cadence Spectre - vsource from file?
    By Eestavez in forum Cadence
    Replies: 7
    Last Post: 09-30-2005, 09:10 AM
  3. Replies: 1
    Last Post: 07-08-2005, 01:10 PM
  4. Cadence RF Spectre --Bus Error
    By ankjain in forum Cadence
    Replies: 4
    Last Post: 06-21-2005, 09:10 AM
  5. No function definition
    By joules in forum Customization
    Replies: 5
    Last Post: 03-22-2005, 10:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum