diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-21 14:08:45 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-21 14:08:45 +0200 |
commit | 693c34ad0646aac1bb766e783eb94d710f8ff72b (patch) | |
tree | 2095705c5a25a36bcc9a9f14faf62b575580cb1f /ice40 | |
parent | 56ed679f831f703ad2f170713e0b127a97da40b3 (diff) | |
download | nextpnr-693c34ad0646aac1bb766e783eb94d710f8ff72b.tar.gz nextpnr-693c34ad0646aac1bb766e783eb94d710f8ff72b.tar.bz2 nextpnr-693c34ad0646aac1bb766e783eb94d710f8ff72b.zip |
Improvements in router
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/arch.h | 3 | ||||
-rw-r--r-- | ice40/main.cc | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index 85fb9fc0..4896736b 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -755,7 +755,8 @@ struct Arch : BaseCtx void estimatePosition(BelId bel, int &x, int &y, bool &gb) const; delay_t estimateDelay(WireId src, WireId dst) const; - delay_t getDelayEpsilon() const { return 10; } + delay_t getDelayEpsilon() const { return 20; } + delay_t getRipupDelayPenalty() const { return 200; } float getDelayNS(delay_t v) const { return v * 0.001; } // ------------------------------------------------- diff --git a/ice40/main.cc b/ice40/main.cc index fcf112e6..e86cd5b1 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -69,6 +69,7 @@ int main(int argc, char *argv[]) po::options_description options("Allowed options"); options.add_options()("help,h", "show help"); options.add_options()("verbose,v", "verbose output"); + options.add_options()("debug", "debug output"); options.add_options()("force,f", "keep running after errors"); options.add_options()("gui", "start gui"); options.add_options()("svg", "dump SVG file"); @@ -201,6 +202,11 @@ int main(int argc, char *argv[]) ctx.verbose = true; } + if (vm.count("debug")) { + ctx.verbose = true; + ctx.debug = true; + } + if (vm.count("force")) { ctx.force = true; } |