mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Json bugfix
This commit is contained in:
parent
4fc63f27a1
commit
adc12ce46e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ struct JsonWriter
|
||||||
string &s = sigids[bit];
|
string &s = sigids[bit];
|
||||||
if (bit.wire == nullptr) {
|
if (bit.wire == nullptr) {
|
||||||
if (bit == State::S0) s = "\"0\"";
|
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 if (bit == State::Sz) s = "\"z\"";
|
||||||
else s = "\"x\"";
|
else s = "\"x\"";
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue