mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-14 01:46:16 +00:00
Close opened dump file.
This commit is contained in:
parent
f6221ade95
commit
8c3bc2ac0d
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ static void autotest(std::ostream &f, RTLIL::Design *design, int num_iter)
|
||||||
for (auto it = design->modules_.begin(); it != design->modules_.end(); ++it)
|
for (auto it = design->modules_.begin(); it != design->modules_.end(); ++it)
|
||||||
if (!it->second->get_bool_attribute("\\gentb_skip"))
|
if (!it->second->get_bool_attribute("\\gentb_skip"))
|
||||||
f << stringf("\t%s;\n", idy(it->first.str(), "test").c_str());
|
f << stringf("\t%s;\n", idy(it->first.str(), "test").c_str());
|
||||||
|
f << stringf("\t$fclose(file);\n");
|
||||||
f << stringf("\t$finish;\n");
|
f << stringf("\t$finish;\n");
|
||||||
f << stringf("end\n\n");
|
f << stringf("end\n\n");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue