From a265a846324fc1699e22cad00ff23823464a84ae Mon Sep 17 00:00:00 2001
From: Eddie Hung <eddie@fpgeh.com>
Date: Sun, 1 Dec 2019 23:26:17 -0800
Subject: [PATCH] Use pool instead of std::set for determinism

---
 passes/hierarchy/submod.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/passes/hierarchy/submod.cc b/passes/hierarchy/submod.cc
index 211f96175..3b4f33a60 100644
--- a/passes/hierarchy/submod.cc
+++ b/passes/hierarchy/submod.cc
@@ -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;