The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> How to calculate the freq of the signal with vams? https://designers-guide.org/forum/YaBB.pl?num=1213097405 Message started by icsoul on Jun 10th, 2008, 4:30am |
Title: How to calculate the freq of the signal with vams? Post by icsoul on Jun 10th, 2008, 4:30am Is there one command for this function directly? If not, how to implement this function simply? Thanks. |
Title: Re: How to calculate the freq of the signal with v Post by Stefan on Jun 10th, 2008, 4:45am Frequency is the inverse of the period. A period is defined as the delay between two positive crossings of a signal through a specified threshold (usually in the middle of the sine-wave). So - what's the question ? btw. maybe you should check the sourcecode section of designersguide :) |
Title: Re: How to calculate the freq of the signal with v Post by icsoul on Jun 10th, 2008, 5:43am Stefan wrote on Jun 10th, 2008, 4:45am:
Thank you, Stefan I'm newbie to veriloga. I do calculate the period, but an error is always be reported :(. Maybe the description method is not ritht. |
Title: Re: How to calculate the freq of the signal with v Post by Geoffrey_Coram on Jun 13th, 2008, 6:58am Stefan wrote on Jun 10th, 2008, 4:45am:
Hint hint! There's a model for "Period measurement" -- click "Verilog-AMS in the upper right of these pages. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |