3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-29 10:49:25 +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

@ -520,6 +520,11 @@ struct AST_INTERNAL::ProcessGenerator
log_error("Found wire declaration in block without label at at %s:%d!\n", ast->filename.c_str(), ast->linenum);
break;
case AST_PARAMETER:
case AST_LOCALPARAM:
log_error("Found parameter declaration in block without label at at %s:%d!\n", ast->filename.c_str(), ast->linenum);
break;
case AST_TCALL:
case AST_FOR:
break;