The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> how to delay a signal
https://designers-guide.org/forum/YaBB.pl?num=1414594370

Message started by jagadeesh on Oct 29th, 2014, 7:52am

Title: how to delay a signal
Post by jagadeesh on Oct 29th, 2014, 7:52am

how to delay a signal dynamically...suppose some integer is there and depending on its value..i have to delay input signal...

Title: Re: how to delay a signal
Post by Geoffrey_Coram on Nov 13th, 2014, 10:18am

Have you looked at absdelay()?  It allows a variable delay, as long as you specify the third argument, which is the maximum delay.

Title: Re: how to delay a signal
Post by Ken Kundert on Nov 14th, 2014, 5:21am

If the value you want to delay over time is piecewise constant, you should use the transition function to delay it. It is a much lighter function than $absdelay and has better error control. If the value varies continuously with time, then Geoffrey's suggestion of $absdelay() is best.

-Ken

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