Do not sigmap
authorEddie Hung <eddie@fpgeh.com>
Tue, 17 Dec 2019 08:03:03 +0000 (00:03 -0800)
committerEddie Hung <eddie@fpgeh.com>
Tue, 17 Dec 2019 08:03:03 +0000 (00:03 -0800)
backends/aiger/xaiger.cc

index 6ca24bd7e6cf8b8111d55a599fda5fd3c0466e87..8db166fc23b728fc6304a52d5994a861ce6a6663 100644 (file)
@@ -191,7 +191,7 @@ struct XAigerWriter
                                }
 
                                if (wire->port_input && wire->port_output)
-                                       inout_bits.insert(bit);
+                                       inout_bits.insert(wirebit);
                        }
 
                // TODO: Speed up toposort -- ultimately we care about