mirror of https://github.com/YosysHQ/yosys.git
Move comment
This commit is contained in:
parent
70ee10b650
commit
950bb4c242
|
@ -86,14 +86,15 @@ struct XAigerWriter
|
||||||
|
|
||||||
int bit2aig(SigBit bit)
|
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);
|
auto it = aig_map.find(bit);
|
||||||
if (it != aig_map.end()) {
|
if (it != aig_map.end()) {
|
||||||
log_assert(it->second >= 0);
|
log_assert(it->second >= 0);
|
||||||
return it->second;
|
return it->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NB: Cannot use iterator returned from aig_map.insert()
|
||||||
|
// since this function is called recursively
|
||||||
|
|
||||||
int a = -1;
|
int a = -1;
|
||||||
if (not_map.count(bit)) {
|
if (not_map.count(bit)) {
|
||||||
a = bit2aig(not_map.at(bit)) ^ 1;
|
a = bit2aig(not_map.at(bit)) ^ 1;
|
||||||
|
|
Loading…
Reference in New Issue