The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Other CAD Tools >> Entry Tools >> TT
https://designers-guide.org/forum/YaBB.pl?num=1145541507

Message started by TT on Apr 20th, 2006, 6:58am

Title: TT
Post by TT on Apr 20th, 2006, 6:58am

Hi,

I am trying to use pPar in a behavioral model. It works fine until I try to netlist. The netlister does no
pass the value of my CDF parameter but instead still writes pPar("myvalue"). I have checked the CDF options
and set the parAsNumber to yes ... but still nothing happens ?

Did somebody meet this problem before ?

TT

Title: Re: TT
Post by Andrew Beckett on Apr 20th, 2006, 2:17pm

Before you start DFII, enter:


Code:
setenv CDS_Netlisting_Mode Analog


if you're using csh/tcsh, or,


Code:
export CDS_Netlisting_Mode=Analog


if you're using ksh/bash, or,


Code:
export CDS_Netlisting_Mode
CDS_Netlisting_Mode=Analog


if you're using sh as your shell.

This will then tell the spectre netlister to work in "Analog" mode, rather than "Digital" mode - there are two different parameter passing mechanisms (for historical reasons). You can also type:


Code:
setShellEnvVar("CDS_Netlisting_Mode=Analog")
cdsSetNetlistMode()


in the Command Interpreter Window (i.e. use the above SKILL functions) to achieve the same effect.

Regards,

Andrew.

Title: Re: TT
Post by basf on Mar 28th, 2007, 3:38am

Who knows how to make Cadence add scaling information in the netlist? Is there any variable to do that. I just want to automatically
add ".option scale=1e-06" string in generated netlist.

Title: Re: TT
Post by Andrew Beckett on Apr 12th, 2007, 1:46am

For spectre this is under the Simulation->Options->Analog. For the hspiceD interface, it's under Simulation->Analog Options->Model Analysis Options->General Options .

The corresponding cdsenv settings (to initialise these fields) can be done with the SKILL functions:


Code:
envSetVal("spectre.opts"  "scale" 'string  "1e-6")
envSetVal("hspiceD.opts"  "SCALE" 'string  "1e-6")


Regards,

Andrew.



Title: Re: TT
Post by rajdeep on Dec 25th, 2007, 4:26am

Well, does it work for verilog behavioral models also??
I mean, is the meaning of pPar at all understood by the verilog netlister?
I'm using spectreVerilog and set the variable CDS_Netlisting_Mode to "Compatibility".
Rajdeep

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.