diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-11-11 00:02:28 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-11-11 00:39:45 +0100 |
commit | e5b974fa2af7ee372eb7ee4f59322099ee3c1bf9 (patch) | |
tree | dba5018d12a4bca14c5c2adef8adaca1aa0dbebe /passes/opt/opt_muxtree.cc | |
parent | 0fd3ebdb23dd1116a37c5277596d367487a283fb (diff) | |
download | yosys-e5b974fa2af7ee372eb7ee4f59322099ee3c1bf9.tar.gz yosys-e5b974fa2af7ee372eb7ee4f59322099ee3c1bf9.tar.bz2 yosys-e5b974fa2af7ee372eb7ee4f59322099ee3c1bf9.zip |
Cleanups and bugfixes in response to new internal cell checker
Diffstat (limited to 'passes/opt/opt_muxtree.cc')
-rw-r--r-- | passes/opt/opt_muxtree.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/opt/opt_muxtree.cc b/passes/opt/opt_muxtree.cc index 49b72f15b..47100869c 100644 --- a/passes/opt/opt_muxtree.cc +++ b/passes/opt/opt_muxtree.cc @@ -225,9 +225,9 @@ struct OptMuxtreeWorker mi.cell->connections["\\S"] = new_sig_s; if (new_sig_s.width == 1) { mi.cell->type = "$mux"; - mi.cell->attributes.erase("\\S_WIDTH"); + mi.cell->parameters.erase("\\S_WIDTH"); } else { - mi.cell->attributes["\\S_WIDTH"] = RTLIL::Const(new_sig_s.width); + mi.cell->parameters["\\S_WIDTH"] = RTLIL::Const(new_sig_s.width); } } } |