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: yosys-0.17~52 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8b85e124783b55f414ccfd0513211daa8a94cdb;p=yosys.git pass metadata: fixed some of the output formatting --- 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(" }"); }