projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bcc617
)
Use init value "2" for all uninitialized FFs in BLIF back-end
author
Clifford Wolf
<clifford@clifford.at>
Tue, 18 Oct 2016 08:54:04 +0000
(10:54 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 18 Oct 2016 08:54:04 +0000
(10:54 +0200)
backends/blif/blif.cc
patch
|
blob
|
history
diff --git
a/backends/blif/blif.cc
b/backends/blif/blif.cc
index 0dc17c92a23431df731a3d3b8eaf312efafa9432..d9d0cc177f50b9ed608017b37e5b9113d32d1534 100644
(file)
--- 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));