aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2021-02-05 11:32:09 +0000
committerGitHub <noreply@github.com>2021-02-05 11:32:09 +0000
commitb0f9b7834e4cb035d1fd60f0fa1948c0fdfa233c (patch)
treed8b70c19580030a1ee28431b5d2287a0ae1690da /common/nextpnr.cc
parent40d026e6fc5ab94c732682c62a6803bd3140953e (diff)
parent450bfae86cc807e4aec8d3b725169fd044212079 (diff)
downloadnextpnr-b0f9b7834e4cb035d1fd60f0fa1948c0fdfa233c.tar.gz
nextpnr-b0f9b7834e4cb035d1fd60f0fa1948c0fdfa233c.tar.bz2
nextpnr-b0f9b7834e4cb035d1fd60f0fa1948c0fdfa233c.zip
Merge pull request #570 from litghost/make_id_string_list_explicit
Mark IdString and IdStringList single argument constructors explicit.
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 f7f368f1..fc70465c 100644
--- a/common/nextpnr.cc
+++ b/common/nextpnr.cc
@@ -805,9 +805,9 @@ void BaseCtx::attributesToArchInfo()
std::string pip = strs[i * 3 + 1];
PlaceStrength strength = (PlaceStrength)std::stoi(strs[i * 3 + 2]);
if (pip.empty())
- getCtx()->bindWire(getCtx()->getWireByName(id(wire)), ni, strength);
+ getCtx()->bindWire(getCtx()->getWireByName(IdStringList::parse(getCtx(), wire)), ni, strength);
else
- getCtx()->bindPip(getCtx()->getPipByName(id(pip)), ni, strength);
+ getCtx()->bindPip(getCtx()->getPipByName(IdStringList::parse(getCtx(), pip)), ni, strength);
}
}
}