The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Compact Modeling extension
https://designers-guide.org/forum/YaBB.pl?num=1150767818

Message started by A_Programmer on Jun 19th, 2006, 6:43pm

Title: Compact Modeling extension
Post by A_Programmer on 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.

Title: Re: Compact Modeling extension
Post by Geoffrey_Coram on 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.

Title: Re: Compact Modeling extension
Post by A_Programmer on 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.

Title: Re: Compact Modeling extension
Post by Geoffrey_Coram on 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.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.