pass metadata: fixed some of the output formatting
[yosys.git] / backends / metadata / metadata.cc
index a189494b7927f4fae056ed9f71b70f48cdff6a41..eea8e8338611cf548406099d2efd35df0224ceb8 100644 (file)
@@ -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("        }");
     }