From: R Date: Tue, 22 Feb 2022 05:59:25 +0000 (-0800) Subject: json: Add help message for `signed` field X-Git-Tag: yosys-0.16~55^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d3a337795f9b9009634536439d3ad18dbc15d11;p=yosys.git json: Add help message for `signed` field --- 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\": \n"); log(" \"offset\": \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\": \n"); log(" \"offset\": \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");