Erratta on delay3->delay_value definition in BNF

From: Adam Krolnik (adamk@cyrix.com)
Date: Tue Jul 14 1998 - 21:14:19 PDT


Good morning,

<p>I have noticed that the BNF doesn't properly describe how delays can be specified.

delay3 which is used for continuous assignment delays and net delay,
consists of variants of delay_value.

Delay_value allows for unsigned numbers, parameters, or constant_mintypmax_expressions.

However none of these accounts for the general "expression". Mintypemax degenerates
to expression, however delay_value calls for a constant version.

Here is an example that uses dynamic delays.

module test;

wire a;
integer i, b;
initial i = 10;

<p>initial $monitor("time %0d, %0d -> %0d", $time,i,a);

initial begin
b = 0;
b = #20 1;
  for(i=10;i<200;i = i + 20)
    #100;
$finish;
end

assign #(i) a = b ? ~a : 0;
endmodule

<p><p> Adam Krolnik
      Verification Engineer
      Cyrix - NSM.
      Richardson TX. 75085



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:52:57 PDT and
sponsored by Boyd Technology, Inc.