diff options
author | Aki Van Ness <aki@yosyshq.com> | 2022-03-17 07:26:14 -0400 |
---|---|---|
committer | N. Engelhardt <nakengelhardt@gmail.com> | 2022-04-08 08:05:15 +0200 |
commit | 1f1a403ccee3b37a42fae96a66114943d30e0415 (patch) | |
tree | ba654e1517fa8a6ace3eb861d8f923dd4007d366 /backends | |
parent | 6053856f9130dd864b4f38c8b71f13f5e2ca7f6b (diff) | |
download | yosys-1f1a403ccee3b37a42fae96a66114943d30e0415.tar.gz yosys-1f1a403ccee3b37a42fae96a66114943d30e0415.tar.bz2 yosys-1f1a403ccee3b37a42fae96a66114943d30e0415.zip |
pass jny: flipped the defaults for the inclusion of various bits of metadata
Diffstat (limited to 'backends')
-rw-r--r-- | backends/jny/jny.cc | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/backends/jny/jny.cc b/backends/jny/jny.cc index b89283a15..d801b144c 100644 --- a/backends/jny/jny.cc +++ b/backends/jny/jny.cc @@ -414,14 +414,14 @@ struct JnyBackend : public Backend { log("\n"); log(" jny [options] [selection]\n"); log("\n"); - log(" -connections\n"); - log(" Include connection information in the netlist output.\n"); + log(" -no-connections\n"); + log(" Don't include connection information in the netlist output.\n"); log("\n"); - log(" -attributes\n"); - log(" Include attributed information in the netlist output.\n"); + log(" -no-attributes\n"); + log(" Don't include attributed information in the netlist output.\n"); log("\n"); - log(" -properties\n"); - log(" Include property information in the netlist output.\n"); + log(" -no-properties\n"); + log(" Don't include property information in the netlist output.\n"); log("\n"); log("Write a JSON metadata for the current design\n"); log("\n"); @@ -430,24 +430,24 @@ struct JnyBackend : public Backend { void execute(std::ostream *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design) override { - bool connections{false}; - bool attributes{false}; - bool properties{false}; + bool connections{true}; + bool attributes{true}; + bool properties{true}; size_t argidx{1}; for (; argidx < args.size(); argidx++) { - if (args[argidx] == "-connections") { - connections = true; + if (args[argidx] == "-no-connections") { + connections = false; continue; } - if (args[argidx] == "-attributes") { - attributes = true; + if (args[argidx] == "-no-attributes") { + attributes = false; continue; } - if (args[argidx] == "-properties") { - properties = true; + if (args[argidx] == "-no-properties") { + properties = false; continue; } @@ -477,14 +477,14 @@ struct JnyPass : public Pass { log(" -o <filename>\n"); log(" write to the specified file.\n"); log("\n"); - log(" -connections\n"); - log(" Include connection information in the netlist output.\n"); + log(" -no-connections\n"); + log(" Don't include connection information in the netlist output.\n"); log("\n"); - log(" -attributes\n"); - log(" Include attributed information in the netlist output.\n"); + log(" -no-attributes\n"); + log(" Don't include attributed information in the netlist output.\n"); log("\n"); - log(" -properties\n"); - log(" Include property information in the netlist output.\n"); + log(" -no-properties\n"); + log(" Don't include property information in the netlist output.\n"); log("\n"); log("See 'help write_jny' for a description of the JSON format used.\n"); log("\n"); @@ -492,9 +492,9 @@ struct JnyPass : public Pass { void execute(std::vector<std::string> args, RTLIL::Design *design) override { std::string filename{}; - bool connections{false}; - bool attributes{false}; - bool properties{false}; + bool connections{true}; + bool attributes{true}; + bool properties{true}; size_t argidx{1}; for (; argidx < args.size(); argidx++) { @@ -503,18 +503,18 @@ struct JnyPass : public Pass { continue; } - if (args[argidx] == "-connections") { - connections = true; + if (args[argidx] == "-no-connections") { + connections = false; continue; } - if (args[argidx] == "-attributes") { - attributes = true; + if (args[argidx] == "-no-attributes") { + attributes = false; continue; } - if (args[argidx] == "-properties") { - properties = true; + if (args[argidx] == "-no-properties") { + properties = false; continue; } |