diff options
author | David Shah <davey1576@gmail.com> | 2018-06-27 12:00:13 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-27 12:00:13 +0200 |
commit | 2cc7ade05b52b89186f5210c97ebbc61aa5c166d (patch) | |
tree | 2c5821788b93beb1e28cfc8f4b2b239e83d02ebb /common/nextpnr.h | |
parent | 09c0d96105c82d9a1c6b2dfb93e3da912ec910d5 (diff) | |
download | nextpnr-2cc7ade05b52b89186f5210c97ebbc61aa5c166d.tar.gz nextpnr-2cc7ade05b52b89186f5210c97ebbc61aa5c166d.tar.bz2 nextpnr-2cc7ade05b52b89186f5210c97ebbc61aa5c166d.zip |
Refactor common placement functions out of SA placer for use in legaliser
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index efe5936f..8d4714bf 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -200,7 +200,7 @@ struct BaseCtx BaseCtx() { - //assert(IdString::global_ctx == nullptr); + // assert(IdString::global_ctx == nullptr); IdString::global_ctx = this; idstring_str_to_idx = new std::unordered_map<std::string, int>; @@ -229,6 +229,7 @@ struct Context : Arch bool verbose = false; bool debug = false; bool force = false; + bool timing_driven = true; Context(ArchArgs args) : Arch(args) {} |