Example of "ambiguous" delay expression


Subject: Example of "ambiguous" delay expression
From: Steven Sharp (sharp@cadence.com)
Date: Mon Nov 11 2002 - 10:48:11 PST


module top ();
reg r;
initial
begin
        r = #100 - 1 - 1;
        $display(r);
        r = #(100 - 1) - 1;
        $display(r);
        r = #100 (- 1 - 1);
        $display(r);
end
endmodule

Output:
0
1
0



This archive was generated by hypermail 2b28 : Mon Nov 11 2002 - 10:52:38 PST