From: Clifford Wolf Date: Tue, 18 Oct 2016 08:54:04 +0000 (+0200) Subject: Use init value "2" for all uninitialized FFs in BLIF back-end X-Git-Tag: yosys-0.7~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e980a2bb0c0595a4310c4c450b9a2c28c6ad9ed;p=yosys.git Use init value "2" for all uninitialized FFs in BLIF back-end --- diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc index 0dc17c92a..d9d0cc177 100644 --- a/backends/blif/blif.cc +++ b/backends/blif/blif.cc @@ -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));