3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 14:13:23 +00:00

Modified errors into warnings

No longer false warnings for memories and assertions
This commit is contained in:
Udi Finkelstein 2018-06-05 17:44:24 +03:00 committed by Unknown
parent 80d9d15f1c
commit 73d426bc87
5 changed files with 79 additions and 11 deletions

View file

@ -548,6 +548,7 @@ task_func_decl:
AstNode *outreg = new AstNode(AST_WIRE);
outreg->str = *$6;
outreg->is_signed = $4;
outreg->is_reg = true;
if ($5 != NULL) {
outreg->children.push_back($5);
outreg->is_signed = $4 || $5->is_signed;