mirror of https://github.com/YosysHQ/yosys.git
reset elaboration error after rewriter
This commit is contained in:
parent
f9db7c0599
commit
2dd55d73a0
|
@ -2289,6 +2289,7 @@ std::string verific_import(Design *design, const std::map<std::string,std::strin
|
|||
|
||||
#ifdef YOSYSHQ_VERIFIC_EXTENSIONS
|
||||
VerificExtensions::ElaborateAndRewrite("work", &verific_params);
|
||||
verific_error_msg.clear();
|
||||
#endif
|
||||
|
||||
if (top.empty()) {
|
||||
|
@ -3217,6 +3218,7 @@ struct VerificPass : public Pass {
|
|||
|
||||
#ifdef YOSYSHQ_VERIFIC_EXTENSIONS
|
||||
VerificExtensions::ElaborateAndRewrite(work, ¶meters);
|
||||
verific_error_msg.clear();
|
||||
#endif
|
||||
if (!ppfile.empty())
|
||||
veri_file::PrettyPrint(ppfile.c_str(), nullptr, work.c_str());
|
||||
|
|
Loading…
Reference in New Issue