aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR <rqou@berkeley.edu>2022-02-21 21:59:25 -0800
committerR <rqou@berkeley.edu>2022-02-21 21:59:25 -0800
commit2d3a337795f9b9009634536439d3ad18dbc15d11 (patch)
treeb8c61e15570f01491f5500372a76ab55e03b7643
parent286caa09bd278dcb877024eeb8c35a66cfc7f92f (diff)
downloadyosys-2d3a337795f9b9009634536439d3ad18dbc15d11.tar.gz
yosys-2d3a337795f9b9009634536439d3ad18dbc15d11.tar.bz2
yosys-2d3a337795f9b9009634536439d3ad18dbc15d11.zip
json: Add help message for `signed` field
-rw-r--r--backends/json/json.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/json/json.cc b/backends/json/json.cc
index 4aa8046d6..02532c39d 100644
--- a/backends/json/json.cc
+++ b/backends/json/json.cc
@@ -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");