The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 7th, 2024, 12:02pm
Pages: 1
Send Topic Print
Compact Modeling extension (Read 64 times)
A_Programmer
Junior Member
**
Offline



Posts: 13

Compact Modeling extension
Jun 19th, 2006, 6:43pm
 
I am using HSPICE Y-2006.03. Does it support the compact modeling extension? If not, is there any way I can output variables like gm, gd, and etc? Thanks a lot.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: Compact Modeling extension
Reply #1 - Jun 20th, 2006, 7:42am
 
I believe the compiler supports it, but I forget the syntax for accessing (plotting) the values from within the simulator.

You could probably output the values with $strobe, of course, you'll want to be sure that ddx() works if you want gm.
Back to top
 
 

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



Posts: 13

Re: Compact Modeling extension
Reply #2 - Jun 22nd, 2006, 1:39am
 
Since some of my analog functions take many input parameters (like 20), is there a way to implement some of them as "global variables" instead of passing 20 input variables to a function?  Thanks a lot.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: Compact Modeling extension
Reply #3 - Jun 22nd, 2006, 5:32am
 
A colleague at my company noticed that the "analog functions" in Verilog-AMS were strange beasts -- you have to declare them inside the module, but they don't have access to any of the other module-scope items, such as parameters.  So, I don't have a good suggestion for you.  I know some people use macros instead of functions because they find V-AMS functions lacking.
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.