aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-05-07 14:35:40 +0200
committerClifford Wolf <clifford@clifford.at>2013-05-07 14:35:40 +0200
commitb56e06d2f518b79481309636c57fa40500d425e8 (patch)
tree842793a7e04372e72322e5407bda5fc75aa16fe8 /frontends
parent595db0d7b963f8ce11321efeb87767bc9ee2fc4a (diff)
downloadyosys-b56e06d2f518b79481309636c57fa40500d425e8.tar.gz
yosys-b56e06d2f518b79481309636c57fa40500d425e8.tar.bz2
yosys-b56e06d2f518b79481309636c57fa40500d425e8.zip
Added support for verilog === operator
Diffstat (limited to 'frontends')
-rw-r--r--frontends/verilog/lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/verilog/lexer.l b/frontends/verilog/lexer.l
index 2a6c44171..f899191bb 100644
--- a/frontends/verilog/lexer.l
+++ b/frontends/verilog/lexer.l
@@ -233,6 +233,8 @@ supply1 { return TOK_SUPPLY1; }
"<=" { return OP_LE; }
">=" { return OP_GE; }
+"===" { return OP_EQ; }
+
/* "~&" { return OP_NAND; } */
/* "~|" { return OP_NOR; } */
"~^" { return OP_XNOR; }