duplicate -> clone
authorEddie Hung <eddie@fpgeh.com>
Sat, 13 Jul 2019 02:33:02 +0000 (19:33 -0700)
committerEddie Hung <eddie@fpgeh.com>
Sat, 13 Jul 2019 02:33:02 +0000 (19:33 -0700)
passes/techmap/abc9.cc

index 36f2fafc35abc9cd3ccceaa868e2a4483b7d1852..4a6ec3a47ee254550ec1a24a9ef4bbcab0c04574 100644 (file)
@@ -761,11 +761,11 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
 
                        auto jt = bit2sinks.find(a_bit);
                        if (jt == bit2sinks.end())
-                               goto duplicate_lut;
+                               goto clone_lut;
 
                        for (auto sink_cell : jt->second)
                                if (sink_cell->type != "$lut")
-                                       goto duplicate_lut;
+                                       goto clone_lut;
 
                        // Push downstream LUTs past inverter
                        for (auto sink_cell : jt->second) {
@@ -787,7 +787,7 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
                                sink_cell->setParam("\\LUT", mask);
                        }
 
-duplicate_lut:
+clone_lut:
                        driver_mask = driver_lut->getParam("\\LUT");
                        for (auto &b : driver_mask.bits) {
                                if (b == RTLIL::State::S0) b = RTLIL::State::S1;