Using "functional library" blocks in Analog Environment

S

spectrallypure

Guest
Hi all, I am trying to use some of the blocks from the Cadence library
"functional", but I'm not sure about how to route the files needed for
the spectre simulator to run. For example, when I try to use the
"driver" block in a design, I get the following error message (here
"X0" is the name of a "driver" block instance):

[Error found by spectre in `_sub36', during circuit read-in.
input.scs: X0 is an instance of an undefined model f_driver.]

I searched my entire hard disk for a model file for this block, but all
I could find was the following file:
"/IC_5.0.33/tools.sun4v/dfII/etc/cdslib/artist/cdsSpice/functional/f_driver.s".
However, when I add this file in the "Model Libraries" section and run
the simulation, I get another error:

[Error found by spectre during circuit read-in.

/IC_5.0.33/tools.sun4v/dfII/etc/cdslib/artist/cdsSpice/functional/f_driver.s"
12: Error in .ends command.

"/IC_5.0.33/tools.sun4v/dfII/etc/cdslib/artist/cdsSpice/functional/f_driver.s"
12: Bad .subckt statement.
spectre terminated prematurely due to fatal error.]

Can somebody please indicate how to appropriately use these blocks
within the Analog Environment? (and maybe most importantly, in which
part of the official documentation is this information located? - I
never seem to find this type of information using cdsdoc!). I suspect
that this has to do with "macro models" rather than "models", but so
far that concept is well beyond my knowledge...

Thanks in advance for any help!
 
On 6 Jan 2006 19:22:58 -0800, "spectrallypure" <jorgelagos@gmail.com> wrote:

Hi all, I am trying to use some of the blocks from the Cadence library
"functional", but I'm not sure about how to route the files needed for
the spectre simulator to run. For example, when I try to use the
"driver" block in a design, I get the following error message (here
"X0" is the name of a "driver" block instance):

[Error found by spectre in `_sub36', during circuit read-in.
input.scs: X0 is an instance of an undefined model f_driver.]

I searched my entire hard disk for a model file for this block, but all
I could find was the following file:
"/IC_5.0.33/tools.sun4v/dfII/etc/cdslib/artist/cdsSpice/functional/f_driver.s".
However, when I add this file in the "Model Libraries" section and run
the simulation, I get another error:

[Error found by spectre during circuit read-in.

/IC_5.0.33/tools.sun4v/dfII/etc/cdslib/artist/cdsSpice/functional/f_driver.s"
12: Error in .ends command.

"/IC_5.0.33/tools.sun4v/dfII/etc/cdslib/artist/cdsSpice/functional/f_driver.s"
12: Bad .subckt statement.
spectre terminated prematurely due to fatal error.]

Can somebody please indicate how to appropriately use these blocks
within the Analog Environment? (and maybe most importantly, in which
part of the official documentation is this information located? - I
never seem to find this type of information using cdsdoc!). I suspect
that this has to do with "macro models" rather than "models", but so
far that concept is well beyond my knowledge...

Thanks in advance for any help!
These models are really obsolete - you're better off using Verilog-A models
instead (such as those in ahdlLib, bmslib, rfLib etc). However, there is
a model file in spectre syntax for these models - in:

<instdir>/tools/dfII/etc/cdslib/artist/functional/allFunc.scs

Add that as a model library in ADE, and you should be OK (I think).
As for documentation, see

<instdir>/doc/fblocklibref/fblocklibref.pdf

Regards,

Andrew.
 
Thanks so much for the tip, Andrew. The simulation ran fine after
adding the allFunc.scs file.
Nevertheless, I could not find those Verilog-A models that you mention
in my Cadence installation (I am using the IC package v5.0.33 as
provided by EUROPRACTICE in their 2004 release). Are they part of an
specific tool that I haven't installed, or maybe from a newer version
than the ones I have? I received my IC package 2005 some months ago,
but haven't deployed it yet since we have some ongoing projects that we
prefer to finish before switching to the new distribution... would
those libraries (ahdlLib, bmslib, rfLib) be found in that release (IC
v5.1.41)?
 
On 9 Jan 2006 08:38:31 -0800, "spectrallypure" <jorgelagos@gmail.com> wrote:

Thanks so much for the tip, Andrew. The simulation ran fine after
adding the allFunc.scs file.
Nevertheless, I could not find those Verilog-A models that you mention
in my Cadence installation (I am using the IC package v5.0.33 as
provided by EUROPRACTICE in their 2004 release). Are they part of an
specific tool that I haven't installed, or maybe from a newer version
than the ones I have? I received my IC package 2005 some months ago,
but haven't deployed it yet since we have some ongoing projects that we
prefer to finish before switching to the new distribution... would
those libraries (ahdlLib, bmslib, rfLib) be found in that release (IC
v5.1.41)?
They are in <instdir>/tools/dfII/samples/artist - they've been there for many
years, with the exception of bmslib which was added in IC5033 (so you should
have it). These would be installed provided that spectre was installed.

Regards,

Andrew.
 
Andrew,
Once again, thanks so much for your help. I found all the libraries and
will start to devour them as soon as I finish my current project.
Best regards,
Jorge Luis.
 

Welcome to EDABoard.com

Sponsor

Back
Top