aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-22 19:58:17 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-22 19:58:17 +0200
commitb9c413a5aa06a325de5c55e254441aee58143676 (patch)
tree2424c2868b621b76ae4ac869ee53b0cf247b83e5 /ecp5/arch.h
parentf93fc6fa79276a82b8f6d1070d7f7ddcd65254b2 (diff)
downloadnextpnr-b9c413a5aa06a325de5c55e254441aee58143676.tar.gz
nextpnr-b9c413a5aa06a325de5c55e254441aee58143676.tar.bz2
nextpnr-b9c413a5aa06a325de5c55e254441aee58143676.zip
Move to new API and remove deprecated
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r--ecp5/arch.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h
index b6aec856..cce9f09d 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -490,31 +490,6 @@ struct Arch : BaseCtx
WireId getBelPinWire(BelId bel, PortPin pin) const;
- BelPin getBelPinUphill(WireId wire) const NPNR_DEPRECATED
- {
- BelPin ret;
- NPNR_ASSERT(wire != WireId());
-
- if (locInfo(wire)->wire_data[wire.index].bel_uphill.bel_index >= 0) {
- ret.bel.index = locInfo(wire)->wire_data[wire.index].bel_uphill.bel_index;
- ret.bel.location = wire.location + locInfo(wire)->wire_data[wire.index].bel_uphill.rel_bel_loc;
- ret.pin = locInfo(wire)->wire_data[wire.index].bel_uphill.port;
- }
-
- return ret;
- }
-
- BelPinRange getBelPinsDownhill(WireId wire) const NPNR_DEPRECATED
- {
- BelPinRange range;
- NPNR_ASSERT(wire != WireId());
- range.b.ptr = locInfo(wire)->wire_data[wire.index].bels_downhill.get();
- range.b.wire_loc = wire.location;
- range.e.ptr = range.b.ptr + locInfo(wire)->wire_data[wire.index].num_bels_downhill;
- range.e.wire_loc = wire.location;
- return range;
- }
-
BelPinRange getWireBelPins(WireId wire) const
{
BelPinRange range;