aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2019-02-19 14:12:54 +0000
committerDavid Shah <davey1576@gmail.com>2019-02-24 10:28:25 +0100
commit817ba5a4b9cb0b64b2a1170205a23e7a9107a84b (patch)
tree2dc1b807e5f62ecbe2bf9dbc1403f4715c075050 /common
parentfd52db813f2e4c3dd3c6a73a84be56ad9f9a11ea (diff)
downloadnextpnr-817ba5a4b9cb0b64b2a1170205a23e7a9107a84b.tar.gz
nextpnr-817ba5a4b9cb0b64b2a1170205a23e7a9107a84b.tar.bz2
nextpnr-817ba5a4b9cb0b64b2a1170205a23e7a9107a84b.zip
ecp5: Add DELAYF/DELAYG support
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/design_utils.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/design_utils.cc b/common/design_utils.cc
index a0b87764..8762f068 100644
--- a/common/design_utils.cc
+++ b/common/design_utils.cc
@@ -107,6 +107,8 @@ void disconnect_port(const Context *ctx, CellInfo *cell, IdString port_name)
return user.cell == cell && user.port == port_name;
}),
port.net->users.end());
+ if (port.net->driver.cell == cell && port.net->driver.port == port_name)
+ port.net->driver.cell = nullptr;
}
}