diff --git a/bin/verilator b/bin/verilator index 5eb6fb6d4..dff27a315 100755 --- a/bin/verilator +++ b/bin/verilator @@ -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 diff --git a/test_regress/t/t_trace_public.v b/test_regress/t/t_trace_public.v index 5f340fc57..d802ad91f 100644 --- a/test_regress/t/t_trace_public.v +++ b/test_regress/t/t_trace_public.v @@ -9,7 +9,7 @@ module t ( ); neg neg (.clk(CLK)); - glbl glbl; + glbl glbl (); initial RESET = 1'b1; always @ (posedge CLK)