diff options
author | gatecat <gatecat@ds0.me> | 2021-07-01 13:12:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-01 13:12:29 +0100 |
commit | 79ab283890eb3ccc89bb4b409ea648f34eb58407 (patch) | |
tree | 51349bc234afa76ff9b2b3e8e9b597f893f04d02 /fpga_interchange/site_routing_cache.h | |
parent | 8b4e8808271a1a6cd853ee214f138b79b19d6f8f (diff) | |
parent | 523ffbaa37a367557da434752cb286643e24b627 (diff) | |
download | nextpnr-79ab283890eb3ccc89bb4b409ea648f34eb58407.tar.gz nextpnr-79ab283890eb3ccc89bb4b409ea648f34eb58407.tar.bz2 nextpnr-79ab283890eb3ccc89bb4b409ea648f34eb58407.zip |
Merge pull request #743 from YosysHQ/gatecat/site-rsv-ports
interchange: Reserve site ports only reachable from dedicated routing
Diffstat (limited to 'fpga_interchange/site_routing_cache.h')
-rw-r--r-- | fpga_interchange/site_routing_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fpga_interchange/site_routing_cache.h b/fpga_interchange/site_routing_cache.h index a430d206..5f5e7b75 100644 --- a/fpga_interchange/site_routing_cache.h +++ b/fpga_interchange/site_routing_cache.h @@ -121,6 +121,7 @@ class SiteRoutingCache public: bool get_solution(const SiteArch *ctx, const SiteNetInfo &net, SiteRoutingSolution *solution) const; void add_solutions(const SiteArch *ctx, const SiteNetInfo &net, const SiteRoutingSolution &solution); + void clear(); private: dict<SiteRoutingKey, SiteRoutingSolution> cache_; |