mirror of https://github.com/YosysHQ/yosys.git
Close opened dump file.
This commit is contained in:
parent
f6221ade95
commit
8c3bc2ac0d
|
@ -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…
Reference in New Issue