mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 12:28:44 +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(" }");
|
||||
first = false;
|
||||
}
|
||||
f << stringf("\n }");
|
||||
f << stringf("\n },\n");
|
||||
|
||||
if (!module->get_blackbox_attribute()) {
|
||||
f << stringf(",\n \"cells\": {");
|
||||
f << stringf(" \"cells\": {");
|
||||
first = true;
|
||||
for (auto c : module->cells()) {
|
||||
if (use_selection && !module->selected(c))
|
||||
|
@ -196,9 +195,7 @@ struct JsonWriter
|
|||
f << stringf(" }");
|
||||
first = false;
|
||||
}
|
||||
f << stringf("\n }");
|
||||
}
|
||||
f << stringf("\n");
|
||||
f << stringf("\n }\n");
|
||||
|
||||
f << stringf(" }");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue