Add $alu to list of supported cells for "stat -width"
authorClifford Wolf <clifford@clifford.at>
Fri, 14 Jul 2017 09:32:49 +0000 (11:32 +0200)
committerClifford Wolf <clifford@clifford.at>
Fri, 14 Jul 2017 09:32:49 +0000 (11:32 +0200)
passes/cmds/stat.cc

index 362a0edfc24e896d06c54e49e7f5ba7875538681..a887fbb6a9795eaafe67ddd0804dfa6b5748d686 100644 (file)
@@ -112,7 +112,7 @@ struct statdata_t
                                                "$lut", "$and", "$or", "$xor", "$xnor",
                                                "$shl", "$shr", "$sshl", "$sshr", "$shift", "$shiftx",
                                                "$lt", "$le", "$eq", "$ne", "$eqx", "$nex", "$ge", "$gt",
-                                               "$add", "$sub", "$mul", "$div", "$mod", "$pow")) {
+                                               "$add", "$sub", "$mul", "$div", "$mod", "$pow", "$alu")) {
                                        int width_a = it.second->hasPort("\\A") ? GetSize(it.second->getPort("\\A")) : 0;
                                        int width_b = it.second->hasPort("\\B") ? GetSize(it.second->getPort("\\B")) : 0;
                                        int width_y = it.second->hasPort("\\Y") ? GetSize(it.second->getPort("\\Y")) : 0;