The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 11:23am
Pages: 1
Send Topic Print
Modelcard for the Verilog-A device (Read 1737 times)
Deadok
New Member
*
Offline



Posts: 3

Modelcard for the Verilog-A device
Dec 06th, 2012, 2:57am
 
Hello!

I have a trouble in passing parameters from the modelcard to the Verilog-A description of my device when I use Cadence.
To keep it simple let's have a look at the simplest resistor.
There is a single parameter there:
parameter real r=10 from [0:inf);

I create a modelcard for this resistor which looks like this:

simulator lang=spectre insensitive=yes

ahdl_include "resistor_tst.va"

subckt resist ( p n )
     resist ( p n ) rr
ends resist

model rr resistor_tst
+ r = 100



This model card (resist.scs) is included into ADE Model libraries.
The resistor is represented in my schematics by a symbol with the view name "spectre". The new component parameter was added in the CDF base layer:

Name: model;
Prompt: resistor_tst;
type: string;
Parse as CEL: yes;

In the simulation in formation for spectre I specified termOrder = p n.
The "otherParameters" = model.

That is the description of my setup.
Afterwards I run a DC analysis, but get a warning from spectre:
resist.scs" 13: rr: `r' is not a valid parameter for an instance of `resistor_tst'.  Ignored.

What would you recommend me to do?
I would like to use modelcards as as soon my problem is solved I will use the same solution for a simulation of a MOSFET.

Thanks for support!
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: Modelcard for the Verilog-A device
Reply #1 - Dec 6th, 2012, 7:52am
 
You should contact Cadence support.  There is a special method they use to allow modelcards with Verilog-A models, but it may be proprietary.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   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.