mirror of https://github.com/YosysHQ/yosys.git
pass metadata: fixed some of the output formatting
This commit is contained in:
parent
f6bb238051
commit
d8b85e1247
|
@ -117,6 +117,7 @@ struct MetadataWriter
|
||||||
|
|
||||||
first_sort = false;
|
first_sort = false;
|
||||||
}
|
}
|
||||||
|
f << stringf("\n");
|
||||||
|
|
||||||
f << stringf(" ],\n");
|
f << stringf(" ],\n");
|
||||||
f << stringf(" \"connections\": [\n");
|
f << stringf(" \"connections\": [\n");
|
||||||
|
@ -155,6 +156,7 @@ struct MetadataWriter
|
||||||
|
|
||||||
first_port = false;
|
first_port = false;
|
||||||
}
|
}
|
||||||
|
f << stringf("\n");
|
||||||
|
|
||||||
f << stringf(" ],\n \"cells\": [\n");
|
f << stringf(" ],\n \"cells\": [\n");
|
||||||
bool first_cell{true};
|
bool first_cell{true};
|
||||||
|
@ -166,6 +168,7 @@ struct MetadataWriter
|
||||||
|
|
||||||
first_cell = false;
|
first_cell = false;
|
||||||
}
|
}
|
||||||
|
f << stringf("\n");
|
||||||
f << stringf(" ]\n");
|
f << stringf(" ]\n");
|
||||||
f << stringf(" }");
|
f << stringf(" }");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue