On Wed, 3 Aug 2005 14:54:06 +0530, "Srinivasan Venkataramanan"
<_spam.co.in> wrote:
>Hi Jonathan,
> I liked your idea of "wait for 0 ns inside that procdure", sounds
>(to me) similar to the idea of a postponed process, if I'm correct here,
Given that the procedure is passive, I guess that's right. But the
procedure is very likely to be called from a process that is *not*
passive, so I personally prefer to be explicit.
Of course, the "wait for 0 ns" may not necessarily be appropriate.
I was thinking about situations where, for example, the preceding
procedure call might have asserted a notification signal; the
"wait for 0 ns" gives a delta for that signal to update before
testing it. There are many tricks that you can play here -
waiting on 'transaction is useful too, although you can't
do it on signal-class arguments
>then how about adding it as part of VHDL-200X - a "postponed procedure" -
>just curious, of-course we need to see if there is a ROI in defining it as
>part of language - especially given that it is easily do-able today.
Well.... at risk of starting a flame war.... one of the joys of
VHDL is its very simple event processing model, unlike A Certain
Alternative HDL that has an event queue model of baroque
complexity, provided because people *think* they want all this
fussy stuff like postponed processes (and Preponed sampling, and
Reactive and Re-Inactive processing, and.... oh, please, don't
get me started! It raises my blood pressure too much!).
I would *always* prefer to find a simple explicit solution in
preference to using obscure stuff like postponed processes. So
the notion of a "postponed procedure" horrifies me. It sounds
just too much like a SystemVerilog "program" for comfort

--
Jonathan Bromley, Consultant
DOULOS - Developing Design Know-how
VHDL, Verilog, SystemC, Perl, Tcl/Tk, Verification, Project Services
Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, BH24 1AW, UK
Tel: +44 (0)1425 471223 mail:
Fax: +44 (0)1425 471573 Web:
http://www.doulos.com
The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.