projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc63f2
)
Json bugfix
author
Clifford Wolf
<clifford@clifford.at>
Tue, 3 Mar 2015 08:41:41 +0000
(09:41 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 3 Mar 2015 08:41:41 +0000
(09:41 +0100)
backends/json/json.cc
patch
|
blob
|
history
diff --git
a/backends/json/json.cc
b/backends/json/json.cc
index 889e5b7ece3366df5d3cceb732c5a199b2f2be04..54bb4357cedd67a08a6152d65795f16649274c8d 100644
(file)
--- a/
backends/json/json.cc
+++ b/
backends/json/json.cc
@@
-68,7
+68,7
@@
struct JsonWriter
string &s = sigids[bit];
if (bit.wire == nullptr) {
if (bit == State::S0) s = "\"0\"";
- else if (bit == State::S1) s = "\"
0
\"";
+ else if (bit == State::S1) s = "\"
1
\"";
else if (bit == State::Sz) s = "\"z\"";
else s = "\"x\"";
} else