The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Is there a identifier or something like that to access the frequency in .ac ?
https://designers-guide.org/forum/YaBB.pl?num=1283967544

Message started by mowiehowie on Sep 8th, 2010, 10:39am

Title: Is there a identifier or something like that to access the frequency in .ac ?
Post by mowiehowie on Sep 8th, 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 ?

Title: Re: Is there a identifier or something like that to access the frequency in .ac ?
Post by Geoffrey_Coram on 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.

Title: Re: Is there a identifier or something like that to access the frequency in .ac ?
Post by pancho_hideboo on Sep 9th, 2010, 3:52am

See http://www.designers-guide.org/Forum/YaBB.pl?num=1227194040/3#3

Title: Re: Is there a identifier or something like that to access the frequency in .ac ?
Post by mowiehowie on Sep 9th, 2010, 10:54am

Thanks for the answers.

pancho, it's a very nice idea. maybe its gonna fit.

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