projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6053856
)
pass jny: flipped the defaults for the inclusion of various bits of metadata
author
Aki Van Ness
<aki@yosyshq.com>
Thu, 17 Mar 2022 11:26:14 +0000
(07:26 -0400)
committer
N. Engelhardt
<nakengelhardt@gmail.com>
Fri, 8 Apr 2022 06:05:15 +0000
(08:05 +0200)
backends/jny/jny.cc
patch
|
blob
|
history
diff --git
a/backends/jny/jny.cc
b/backends/jny/jny.cc
index b89283a153f25d733c24ef340046b32b5c5cd50c..d801b144c889a7323ca3a58861733f81d165b694 100644
(file)
--- 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("\n");
log(" jny [options] [selection]\n");
log("\n");
- log(" -connections\n");
- log("
I
nclude connection information in the netlist output.\n");
+ log(" -
no-
connections\n");
+ log("
Don't i
nclude connection information in the netlist output.\n");
log("\n");
log("\n");
- log(" -attributes\n");
- log("
I
nclude attributed information in the netlist output.\n");
+ log(" -
no-
attributes\n");
+ log("
Don't i
nclude attributed information in the netlist output.\n");
log("\n");
log("\n");
- log(" -properties\n");
- log("
I
nclude property information in the netlist output.\n");
+ log(" -
no-
properties\n");
+ log("
Don't i
nclude property information in the netlist output.\n");
log("\n");
log("Write a JSON metadata for the current design\n");
log("\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 {
void execute(std::ostream *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design) override {
- bool connections{
fals
e};
- bool attributes{
fals
e};
- bool properties{
fals
e};
+ bool connections{
tru
e};
+ bool attributes{
tru
e};
+ bool properties{
tru
e};
size_t argidx{1};
for (; argidx < args.size(); argidx++) {
size_t argidx{1};
for (; argidx < args.size(); argidx++) {
- if (args[argidx] == "-connections") {
- connections =
tru
e;
+ if (args[argidx] == "-
no-
connections") {
+ connections =
fals
e;
continue;
}
continue;
}
- if (args[argidx] == "-attributes") {
- attributes =
tru
e;
+ if (args[argidx] == "-
no-
attributes") {
+ attributes =
fals
e;
continue;
}
continue;
}
- if (args[argidx] == "-properties") {
- properties =
tru
e;
+ if (args[argidx] == "-
no-
properties") {
+ properties =
fals
e;
continue;
}
continue;
}
@@
-477,14
+477,14
@@
struct JnyPass : public Pass {
log(" -o <filename>\n");
log(" write to the specified file.\n");
log("\n");
log(" -o <filename>\n");
log(" write to the specified file.\n");
log("\n");
- log(" -connections\n");
- log("
I
nclude connection information in the netlist output.\n");
+ log(" -
no-
connections\n");
+ log("
Don't i
nclude connection information in the netlist output.\n");
log("\n");
log("\n");
- log(" -attributes\n");
- log("
I
nclude attributed information in the netlist output.\n");
+ log(" -
no-
attributes\n");
+ log("
Don't i
nclude attributed information in the netlist output.\n");
log("\n");
log("\n");
- log(" -properties\n");
- log("
I
nclude property information in the netlist output.\n");
+ log(" -
no-
properties\n");
+ log("
Don't i
nclude 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");
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{};
void execute(std::vector<std::string> args, RTLIL::Design *design) override {
std::string filename{};
- bool connections{
fals
e};
- bool attributes{
fals
e};
- bool properties{
fals
e};
+ bool connections{
tru
e};
+ bool attributes{
tru
e};
+ bool properties{
tru
e};
size_t argidx{1};
for (; argidx < args.size(); argidx++) {
size_t argidx{1};
for (; argidx < args.size(); argidx++) {
@@
-503,18
+503,18
@@
struct JnyPass : public Pass {
continue;
}
continue;
}
- if (args[argidx] == "-connections") {
- connections =
tru
e;
+ if (args[argidx] == "-
no-
connections") {
+ connections =
fals
e;
continue;
}
continue;
}
- if (args[argidx] == "-attributes") {
- attributes =
tru
e;
+ if (args[argidx] == "-
no-
attributes") {
+ attributes =
fals
e;
continue;
}
continue;
}
- if (args[argidx] == "-properties") {
- properties =
tru
e;
+ if (args[argidx] == "-
no-
properties") {
+ properties =
fals
e;
continue;
}
continue;
}