diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2019-04-05 15:46:18 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2019-04-05 15:46:18 -0700 |
commit | 0364a5d811f79364f35b72935fe90bc188229c19 (patch) | |
tree | 221646765409f5eddcd066dc72b4bb17097fd008 /frontends/ilang/ilang_frontend.cc | |
parent | 544843da717734ab9bd9bd88f71db2475fc3abc0 (diff) | |
parent | 97587015748eb9f7e0d55a1121f604b8b462b45a (diff) | |
download | yosys-0364a5d811f79364f35b72935fe90bc188229c19.tar.gz yosys-0364a5d811f79364f35b72935fe90bc188229c19.tar.bz2 yosys-0364a5d811f79364f35b72935fe90bc188229c19.zip |
Merge branch 'eddie/fix_retime' into xc7srl
Diffstat (limited to 'frontends/ilang/ilang_frontend.cc')
-rw-r--r-- | frontends/ilang/ilang_frontend.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/frontends/ilang/ilang_frontend.cc b/frontends/ilang/ilang_frontend.cc index 6b302a796..30d9ff79d 100644 --- a/frontends/ilang/ilang_frontend.cc +++ b/frontends/ilang/ilang_frontend.cc @@ -47,16 +47,20 @@ struct IlangFrontend : public Frontend { log(" -nooverwrite\n"); log(" ignore re-definitions of modules. (the default behavior is to\n"); log(" create an error message if the existing module is not a blackbox\n"); - log(" module, and overwrite the existing module if it is a blackbox module.)\n"); + log(" module, and overwrite the existing module if it is a blackbox module.)\n"); log("\n"); log(" -overwrite\n"); log(" overwrite existing modules with the same name\n"); log("\n"); + log(" -lib\n"); + log(" only create empty blackbox modules\n"); + log("\n"); } void execute(std::istream *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE { ILANG_FRONTEND::flag_nooverwrite = false; ILANG_FRONTEND::flag_overwrite = false; + ILANG_FRONTEND::flag_lib = false; log_header(design, "Executing ILANG frontend.\n"); @@ -73,6 +77,10 @@ struct IlangFrontend : public Frontend { ILANG_FRONTEND::flag_overwrite = true; continue; } + if (arg == "-lib") { + ILANG_FRONTEND::flag_lib = true; + continue; + } break; } extra_args(f, filename, args, argidx); |