Cadence Spectre V function

S

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

Welcome to EDABoard.com

Sponsor

Back
Top