diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-03-30 13:23:15 -0700 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-03-30 13:24:39 -0700 |
commit | 8675945b2681611fbed2c97660d0e848a6fd099c (patch) | |
tree | 32aa9fc88383ac445694351ab6b63c3bcc608a41 /fpga_interchange/dedicated_interconnect.h | |
parent | 4dc45ffdc8d61a03115b422904be3b9c7f31b1d5 (diff) | |
download | nextpnr-8675945b2681611fbed2c97660d0e848a6fd099c.tar.gz nextpnr-8675945b2681611fbed2c97660d0e848a6fd099c.tar.bz2 nextpnr-8675945b2681611fbed2c97660d0e848a6fd099c.zip |
Fix bug where DedicateInterconnect incorrectly allows some placement.
This occurs when the driver pin and sink pin are part of the same site,
but not reachable with site routing only.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/dedicated_interconnect.h')
-rw-r--r-- | fpga_interchange/dedicated_interconnect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/dedicated_interconnect.h b/fpga_interchange/dedicated_interconnect.h index 900a82f3..9ddb05fd 100644 --- a/fpga_interchange/dedicated_interconnect.h +++ b/fpga_interchange/dedicated_interconnect.h @@ -137,7 +137,7 @@ struct DedicatedInterconnect void find_dedicated_interconnect(); void print_dedicated_interconnect() const; - bool check_routing(BelId src_bel, IdString src_bel_pin, BelId dst_bel, IdString dst_bel_pin) const; + bool check_routing(BelId src_bel, IdString src_bel_pin, BelId dst_bel, IdString dst_bel_pin, bool site_only) const; void expand_sink_bel(BelId bel, IdString pin, WireId wire); void expand_source_bel(BelId bel, IdString pin, WireId wire); |