mirror of https://github.com/YosysHQ/yosys.git
Use init value "2" for all uninitialized FFs in BLIF back-end
This commit is contained in:
parent
0bcc617a4f
commit
9e980a2bb0
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue