From: Clifford Wolf Date: Fri, 14 Jul 2017 09:32:49 +0000 (+0200) Subject: Add $alu to list of supported cells for "stat -width" X-Git-Tag: yosys-0.8~388 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c00d8a5b73306b6fd02471382b25cc3dd321a2fc;p=yosys.git Add $alu to list of supported cells for "stat -width" --- diff --git a/passes/cmds/stat.cc b/passes/cmds/stat.cc index 362a0edfc..a887fbb6a 100644 --- a/passes/cmds/stat.cc +++ b/passes/cmds/stat.cc @@ -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;