mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
Make genvar a signed type
This commit is contained in:
parent
477e566e8d
commit
c27ab609fa
1 changed files with 1 additions and 0 deletions
|
@ -517,6 +517,7 @@ wire_type_token:
|
||||||
TOK_GENVAR {
|
TOK_GENVAR {
|
||||||
astbuf3->type = AST_GENVAR;
|
astbuf3->type = AST_GENVAR;
|
||||||
astbuf3->is_reg = true;
|
astbuf3->is_reg = true;
|
||||||
|
astbuf3->is_signed = true;
|
||||||
astbuf3->range_left = 31;
|
astbuf3->range_left = 31;
|
||||||
astbuf3->range_right = 0;
|
astbuf3->range_right = 0;
|
||||||
} |
|
} |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue