Use init value "2" for all uninitialized FFs in BLIF back-end

This commit is contained in:
Clifford Wolf 2016-10-18 10:54:04 +02:00
parent 0bcc617a4f
commit 9e980a2bb0
1 changed files with 1 additions and 4 deletions

View File

@ -77,9 +77,6 @@ struct BlifDumper
case State::S1:
init_bits[initsig[i]] = 1;
break;
case State::Sx:
init_bits[initsig[i]] = 2;
break;
default:
break;
}
@ -126,7 +123,7 @@ struct BlifDumper
sigmap.apply(sig);
if (init_bits.count(sig) == 0)
return "";
return " 2";
string str = stringf(" %d", init_bits.at(sig));