aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ilang
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-31 16:38:54 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-31 16:38:54 +0200
commitcdae8abe16847c533171fed111beea7b52202cce (patch)
treebf8dddb4a4ca4d70c83603ef61b2d22cb95d153a /frontends/ilang
parentb5a9e51b966abdfedc9309defa79b5141928e84a (diff)
downloadyosys-cdae8abe16847c533171fed111beea7b52202cce.tar.gz
yosys-cdae8abe16847c533171fed111beea7b52202cce.tar.bz2
yosys-cdae8abe16847c533171fed111beea7b52202cce.zip
Renamed port access function on RTLIL::Cell, added param access functions
Diffstat (limited to 'frontends/ilang')
-rw-r--r--frontends/ilang/parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y
index 67cc7da78..f696140eb 100644
--- a/frontends/ilang/parser.y
+++ b/frontends/ilang/parser.y
@@ -207,9 +207,9 @@ cell_body:
delete $5;
} |
cell_body TOK_CONNECT TOK_ID sigspec EOL {
- if (current_cell->has($3))
+ if (current_cell->hasPort($3))
rtlil_frontend_ilang_yyerror(stringf("ilang error: redefinition of cell port %s.", $3).c_str());
- current_cell->set($3, *$4);
+ current_cell->setPort($3, *$4);
delete $4;
free($3);
} |