mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-25 01:55:33 +00:00
Allow combination of rand and const modifiers
This commit is contained in:
parent
699a98b265
commit
1096b969ef
3 changed files with 19 additions and 2 deletions
|
@ -651,8 +651,16 @@ wire_type_signedness:
|
|||
%empty;
|
||||
|
||||
wire_type_const_rand:
|
||||
TOK_CONST { current_wire_const = true; } |
|
||||
TOK_RAND { current_wire_rand = true; } |
|
||||
TOK_RAND TOK_CONST {
|
||||
current_wire_rand = true;
|
||||
current_wire_const = true;
|
||||
} |
|
||||
TOK_CONST {
|
||||
current_wire_const = true;
|
||||
} |
|
||||
TOK_RAND {
|
||||
current_wire_rand = true;
|
||||
} |
|
||||
%empty;
|
||||
|
||||
opt_wire_type_token:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue