mirror of
https://github.com/verilator/verilator.git
synced 2025-01-22 14:24:18 +00:00
Commentary
This commit is contained in:
parent
eb072da81c
commit
9b2004d6b7
@ -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>
|
||||
|
||||
|
@ -9,7 +9,7 @@ module t (
|
||||
);
|
||||
|
||||
neg neg (.clk(CLK));
|
||||
glbl glbl;
|
||||
glbl glbl ();
|
||||
|
||||
initial RESET = 1'b1;
|
||||
always @ (posedge CLK)
|
||||
|
Loading…
Reference in New Issue
Block a user