The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 23rd, 2024, 3:23pm
Pages: 1
Send Topic Print
operating point info in MDL? (Read 3370 times)
topquark
Community Member
***
Offline



Posts: 61
Thames Valley, UK
operating point info in MDL?
Feb 01st, 2007, 7:37am
 
Hello folks,

While I'm able to plot all sorts of expressions(using calculator functions) defined in my MDL script, I find it puzzling to get operating point info like gm, Vth etc..
While these are present in the psf dump of the Analog Design Environment, I can't see a similar thing in the .raw o/p of the MDL

Plz share any ideas people!

Thanks,
Gau
Back to top
 
 
View Profile   IP Logged
topquark
Community Member
***
Offline



Posts: 61
Thames Valley, UK
Re: operating point info in MDL?
Reply #1 - Feb 3rd, 2007, 4:24am
 
well, i know it's weekend..but, just in-case any of you scripting experts logged in  :P
care to help me out!
This thing's been bugging me..

The idea is to be able to plot, say threshold voltage of a device Vth as a function of sweeping supply VDD. I'm aware I can do this as a paramteric analysis in ADE but, I'm hampered by limited measurement capabilites therein.  
So, I write this MDL script to do some measurements involving VDD as a variable which keeps changing during each sweep.

Have you folks used a syntax to get a device's operating point info like Vth, gm in MDL?
Appreciate your comments

Ciao
Gau
Back to top
 
 
View Profile   IP Logged
Scott Flinchbaugh
Junior Member
**
Offline



Posts: 14

Re: operating point info in MDL?
Reply #2 - Feb 5th, 2007, 7:04pm
 
Gau,

There are a couple of ways to accomplish this.

The most desired way is to embed this information into your "alias measurement" with statements such as:

export real myvth = <devicename>:vth

Or in a more generic fashion:
export real <MDLparamname> = <devicename>:<device_parametername>

To obtain the operating point data for a device, you simply need to access the device's op output parameter.
This will place the MDL variable "myvth" into the .measure file generated by MDL and will also place it
into the psf files generated by MDL.

Another way to do this is to use the Spectre save statement here.  The syntax is a bit different:
save <devicename>:<device_parameter>

Hope this helps,
-scott
Back to top
 
 
View Profile flinchba   IP Logged
topquark
Community Member
***
Offline



Posts: 61
Thames Valley, UK
Re: operating point info in MDL?
Reply #3 - Feb 6th, 2007, 12:35am
 
Hey Scott
Thanks pal.. that was very helpful indeed!!

Just another particular though-
For e.g you want vth of a pmos device MP1, you will have to write the MDL statement as

export real myvth = MP1.m1 : vth

Without .m1 , the script still runs without errors  but  doesn't output vth of the required device.

The same applies to even the save statement in spectre.

Cheers,
Gau
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: operating point info in MDL?
Reply #4 - Feb 6th, 2007, 6:53am
 
topquark wrote on Feb 6th, 2007, 12:35am:
export real myvth = MP1.m1 : vth

Without .m1 , the script still runs without errors  but  doesn't output vth of the required device.


That's almost certainly because MP1 is a subckt in your library, and the actual device is "m1"
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.