The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 20th, 2024, 12:51am
Pages: 1
Send Topic Print
cannot recognize Spectre primitive "diode" (Read 6644 times)
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
cannot recognize Spectre primitive "diode"
Jan 02nd, 2007, 6:06am
 
Hello

ncelab cannot recognize diode instantination.

My instantiation looks like this

diode D1 (A, B);

After elaboration I see the following message in HE window:

ncelab: *E,CUCFUN: instance 'D1' of the unit 'diode' is unresolved in 'PROJ.SCH:verilogams'.

but diode is Spectre primitive like resistor or capacitor.

Why the last two primitives are recognized, but diode - not.

Regards.

Pavel.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: cannot recognize Spectre primitive "diode"
Reply #1 - Jan 2nd, 2007, 8:09am
 
Per theVerilog-AMS LRM, diode (as well as jfet, mosfet, bjt) require the use of a .model card in most Spice simulators, and thus you can't instantiate them directly.  Resistor and capacitor are allowed, not because they are Spectre primitives, but because the LRM says that these Spice primitives shall be recognized by the Verilog-AMS simulator.

I don't know how you get a model card into your circuit.  It's outside the LRM, in terms of how you direct your particular simulator to read spice/spectre library files.

Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
Re: cannot recognize Spectre primitive "diode"
Reply #2 - Jan 3rd, 2007, 1:16am
 
Geoffrey,

Thank you for hint. I found it. In Cadence-AMS design flow one can include models
using AMS plug-in of Hierarchy Editor (HE->AMS->Analog Models...).
But I found only our technology specific models (with names that differ from ones from Spectre device manual).
I don't know where are situated generic models.

Regards.

Pavel.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: cannot recognize Spectre primitive "diode"
Reply #3 - Jan 4th, 2007, 5:39am
 
Can you make up your own models?  Eg, look at how the technology-specific models are added in and add a pointer to a local file that defines your own model.

In Spectre format, something like:
model mydio diode
is probably sufficient; you can add is, cjo, etc. when you're ready.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
Re: cannot recognize Spectre primitive "diode"
Reply #4 - Jan 9th, 2007, 6:33am
 
I found only models based on diode or bsim3v3 (for semiconductors).
But if we see Spectre manual, we could find about 15 different mos models.
My question is just for curiosity: if exist somewhere in Cadence installation some directory with all generic models,
enumerated in Spectre manual.

Regards.

Pavel.
Back to top
 
 
View Profile   IP Logged
ACWWong
Community Fellow
*****
Offline



Posts: 539
Oxford, UK
Re: cannot recognize Spectre primitive "diode"
Reply #5 - Jan 9th, 2007, 9:38am
 
Doing spectre -h components will give you all the list of available built in models.
Doing say spectre -h diode will give you all the default parmaters for a diode. you can do the same on the other components.

In spectre you can just add a blank model file, and it'll pick up the default values.
so you could create mydiodemodels.scs which is uses default values with:

model modelName diode

cheers
aw
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: cannot recognize Spectre primitive "diode"
Reply #6 - Jan 17th, 2007, 10:34pm
 
There are a bunch of sample model files in:

<ICinstDir>/tools/dfII/samples/artist/models/spectre

but none for diodes.

Also, look in:

<ICinstDir>/tools/dfII/samples/artist/spectreExamples

there are some diode models in some of the underlying examples (look in the files in the detector subdirectory).

Regards,

Andrew.
Back to top
 
 
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.