The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 21st, 2024, 7:55am
Pages: 1
Send Topic Print
Is it possible to make verilog-A/AMS modules analysis-sensitive? (Read 2085 times)
Aigneryu
Senior Member
****
Offline



Posts: 102

Is it possible to make verilog-A/AMS modules analysis-sensitive?
Mar 29th, 2009, 6:22am
 
Hi,

I have some frequency meters in my testbench for transient simulation; however, these frequency meters have hidden states,  and I want to skip the part with hidden states in them during the PSS simulation. Is it possible?


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



Posts: 1999
Massachusetts, USA
Re: Is it possible to make verilog-A/AMS modules analysis-sensitive?
Reply #1 - Mar 30th, 2009, 8:51am
 
How about this?
Code:
if (analysis("pss", "pac", "pnoise")) begin
  // set freq meter variables to 0 to avoid hidden state
end else begin
  // frequency meter code
end 

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.