aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-06 11:43:24 +0100
committerGitHub <noreply@github.com>2021-07-06 11:43:24 +0100
commitc0bb2fb76a700a1ff3b9aaa663cfd70194df2a3a (patch)
tree11d7496a94275f54e98d566958890285e18a3104 /fpga_interchange/arch.h
parent8a9fb810369aeb5eed128ef4e7d4de456ef1ec8f (diff)
parent31abefc8e49edce55fb42c99ac99b81e948d9004 (diff)
downloadnextpnr-c0bb2fb76a700a1ff3b9aaa663cfd70194df2a3a.tar.gz
nextpnr-c0bb2fb76a700a1ff3b9aaa663cfd70194df2a3a.tar.bz2
nextpnr-c0bb2fb76a700a1ff3b9aaa663cfd70194df2a3a.zip
Merge pull request #750 from YosysHQ/gatecat/io-improve
IO improvements for OBUFTDS
Diffstat (limited to 'fpga_interchange/arch.h')
-rw-r--r--fpga_interchange/arch.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index 6e77054f..896a603a 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -576,7 +576,8 @@ struct Arch : ArchAPI<ArchRanges>
const PipInfoPOD &pip_data = pip_info(chip_info, pip);
for (int32_t wire_index : pip_data.pseudo_cell_wires) {
wire.index = wire_index;
- assign_net_to_wire(wire, net, "pseudo", /*require_empty=*/true);
+ if (getBoundWireNet(wire) != net)
+ assign_net_to_wire(wire, net, "pseudo", /*require_empty=*/true);
}
if (pip_data.pseudo_cell_wires.size() > 0) {
@@ -708,7 +709,8 @@ struct Arch : ArchAPI<ArchRanges>
// -------------------------------------------------
- void place_iobufs(WireId pad_wire, NetInfo *net, const pool<CellInfo *, hash_ptr_ops> &tightly_attached_bels,
+ void place_iobufs(WireId pad_wire, NetInfo *net,
+ const dict<CellInfo *, IdString, hash_ptr_ops> &tightly_attached_bels,
pool<CellInfo *, hash_ptr_ops> *placed_cells);
void pack_ports();