projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
477e566
)
Make genvar a signed type
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 20 Jun 2019 23:04:12 +0000
(16:04 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 20 Jun 2019 23:04:12 +0000
(16:04 -0700)
frontends/verilog/verilog_parser.y
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_parser.y
b/frontends/verilog/verilog_parser.y
index 4895d03020e2a0be281ff6a0b77875ab9fe7172c..d89b2dc88e74575e0fc29aef42442f60371fbab1 100644
(file)
--- a/
frontends/verilog/verilog_parser.y
+++ b/
frontends/verilog/verilog_parser.y
@@
-517,6
+517,7
@@
wire_type_token:
TOK_GENVAR {
astbuf3->type = AST_GENVAR;
astbuf3->is_reg = true;
+ astbuf3->is_signed = true;
astbuf3->range_left = 31;
astbuf3->range_right = 0;
} |