aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2022-03-26 09:43:51 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2022-03-26 09:43:51 +0100
commit703769e4942f3fa937118756182868dc47383ba1 (patch)
treee5db8d7cc8194b7c3d7834dea1cb06f45af4c278 /frontends
parent245ecb05291e19d33ccd13f0a78bb435fb5c5ee9 (diff)
downloadyosys-703769e4942f3fa937118756182868dc47383ba1.tar.gz
yosys-703769e4942f3fa937118756182868dc47383ba1.tar.bz2
yosys-703769e4942f3fa937118756182868dc47383ba1.zip
Properly mark modules imported
Diffstat (limited to 'frontends')
-rw-r--r--frontends/verific/verific.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc
index 2ed4967ba..185b02e48 100644
--- a/frontends/verific/verific.cc
+++ b/frontends/verific/verific.cc
@@ -2233,10 +2233,10 @@ void verific_import(Design *design, const std::map<std::string,std::string> &par
Netlist *nl = it->second;
if (nl_done.count(it->first) == 0) {
VerificImporter importer(false, false, false, false, false, false, false);
+ nl_done[it->first] = it->second;
importer.import_netlist(design, nl, nl_todo, nl->Owner()->Name() == top);
}
nl_todo.erase(it);
- nl_done[it->first] = it->second;
}
veri_file::Reset();
@@ -3242,10 +3242,10 @@ struct VerificPass : public Pass {
if (nl_done.count(it->first) == 0) {
VerificImporter importer(mode_gates, mode_keep, mode_nosva,
mode_names, mode_verific, mode_autocover, mode_fullinit);
+ nl_done[it->first] = it->second;
importer.import_netlist(design, nl, nl_todo, top_mod_names.count(nl->Owner()->Name()));
}
nl_todo.erase(it);
- nl_done[it->first] = it->second;
}
veri_file::Reset();