diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-03-03 09:41:41 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-03-03 09:41:41 +0100 |
commit | adc12ce46e488be2080e7575dac958cb7fc128c1 (patch) | |
tree | 2f541fa34d145bcf195a659f853bb8fbbfcd26e1 | |
parent | 4fc63f27a1a879e4b724b7e478dbd3047961ae71 (diff) | |
download | yosys-adc12ce46e488be2080e7575dac958cb7fc128c1.tar.gz yosys-adc12ce46e488be2080e7575dac958cb7fc128c1.tar.bz2 yosys-adc12ce46e488be2080e7575dac958cb7fc128c1.zip |
Json bugfix
-rw-r--r-- | backends/json/json.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/json/json.cc b/backends/json/json.cc index 889e5b7ec..54bb4357c 100644 --- 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 |