The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 1:33am
Pages: 1
Send Topic Print
VerilogA Syntax Question (Read 2164 times)
neoflash
Community Fellow
*****
Offline

Mixed-Signal
Designer

Posts: 397

VerilogA Syntax Question
Apr 01st, 2009, 6:17pm
 
I read a code with:

(* desc="" *) integer AAA;

What is the meaning of (* desc="" *) ?

Thanks,
Neoflash
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: VerilogA Syntax Question
Reply #1 - Apr 2nd, 2009, 4:59am
 
(* whatever *) is an "attribute" which is sort of like a magic comment; simulators that understand it can use it as a hint to improve performance, and those that don't should just ignore it.  The results of simulation should be the same.

desc and units are special attributes for Spice-like simulators that support Verilog-A; they tag the associated variable as operating-point information.  Spice built-in models (like BSIM3) have op-pt info such as gm, gds, etc. that you can print out or plot; these attributes give the same capability to Verilog-A modules.
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.