From: Aki Van Ness Date: Tue, 16 Nov 2021 20:24:28 +0000 (-0500) Subject: pass metadata: fixed some of the output formatting X-Git-Tag: smtlib2-expr-support-on-0.13-old~22 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc79d1c1b90132ec8e873a725bc9fdf68a95b5fc;p=yosys.git pass metadata: fixed some of the output formatting (cherry picked from commit d8b85e124783b55f414ccfd0513211daa8a94cdb) --- diff --git a/backends/metadata/metadata.cc b/backends/metadata/metadata.cc index a189494b7..eea8e8338 100644 --- a/backends/metadata/metadata.cc +++ b/backends/metadata/metadata.cc @@ -117,6 +117,7 @@ struct MetadataWriter first_sort = false; } + f << stringf("\n"); f << stringf(" ],\n"); f << stringf(" \"connections\": [\n"); @@ -155,6 +156,7 @@ struct MetadataWriter first_port = false; } + f << stringf("\n"); f << stringf(" ],\n \"cells\": [\n"); bool first_cell{true}; @@ -166,6 +168,7 @@ struct MetadataWriter first_cell = false; } + f << stringf("\n"); f << stringf(" ]\n"); f << stringf(" }"); }