aboutsummaryrefslogtreecommitdiffstats
path: root/generic/arch.cc
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2020-10-15 12:22:15 +0200
committerGitHub <noreply@github.com>2020-10-15 12:22:15 +0200
commitd5dde5df4619f31d3fdd7c3ec3439c6989355894 (patch)
tree83d380897bc119f7f4295a8f795e23a826e62735 /generic/arch.cc
parent576baa994f4b9e1746a231469bfd9e65d1d5a2b4 (diff)
parentb18ea204c2cd88a5fad8989f4597cfa3a8152ca1 (diff)
downloadnextpnr-d5dde5df4619f31d3fdd7c3ec3439c6989355894.tar.gz
nextpnr-d5dde5df4619f31d3fdd7c3ec3439c6989355894.tar.bz2
nextpnr-d5dde5df4619f31d3fdd7c3ec3439c6989355894.zip
Merge pull request #509 from YosysHQ/dave/remove-wire-alias
Remove wire alias API
Diffstat (limited to 'generic/arch.cc')
-rw-r--r--generic/arch.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/generic/arch.cc b/generic/arch.cc
index 6979673a..4bf337bd 100644
--- a/generic/arch.cc
+++ b/generic/arch.cc
@@ -90,20 +90,6 @@ void Arch::addPip(IdString name, IdString type, IdString srcWire, IdString dstWi
tilePipDimZ[loc.x][loc.y] = std::max(tilePipDimZ[loc.x][loc.y], loc.z + 1);
}
-void Arch::addAlias(IdString name, IdString type, IdString srcWire, IdString dstWire, DelayInfo delay)
-{
- NPNR_ASSERT(pips.count(name) == 0);
- PipInfo &pi = pips[name];
- pi.name = name;
- pi.type = type;
- pi.srcWire = srcWire;
- pi.dstWire = dstWire;
- pi.delay = delay;
-
- wire_info(srcWire).aliases.push_back(name);
- pip_ids.push_back(name);
-}
-
void Arch::addBel(IdString name, IdString type, Loc loc, bool gb)
{
NPNR_ASSERT(bels.count(name) == 0);
@@ -467,8 +453,6 @@ const std::vector<PipId> &Arch::getPipsDownhill(WireId wire) const { return wire
const std::vector<PipId> &Arch::getPipsUphill(WireId wire) const { return wires.at(wire).uphill; }
-const std::vector<PipId> &Arch::getWireAliases(WireId wire) const { return wires.at(wire).aliases; }
-
// ---------------------------------------------------------------
GroupId Arch::getGroupByName(IdString name) const { return name; }