mirror of https://github.com/YosysHQ/yosys.git
json: Add help message for `signed` field
This commit is contained in:
parent
286caa09bd
commit
2d3a337795
|
@ -379,6 +379,7 @@ struct JsonBackend : public Backend {
|
||||||
log(" \"bits\": <bit_vector>\n");
|
log(" \"bits\": <bit_vector>\n");
|
||||||
log(" \"offset\": <the lowest bit index in use, if non-0>\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(" \"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("\n");
|
log("\n");
|
||||||
log("The \"offset\" and \"upto\" fields are skipped if their value would be 0.");
|
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(" \"bits\": <bit_vector>\n");
|
||||||
log(" \"offset\": <the lowest bit index in use, if non-0>\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(" \"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("\n");
|
log("\n");
|
||||||
log("The \"hide_name\" fields are set to 1 when the name of this cell or net is\n");
|
log("The \"hide_name\" fields are set to 1 when the name of this cell or net is\n");
|
||||||
|
|
Loading…
Reference in New Issue