Code review fixes

This commit is contained in:
Eddie Hung 2020-03-30 08:22:12 -07:00
parent f64d59d824
commit 4d897975a8
2 changed files with 3 additions and 3 deletions

View File

@ -670,13 +670,13 @@ struct MemoryShareWorker
void operator()(RTLIL::Module* module)
{
std::map<std::string, std::pair<std::vector<RTLIL::Cell*>, std::vector<RTLIL::Cell*>>> memindex;
this->module = module;
sigmap.set(module);
sig_to_mux.clear();
conditions_logic_cache.clear();
std::map<std::string, std::pair<std::vector<RTLIL::Cell*>, std::vector<RTLIL::Cell*>>> memindex;
sigmap_xmux = sigmap;
for (auto cell : module->cells())
{