{
auto not_input = cell->getPort("\\A")[0];
auto not_output = cell->getPort("\\Y")[0];
- not_cells[not_input] = {not_output, cell};
+ not_cells[not_input] = tuple<SigBit, Cell*>(not_output, cell);
}
}
}
sop_output = std::get<0>(not_cell);
// remove the $_NOT_ cell because it gets folded into the xor
- cells_to_remove.insert({module, std::get<1>(not_cell)});
+ cells_to_remove.insert(tuple<Module*, Cell*>(module, std::get<1>(not_cell)));
}
// Construct AND cells
}
// Finally, remove the $sop cell
- cells_to_remove.insert({module, cell});
+ cells_to_remove.insert(tuple<Module*, Cell*>(module, cell));
}
}
}