xaiger: do not promote output wires
authorEddie Hung <eddie@fpgeh.com>
Wed, 27 Nov 2019 03:03:02 +0000 (19:03 -0800)
committerEddie Hung <eddie@fpgeh.com>
Wed, 27 Nov 2019 03:03:02 +0000 (19:03 -0800)
backends/aiger/xaiger.cc

index 37ef30522c9dc499ccb88df218ecbbf18f1ed331..f17a4c775cf3509753a8e031d53b51dd0aba59a2 100644 (file)
@@ -155,11 +155,6 @@ struct XAigerWriter
                        if (wire->port_input)
                                sigmap.add(wire);
 
-               // promote output wires
-               for (auto wire : module->wires())
-                       if (wire->port_output)
-                               sigmap.add(wire);
-
                for (auto wire : module->wires())
                {
                        if (wire->attributes.count("\\init")) {