Re: absdelay and changing td

From: Shalom Bresticker <Shalom.Bresticker_at_.....>
Date: Thu Mar 03 2005 - 06:55:51 PST
In some old documentation I have, it says,

"The optional maxdelay argument is both a flag and the maximum allowed delay.
If maxdelay is absent, the delay td is held constant at the value from the
module's first evaluation.
Attempts to change it during an analysis are ignored...
If maxdelay is present, then the delay td is allowed to vary between zero and
maxdelay."

So it sounds like an error in the LRM.
I would speculate an error in editing a change to the text.

Shalom


"Geoffrey.Coram" wrote:

> A user here was trying to use the absdelay() function
> and I am now trying to make sense of what the AMS LRM
> has to say about absdelay() in Section 4.4.8:
>
>   absdelay() implements the absolute transport delay for
>   continuous waveforms (use the transition operator to
>   delay discrete-valued waveforms). The general form is
>       absdelay( input, td [, maxdelay ] )
>   input is delayed by the amount td. In all cases td shall
>   be a positive number. If the optional maxdelay is specified,
>   then td can vary; but it shall be an error if it becomes
>   larger than maxdelay. If maxdelay is not specified, changes
>   to td shall be ignored. If maxdelay is specified, changes to
>   td are ignored and the initial value of maxdelay is used.
>
> Please focus on the last two sentences.  It appears to me
> that changes to "td" are *always* ignored (except that if
> td > maxdelay, you get an error).
>
> Can someone please explain the intent?  Why not have "td"
> be a constant expression and dispense with "maxdelay"?
>
> "the initial value of maxdelay" is odd wording, also, since
> maxdelay is required to be a constant expression.
>
> -Geoffrey

--
Shalom Bresticker                        Shalom.Bresticker @freescale.com
Design & Verification Methodology                    Tel: +972 9  9522268
Freescale Semiconductor Israel, Ltd.                 Fax: +972 9  9522890
POB 2208, Herzlia 46120, ISRAEL                     Cell: +972 50 5441478

[ ]Freescale Internal Use Only      [ ]Freescale Confidential Proprietary
Received on Thu Mar 3 06:56:07 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2005 - 06:56:09 PST