3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 18:05:24 +00:00

Move comment

This commit is contained in:
Eddie Hung 2019-06-21 12:43:20 -07:00
parent 6a336ca23e
commit 70c93ea0c4

View file

@ -86,14 +86,15 @@ struct XAigerWriter
int bit2aig(SigBit bit)
{
// NB: Cannot use iterator returned from aig_map.insert()
// since this function is called recursively
auto it = aig_map.find(bit);
if (it != aig_map.end()) {
log_assert(it->second >= 0);
return it->second;
}
// NB: Cannot use iterator returned from aig_map.insert()
// since this function is called recursively
int a = -1;
if (not_map.count(bit)) {
a = bit2aig(not_map.at(bit)) ^ 1;