aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-08 19:36:05 +0200
committerGitHub <noreply@github.com>2018-08-08 19:36:05 +0200
commitb326b03a5261a824f428fe0811a5376c8758b929 (patch)
treea13673a636ddbea3b5fd5585e3bb109b56b69435 /common/nextpnr.cc
parentcd4e761bb799ca99f02d3aa177961af28a93f2d8 (diff)
parentf6189e4677c7bdaeaa5b9b796a67d750e6c7d49d (diff)
downloadnextpnr-b326b03a5261a824f428fe0811a5376c8758b929.tar.gz
nextpnr-b326b03a5261a824f428fe0811a5376c8758b929.tar.bz2
nextpnr-b326b03a5261a824f428fe0811a5376c8758b929.zip
Merge pull request #45 from YosysHQ/constids
Get rid of PortPin and BelType
Diffstat (limited to 'common/nextpnr.cc')
-rw-r--r--common/nextpnr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/nextpnr.cc b/common/nextpnr.cc
index 3bdca166..b04679ad 100644
--- a/common/nextpnr.cc
+++ b/common/nextpnr.cc
@@ -67,7 +67,7 @@ WireId Context::getNetinfoSourceWire(const NetInfo *net_info) const
if (driver_port_it != net_info->driver.cell->pins.end())
driver_port = driver_port_it->second;
- return getBelPinWire(src_bel, portPinFromId(driver_port));
+ return getBelPinWire(src_bel, driver_port);
}
WireId Context::getNetinfoSinkWire(const NetInfo *net_info, const PortRef &user_info) const
@@ -84,7 +84,7 @@ WireId Context::getNetinfoSinkWire(const NetInfo *net_info, const PortRef &user_
if (user_port_it != user_info.cell->pins.end())
user_port = user_port_it->second;
- return getBelPinWire(dst_bel, portPinFromId(user_port));
+ return getBelPinWire(dst_bel, user_port);
}
delay_t Context::getNetinfoRouteDelay(const NetInfo *net_info, const PortRef &user_info) const