Fixed bug (typo) in passes/opt/opt_const.cc
authorClifford Wolf <clifford@clifford.at>
Sat, 22 Feb 2014 16:07:22 +0000 (17:07 +0100)
committerClifford Wolf <clifford@clifford.at>
Sat, 22 Feb 2014 16:07:22 +0000 (17:07 +0100)
passes/opt/opt_const.cc

index f611d72115570ef2a6fa924c92048a2da07cc441..ad9a71b15d5d3c72827088986c5e309c36f67e40 100644 (file)
@@ -342,7 +342,7 @@ void replace_const_cells(RTLIL::Design *design, RTLIL::Module *module, bool cons
                                cell->parameters.erase("\\WIDTH");
                                cell->type = "$or";
                        } else
-                               cell->type = "$_or_";
+                               cell->type = "$_OR_";
                        OPT_DID_SOMETHING = true;
                        did_something = true;
                        goto next_cell;