mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Fixed handling of parameters and localparams in functions
This commit is contained in:
parent
d98d99aec6
commit
34f2b84fb6
4 changed files with 39 additions and 5 deletions
|
@ -963,7 +963,7 @@ simple_behavioral_stmt:
|
|||
|
||||
// this production creates the obligatory if-else shift/reduce conflict
|
||||
behavioral_stmt:
|
||||
defattr | assert | wire_decl |
|
||||
defattr | assert | wire_decl | param_decl | localparam_decl |
|
||||
non_opt_delay behavioral_stmt |
|
||||
simple_behavioral_stmt ';' | ';' |
|
||||
hierarchical_id attr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue