The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 4th, 2024, 6:47pm
Pages: 1
Send Topic Print
TT (Read 8685 times)
TT
New Member
*
Offline



Posts: 7

TT
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
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: TT
Reply #1 - 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.
Back to top
 
 
View Profile WWW   IP Logged
basf
New Member
*
Offline



Posts: 3

Re: TT
Reply #2 - 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.
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: TT
Reply #3 - 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.


Back to top
 
 
View Profile WWW   IP Logged
rajdeep
Senior Member
****
Offline



Posts: 220
UK
Re: TT
Reply #4 - 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
Back to top
 
 

Design is fun, verification is a requirement.
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.