read_aiger: connect identical signals together
authorEddie Hung <eddie@fpgeh.com>
Tue, 7 Jan 2020 19:43:28 +0000 (11:43 -0800)
committerEddie Hung <eddie@fpgeh.com>
Tue, 7 Jan 2020 19:43:28 +0000 (11:43 -0800)
frontends/aiger/aigerparse.cc

index 04530e56285ad2dddd54bb313f7b1ba061b2663e..f7b9146ce790d909949d7f4fb27fac9522f36ced 100644 (file)
@@ -280,6 +280,7 @@ end_of_header:
                                if (wire) {
                                        // Could have been renamed by a latch
                                        module->swap_names(wire, outputs[l1]);
+                                       module->connect(outputs[l1], wire);
                                        goto next;
                                }
                                wire = outputs[l1];