Tidy up
authorEddie Hung <eddie@fpgeh.com>
Tue, 23 Apr 2019 00:47:05 +0000 (17:47 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 23 Apr 2019 00:47:05 +0000 (17:47 -0700)
frontends/aiger/aigerparse.cc
passes/techmap/abc9.cc

index 4e3f5e7c944bc202b5abfcf81d0262cd950467e7..b9ab6fc099a2e85911339076860f0bb046c968ba 100644 (file)
@@ -361,7 +361,7 @@ void AigerReader::parse_xaiger()
                 }
             }
             else if (c == 'r') {
-                uint32_t dataSize = parse_xaiger_literal(f);
+                /*uint32_t dataSize =*/ parse_xaiger_literal(f);
                 uint32_t flopNum = parse_xaiger_literal(f);
                 f.ignore(flopNum * sizeof(uint32_t));
                 log_assert(inputs.size() >= flopNum);
index 18f860e361e6115c1704b6576e707de16aa167e2..67d0981f4c3c24df189cb00927a5730872391ec8 100644 (file)
@@ -561,11 +561,6 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
                                                output_bits.insert({wire, i});
                                }
                                else {
-                                       //if (w->name == "\\__dummy_o__") {
-                                       //      log("Don't call ABC as there is nothing to map.\n");
-                                       //      goto cleanup;
-                                       //}
-
                                        // Attempt another wideports_split here because there
                                        // exists the possibility that different bits of a port
                                        // could be an input and output, therefore parse_xiager()
@@ -935,7 +930,6 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
        //      log("Don't call ABC as there is nothing to map.\n");
        //}
 
-cleanup:
        if (cleanup)
        {
                log("Removing temp directory.\n");