3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-08 20:21:25 +00:00

Moved smt2 yosys info parsing from smtbmc.py to smtio.py

This commit is contained in:
Clifford Wolf 2016-07-11 11:49:05 +02:00
parent cdb58f68ab
commit 0153ad85d9
3 changed files with 56 additions and 16 deletions

View file

@ -932,6 +932,10 @@ struct Smt2Backend : public Backend {
worker.write(*f);
}
Module *topmod = design->top_module();
if (topmod)
*f << stringf("; yosys-smt2-topmod %s\n", log_id(topmod));
*f << stringf("; end of yosys output\n");
if (template_f.is_open()) {