mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-29 03:45:52 +00:00
Fix valgrind tests when using verific
This commit is contained in:
parent
72e5498bdf
commit
bbf65702a1
5 changed files with 16 additions and 8 deletions
|
@ -2239,11 +2239,15 @@ void verific_import(Design *design, const std::map<std::string,std::string> &par
|
|||
nl_todo.erase(it);
|
||||
}
|
||||
|
||||
hier_tree::DeleteHierarchicalTree();
|
||||
veri_file::Reset();
|
||||
#ifdef VERIFIC_VHDL_SUPPORT
|
||||
vhdl_file::Reset();
|
||||
#endif
|
||||
Libset::Reset();
|
||||
Message::Reset();
|
||||
RuntimeFlags::DeleteAllFlags();
|
||||
LineFile::DeleteAllLineFiles();
|
||||
verific_incdirs.clear();
|
||||
verific_libdirs.clear();
|
||||
verific_import_pending = false;
|
||||
|
@ -3248,11 +3252,15 @@ struct VerificPass : public Pass {
|
|||
nl_todo.erase(it);
|
||||
}
|
||||
|
||||
hier_tree::DeleteHierarchicalTree();
|
||||
veri_file::Reset();
|
||||
#ifdef VERIFIC_VHDL_SUPPORT
|
||||
vhdl_file::Reset();
|
||||
#endif
|
||||
Libset::Reset();
|
||||
Message::Reset();
|
||||
RuntimeFlags::DeleteAllFlags();
|
||||
LineFile::DeleteAllLineFiles();
|
||||
verific_incdirs.clear();
|
||||
verific_libdirs.clear();
|
||||
verific_import_pending = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue