aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/site_arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-01 11:08:36 +0100
committergatecat <gatecat@ds0.me>2021-07-01 11:28:12 +0100
commit523ffbaa37a367557da434752cb286643e24b627 (patch)
treee84b3942906526958d223f7d62b53f62571c82d7 /fpga_interchange/site_arch.h
parent2124da44d87353dd0c7b0d2bf57ddf7789d9c39c (diff)
downloadnextpnr-523ffbaa37a367557da434752cb286643e24b627.tar.gz
nextpnr-523ffbaa37a367557da434752cb286643e24b627.tar.bz2
nextpnr-523ffbaa37a367557da434752cb286643e24b627.zip
interchange: Reserve site ports only reachable from dedicated routing
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'fpga_interchange/site_arch.h')
-rw-r--r--fpga_interchange/site_arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpga_interchange/site_arch.h b/fpga_interchange/site_arch.h
index 54b91a4a..81c0b96c 100644
--- a/fpga_interchange/site_arch.h
+++ b/fpga_interchange/site_arch.h
@@ -260,6 +260,9 @@ struct SiteArch
std::vector<SiteWire> out_of_site_sources;
std::vector<SiteWire> out_of_site_sinks;
+ // A site port that is present in this dictionary is blocked for all those nets except any in the attached pool
+ dict<PipId, pool<NetInfo *, hash_ptr_ops>> blocked_site_ports;
+
SiteArch(const SiteInformation *site_info);
inline SiteWire getPipSrcWire(const SitePip &site_pip) const NPNR_ALWAYS_INLINE;