mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-14 04:48:46 +00:00
Revert "write_json to not write contents (cells/wires) of whiteboxes"
This reverts commit 4ef03e19a8
.
This commit is contained in:
parent
4ef03e19a8
commit
8f93999129
|
@ -130,10 +130,9 @@ struct JsonWriter
|
||||||
f << stringf(" }");
|
f << stringf(" }");
|
||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
f << stringf("\n }");
|
f << stringf("\n },\n");
|
||||||
|
|
||||||
if (!module->get_blackbox_attribute()) {
|
f << stringf(" \"cells\": {");
|
||||||
f << stringf(",\n \"cells\": {");
|
|
||||||
first = true;
|
first = true;
|
||||||
for (auto c : module->cells()) {
|
for (auto c : module->cells()) {
|
||||||
if (use_selection && !module->selected(c))
|
if (use_selection && !module->selected(c))
|
||||||
|
@ -196,9 +195,7 @@ struct JsonWriter
|
||||||
f << stringf(" }");
|
f << stringf(" }");
|
||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
f << stringf("\n }");
|
f << stringf("\n }\n");
|
||||||
}
|
|
||||||
f << stringf("\n");
|
|
||||||
|
|
||||||
f << stringf(" }");
|
f << stringf(" }");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue