mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-05 13:51:24 +00:00
Fix unused warning in annotate_cell_fanout
This commit is contained in:
parent
e4066b784d
commit
e6da1a2d69
1 changed files with 4 additions and 4 deletions
|
@ -613,12 +613,12 @@ struct SplitHighFanoutNets : public ScriptPass {
|
||||||
Cell *cell = itrCell.first;
|
Cell *cell = itrCell.first;
|
||||||
int fanout = itrCell.second;
|
int fanout = itrCell.second;
|
||||||
if (limit > 0 && (fanout > limit)) {
|
if (limit > 0 && (fanout > limit)) {
|
||||||
int nbOutputs = 0;
|
// int nbOutputs = 0;
|
||||||
for (auto &conn : cell->connections()) {
|
for (auto &conn : cell->connections()) {
|
||||||
IdString portName = conn.first;
|
IdString portName = conn.first;
|
||||||
if (cell->output(portName)) {
|
// if (cell->output(portName)) {
|
||||||
nbOutputs++;
|
// nbOutputs++;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
for (auto &conn : cell->connections()) {
|
for (auto &conn : cell->connections()) {
|
||||||
IdString portName = conn.first;
|
IdString portName = conn.first;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue