json: Add help message for `signed` field
authorR <rqou@berkeley.edu>
Tue, 22 Feb 2022 05:59:25 +0000 (21:59 -0800)
committerR <rqou@berkeley.edu>
Tue, 22 Feb 2022 05:59:25 +0000 (21:59 -0800)
backends/json/json.cc

index 4aa8046d602e45371fd642481cc75052914a3fc9..02532c39d253f6228b7fa2606635fb9cbdd846a3 100644 (file)
@@ -379,6 +379,7 @@ struct JsonBackend : public Backend {
                log("      \"bits\": <bit_vector>\n");
                log("      \"offset\": <the lowest bit index in use, if non-0>\n");
                log("      \"upto\": <1 if the port bit indexing is MSB-first>\n");
+               log("      \"signed\": <1 if the port is signed>\n");
                log("    }\n");
                log("\n");
                log("The \"offset\" and \"upto\" fields are skipped if their value would be 0.");
@@ -428,6 +429,7 @@ struct JsonBackend : public Backend {
                log("      \"bits\": <bit_vector>\n");
                log("      \"offset\": <the lowest bit index in use, if non-0>\n");
                log("      \"upto\": <1 if the port bit indexing is MSB-first>\n");
+               log("      \"signed\": <1 if the port is signed>\n");
                log("    }\n");
                log("\n");
                log("The \"hide_name\" fields are set to 1 when the name of this cell or net is\n");