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:
parent
cdb58f68ab
commit
0153ad85d9
3 changed files with 56 additions and 16 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue