diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-03-02 16:32:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-02 16:32:58 -0800 |
commit | 52f80718a780535aefcc7858152eb0fdfc0aafc4 (patch) | |
tree | e87e3a2c72226e9c7cfcc00138cf9a650b017c1f | |
parent | dddf837f69ba8ec54540b14d2328604c6d871a40 (diff) | |
parent | 3a51714451dbd5a0aec5d5167429f899950f2c4e (diff) | |
download | yosys-52f80718a780535aefcc7858152eb0fdfc0aafc4.tar.gz yosys-52f80718a780535aefcc7858152eb0fdfc0aafc4.tar.bz2 yosys-52f80718a780535aefcc7858152eb0fdfc0aafc4.zip |
Merge pull request #848 from YosysHQ/clifford/fix763
Fix error for wire decl in always block, fixes 763
-rw-r--r-- | frontends/ast/genrtlil.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/ast/genrtlil.cc b/frontends/ast/genrtlil.cc index 2d591b29d..13383845a 100644 --- 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: |