diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-08-24 15:30:08 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-08-24 15:30:08 +0200 |
commit | cd18235f30221ea2a5d51ab8b1d2639f51f1e99d (patch) | |
tree | 7484b4c64dd6d1792794976f11795c064b376a35 /frontends | |
parent | 6523023645bd2227cac68f46364dff3867d9641a (diff) | |
download | yosys-cd18235f30221ea2a5d51ab8b1d2639f51f1e99d.tar.gz yosys-cd18235f30221ea2a5d51ab8b1d2639f51f1e99d.tar.bz2 yosys-cd18235f30221ea2a5d51ab8b1d2639f51f1e99d.zip |
Added SV "restrict" keyword
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/verilog/verilog_lexer.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/verilog/verilog_lexer.l b/frontends/verilog/verilog_lexer.l index aafdbbf03..0c974d392 100644 --- a/frontends/verilog/verilog_lexer.l +++ b/frontends/verilog/verilog_lexer.l @@ -177,7 +177,8 @@ YOSYS_NAMESPACE_END "assert" { if (formal_mode) return TOK_ASSERT; SV_KEYWORD(TOK_ASSERT); } "assume" { if (formal_mode) return TOK_ASSUME; SV_KEYWORD(TOK_ASSUME); } -"predict" { if (formal_mode) return TOK_PREDICT; NON_KEYWORD(); } +"restrict" { if (formal_mode) return TOK_ASSUME; SV_KEYWORD(TOK_ASSUME); } +"predict" { if (formal_mode) return TOK_PREDICT; NON_KEYWORD(); } "property" { if (formal_mode) return TOK_PROPERTY; SV_KEYWORD(TOK_PROPERTY); } "logic" { SV_KEYWORD(TOK_REG); } "bit" { SV_KEYWORD(TOK_REG); } |