Commentary

This commit is contained in:
Wilson Snyder 2009-04-03 17:26:34 -04:00
parent eb072da81c
commit 9b2004d6b7
2 changed files with 6 additions and 2 deletions

View File

@ -1171,10 +1171,14 @@ or `ifdef's may break other tools.
=item `__FILE__
The __FILE__ define expands to the current filename, like C++'s __FILE__.
This is in the draft SystemVerilog 2009 standard (but supported by
Verilator since 2006!)
=item `__LINE__
The __LINE__ define expands to the current line number, like C++'s __LINE__.
The __LINE__ define expands to the current line number, like C++'s
__LINE__. This is in the draft SystemVerilog 2009 standard (but supported
by Verilator since 2006!)
=item `error I<string>

View File

@ -9,7 +9,7 @@ module t (
);
neg neg (.clk(CLK));
glbl glbl;
glbl glbl ();
initial RESET = 1'b1;
always @ (posedge CLK)