Skip to content

Commit 3a14cf9

Browse files
committedSep 2, 2017
Removed redundant block (merge bug?)
1 parent d41b003 commit 3a14cf9

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed
 

‎passes/techmap/recover_adder_core.cpp

-17
Original file line numberDiff line numberDiff line change
@@ -134,23 +134,6 @@ struct RecoverAdderCorePass : public Pass {
134134
}
135135
}
136136

137-
// Need to find fan-outs into module ports
138-
pool<SigBit> carry_fanout_to_port;
139-
for (auto wire : module->selected_wires())
140-
{
141-
if (wire->port_output)
142-
{
143-
for (auto bit : sigmap(wire))
144-
{
145-
if (carry_wires.count(bit))
146-
{
147-
log("Found a carry fanout to port %s\n", wire->name.c_str());
148-
carry_fanout_to_port.insert(bit);
149-
}
150-
}
151-
}
152-
}
153-
154137
// Do the actual adder extraction logic
155138
pool<Cell*> consumed_cells;
156139
for (auto cell : addsub_cells)

0 commit comments

Comments
 (0)
Please sign in to comment.