aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-22 14:09:40 +0100
committerGitHub <noreply@github.com>2021-07-22 14:09:40 +0100
commit5212e38512586a6aea0a3b075d30cd172026cd3e (patch)
tree9ea2c4a1091424cd131e8fdab67a4f9339213894 /fpga_interchange/arch.h
parent8733cce5fa44e095e654f487781555bd20edc48f (diff)
parent580a45485afe48a77272f44f8aa99875cdd4d441 (diff)
downloadnextpnr-5212e38512586a6aea0a3b075d30cd172026cd3e.tar.gz
nextpnr-5212e38512586a6aea0a3b075d30cd172026cd3e.tar.bz2
nextpnr-5212e38512586a6aea0a3b075d30cd172026cd3e.zip
Merge pull request #757 from antmicro/lut-mapping-cache
interchange: Add caching of site LUT mapping solution
Diffstat (limited to 'fpga_interchange/arch.h')
-rw-r--r--fpga_interchange/arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index 8afb71e1..0fb4f462 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -39,6 +39,7 @@
#include "dedicated_interconnect.h"
#include "lookahead.h"
#include "pseudo_pip_model.h"
+#include "site_lut_mapping_cache.h"
#include "site_router.h"
#include "site_routing_cache.h"
@@ -50,6 +51,7 @@ struct ArchArgs
std::string package;
bool rebuild_lookahead;
bool dont_write_lookahead;
+ bool disable_lut_mapping_cache;
};
struct ArchRanges
@@ -1133,6 +1135,7 @@ struct Arch : ArchAPI<ArchRanges>
Lookahead lookahead;
mutable RouteNodeStorage node_storage;
mutable SiteRoutingCache site_routing_cache;
+ mutable SiteLutMappingCache site_lut_mapping_cache;
bool disallow_site_routing;
CellParameters cell_parameters;