aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/genrtlil.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-11-11 10:54:35 +0100
committerClifford Wolf <clifford@clifford.at>2015-11-11 10:54:35 +0100
commit34f2b84fb60445210ff9ffdf33b90ef6f50b91ed (patch)
treed9df1a940c0c2e72e0514939e691e09f0147c710 /frontends/ast/genrtlil.cc
parentd98d99aec6049d981abb2480cf942947f3f23989 (diff)
downloadyosys-34f2b84fb60445210ff9ffdf33b90ef6f50b91ed.tar.gz
yosys-34f2b84fb60445210ff9ffdf33b90ef6f50b91ed.tar.bz2
yosys-34f2b84fb60445210ff9ffdf33b90ef6f50b91ed.zip
Fixed handling of parameters and localparams in functions
Diffstat (limited to 'frontends/ast/genrtlil.cc')
-rw-r--r--frontends/ast/genrtlil.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/ast/genrtlil.cc b/frontends/ast/genrtlil.cc
index fd242fe2e..87e8379e9 100644
--- a/frontends/ast/genrtlil.cc
+++ b/frontends/ast/genrtlil.cc
@@ -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;