diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2019-02-08 12:49:55 -0800 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2019-02-08 12:49:55 -0800 |
commit | aa66d8f12f89b457a4a23c04de706a36ee8fc114 (patch) | |
tree | 0f95ee4111c4406b526867e2ba9fb8899472b4c3 /frontends/aiger/aigerparse.cc | |
parent | 587872236ecd1ca2f2a466bccc8d41618feb0dfb (diff) | |
download | yosys-aa66d8f12f89b457a4a23c04de706a36ee8fc114.tar.gz yosys-aa66d8f12f89b457a4a23c04de706a36ee8fc114.tar.bz2 yosys-aa66d8f12f89b457a4a23c04de706a36ee8fc114.zip |
-module_name arg to go before -clk_name
Diffstat (limited to 'frontends/aiger/aigerparse.cc')
-rw-r--r-- | frontends/aiger/aigerparse.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/frontends/aiger/aigerparse.cc b/frontends/aiger/aigerparse.cc index 6ebb524bd..5c982fb59 100644 --- a/frontends/aiger/aigerparse.cc +++ b/frontends/aiger/aigerparse.cc @@ -363,13 +363,13 @@ struct AigerFrontend : public Frontend { log(" read_aiger [options] [filename]\n"); log("\n"); log("Load module from an AIGER file into the current design.\n"); + log("\n"); + log(" -module_name <module_name>\n"); + log(" Name of module to be created (default: <filename>)" log("\n"); log(" -clk_name <wire_name>\n"); log(" AIGER latches to be transformed into posedge DFFs clocked by wire of"); log(" this name (default: clk)\n"); - log("\n"); - log(" -module_name <module_name>\n"); - log(" Name of module to be created (default: <filename>)" #ifdef _WIN32 "top" // FIXME #else @@ -388,14 +388,14 @@ struct AigerFrontend : public Frontend { size_t argidx; for (argidx = 1; argidx < args.size(); argidx++) { std::string arg = args[argidx]; - if (arg == "-clk_name" && argidx+1 < args.size()) { - clk_name = RTLIL::escape_id(args[++argidx]); - continue; - } if (arg == "-module_name" && argidx+1 < args.size()) { module_name = RTLIL::escape_id(args[++argidx]); continue; } + if (arg == "-clk_name" && argidx+1 < args.size()) { + clk_name = RTLIL::escape_id(args[++argidx]); + continue; + } break; } extra_args(f, filename, args, argidx); |