mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Merge pull request #3210 from rqou/json-signed
json: Add help message for `signed` field
This commit is contained in:
commit
4ccc2adbda
|
@ -394,6 +394,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.");
|
||||||
|
@ -443,6 +444,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 a new issue