Use pool instead of std::set for determinism
authorEddie Hung <eddie@fpgeh.com>
Mon, 2 Dec 2019 07:26:17 +0000 (23:26 -0800)
committerEddie Hung <eddie@fpgeh.com>
Mon, 2 Dec 2019 09:28:28 +0000 (01:28 -0800)
passes/hierarchy/submod.cc

index 211f96175a50de9fef15e2c227a68785a4ce8f95..3b4f33a60fbb86ca41e214e686beb9daeb4e079c 100644 (file)
@@ -42,7 +42,7 @@ struct SubmodWorker
        struct SubModule
        {
                std::string name, full_name;
-               std::set<RTLIL::Cell*> cells;
+               pool<RTLIL::Cell*> cells;
        };
 
        std::map<std::string, SubModule> submodules;