diff --git a/bin/verilator b/bin/verilator index 4e130ba74..ae8a72f6e 100755 --- a/bin/verilator +++ b/bin/verilator @@ -1012,20 +1012,20 @@ includes signed numbers, "always @*", comma separated sensitivity lists, generate statements, multidimensional arrays, localparam, and C-style declarations inside port lists. -=head1 VERILOG 2005 (IEEE 1364-2008) SUPPORT +=head1 VERILOG 2005 (IEEE 1364-2005) SUPPORT Verilator supports the `begin_keywords and `end_keywords compiler directives. Verilator partially supports the uwire keyword. -=head1 SYSTEMVERILOG (IEEE 1800-2008) SUPPORT +=head1 SYSTEMVERILOG (IEEE 1800-2005) SUPPORT Verilator currently has very minimal support for SystemVerilog. As SystemVerilog features enter common usage they will be added. Contact the author if a feature you need is missing. -Verilator implements the full SystemVerilog 1800-2008 preprocessor, +Verilator implements the full SystemVerilog 1800-2005 preprocessor, including function call-like preprocessor defines. Verilator supports ==? and !=? operators, $bits, $countones, $error, diff --git a/src/verilog.l b/src/verilog.l index 381ba4dbc..dd2e35ed8 100644 --- a/src/verilog.l +++ b/src/verilog.l @@ -727,8 +727,8 @@ escid \\[^ \t\f\r\n]+ "`begin_keywords"[ \t]*\"1364-1995\" { yy_push_state(V95); V3Read::pushBeginKeywords(YY_START);} "`begin_keywords"[ \t]*\"1364-2001\" { yy_push_state(V01); V3Read::pushBeginKeywords(YY_START);} "`begin_keywords"[ \t]*\"1364-2001-noconfig\" { yy_push_state(V01); V3Read::pushBeginKeywords(YY_START);} - "`begin_keywords"[ \t]*\"1364-2008\" { yy_push_state(V05); V3Read::pushBeginKeywords(YY_START);} - "`begin_keywords"[ \t]*\"1800-2008\" { yy_push_state(S05); V3Read::pushBeginKeywords(YY_START);} + "`begin_keywords"[ \t]*\"1364-2005\" { yy_push_state(V05); V3Read::pushBeginKeywords(YY_START);} + "`begin_keywords"[ \t]*\"1800-2005\" { yy_push_state(S05); V3Read::pushBeginKeywords(YY_START);} "`end_keywords" { yy_pop_state(); if (!V3Read::popBeginKeywords()) yyerrorf("`end_keywords when not inside `begin_keywords block"); } }