projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce6695e
)
Fix error for wire decl in always block, fixes #763
author
Clifford Wolf
<clifford@clifford.at>
Sat, 2 Mar 2019 19:40:57 +0000
(11:40 -0800)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 2 Mar 2019 19:56:44 +0000
(11:56 -0800)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/ast/genrtlil.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/genrtlil.cc
b/frontends/ast/genrtlil.cc
index 2d591b29d31b8294925afc770838437d78fb5f7d..13383845a40f21ad5630398f841f2f55b5b618b8 100644
(file)
--- a/
frontends/ast/genrtlil.cc
+++ b/
frontends/ast/genrtlil.cc
@@
-544,7
+544,11
@@
struct AST_INTERNAL::ProcessGenerator
break;
case AST_WIRE:
- log_file_error(ast->filename, ast->linenum, "Found wire declaration in block without label!\n");
+ log_file_error(ast->filename, ast->linenum, "Found reg declaration in block without label!\n");
+ break;
+
+ case AST_ASSIGN:
+ log_file_error(ast->filename, ast->linenum, "Found continous assignment in always/initial block!\n");
break;
case AST_PARAMETER: