The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 12:52pm
Pages: 1
Send Topic Print
Is there a identifier or something like that to access the frequency in .ac ? (Read 2669 times)
mowiehowie
Junior Member
**
Offline



Posts: 26

Is there a identifier or something like that to access the frequency in .ac ?
Sep 08th, 2010, 10:39am
 
Hi there,

I'm wondering if there's a way to identify the frequency spectre is sweeping when I run a .ac analysis. Just as I can get the $temperature  in .dc sweep,  how could I get the frequency ?
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: Is there a identifier or something like that to access the frequency in .ac ?
Reply #1 - Sep 8th, 2010, 11:58am
 
There's nothing officially in the Verilog-AMS language to get the frequency -- partly to avoid people trying to make a model that depends on frequency:

V(out) <+ I(out) * $frequency * cap; // nonsense

I don't know if Spectre provides a way to print the frequency.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
pancho_hideboo
Senior Fellow
******
Offline



Posts: 1424
Real Homeless
Re: Is there a identifier or something like that to access the frequency in .ac ?
Reply #2 - Sep 9th, 2010, 3:52am
 
Back to top
 
 
View Profile WWW Top+Secret Top+Secret   IP Logged
mowiehowie
Junior Member
**
Offline



Posts: 26

Re: Is there a identifier or something like that to access the frequency in .ac ?
Reply #3 - Sep 9th, 2010, 10:54am
 
Thanks for the answers.

pancho, it's a very nice idea. maybe its gonna fit.
Back to top
 
 
View Profile   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.