3
0
Fork 0
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:
Clifford Wolf 2015-11-11 10:54:35 +01:00
parent d98d99aec6
commit 34f2b84fb6
4 changed files with 39 additions and 5 deletions

View file

@ -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 {