From 9e980a2bb0c0595a4310c4c450b9a2c28c6ad9ed Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 18 Oct 2016 10:54:04 +0200 Subject: [PATCH] Use init value "2" for all uninitialized FFs in BLIF back-end --- backends/blif/blif.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)); -- 2.30.2