On Thu, 2008-03-27 at 17:17 -0700, Martin O'Leary wrote: > oleary>final_step is not a block - it is a statement allowed in the > analog block (which is part of the problem I think) Well, final_step is an event, which you associate with a block: @(final_step) begin if (crossings < 2) $strobe("Could not measure period."); else $strobe("period = %g, crossings = %d", latest-previous, crossings); end [...] > oleary>this looks pretty complex and maybe confusing to explain. Also it > doesn't seem to cover the case of a $finish in a digital block - it > might be better to have a final block like system verilog does with > clear restrictions on what analog statements are allowed in it (e.g. not > contribution statements) There should be no difference between a $finish on the digital side and on the analogic side - IMHO. > But maybe this is becoming too implementation specific. Fully agreed Dave. The important question is: do we execute final_step blocks or not ? Xav -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Fri Mar 28 02:10:25 2008
This archive was generated by hypermail 2.1.8 : Fri Mar 28 2008 - 02:10:41 PDT