diff options
author | gatecat <gatecat@ds0.me> | 2021-08-16 14:08:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 14:08:20 +0100 |
commit | b37d133c43c45862bd5c550b5d7fffaa8c49b968 (patch) | |
tree | c1c7c98159334034099e252f1cb2cb05ec7aadff /common/command.cc | |
parent | 4d54b62e635cf3ba83358cc379587c041a189b83 (diff) | |
parent | f207068ee2ee31d6bf3642cb6fc6bfdeffb2897f (diff) | |
download | nextpnr-b37d133c43c45862bd5c550b5d7fffaa8c49b968.tar.gz nextpnr-b37d133c43c45862bd5c550b5d7fffaa8c49b968.tar.bz2 nextpnr-b37d133c43c45862bd5c550b5d7fffaa8c49b968.zip |
Merge pull request #794 from YosysHQ/gatecat/router2p5
router2: Improved bidir routing and timing-driven ripup option
Diffstat (limited to 'common/command.cc')
-rw-r--r-- | common/command.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/command.cc b/common/command.cc index c175cd27..34bb93cb 100644 --- a/common/command.cc +++ b/common/command.cc @@ -173,6 +173,8 @@ po::options_description CommandHandler::getGeneralOptions() general.add_options()("router2-heatmap", po::value<std::string>(), "prefix for router2 resource congestion heatmaps"); + general.add_options()("router2-tmg-ripup", "enable experimental timing-driven ripup in router2"); + general.add_options()("report", po::value<std::string>(), "write timing and utilization report in JSON format to file"); @@ -286,6 +288,8 @@ void CommandHandler::setupContext(Context *ctx) ctx->settings[ctx->id("placerHeap/timingWeight")] = std::to_string(vm["placer-heap-timingweight"].as<int>()); if (vm.count("router2-heatmap")) ctx->settings[ctx->id("router2/heatmap")] = vm["router2-heatmap"].as<std::string>(); + if (vm.count("router2-tmg-ripup")) + ctx->settings[ctx->id("router2/tmg_ripup")] = true; // Setting default values if (ctx->settings.find(ctx->id("target_freq")) == ctx->settings.end()) |