Add ninitff line to aiger .aim files

Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
Claire Xenia Wolf 2023-06-03 14:38:22 +02:00
parent 43b807fe6f
commit d7f25165a5
1 changed files with 3 additions and 0 deletions

View File

@ -706,6 +706,9 @@ struct AigerWriter
for (auto &it : latch_lines)
f << it.second;
if (initstate_ff)
f << stringf("ninitff %d\n", ((initstate_ff >> 1)-1-aig_i));
wire_lines.sort();
for (auto &it : wire_lines)
f << it.second;