aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/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 /ice40/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 'ice40/arch.h')
-rw-r--r--ice40/arch.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index 2e2018fb..3ae6ce65 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -471,29 +471,6 @@ struct Arch : BaseCtx
WireId getBelPinWire(BelId bel, PortPin pin) const;
PortType getBelPinType(BelId bel, PortPin pin) const;
-
- BelPin getBelPinUphill(WireId wire) const NPNR_DEPRECATED
- {
- BelPin ret;
- NPNR_ASSERT(wire != WireId());
-
- if (chip_info->wire_data[wire.index].bel_uphill.bel_index >= 0) {
- ret.bel.index = chip_info->wire_data[wire.index].bel_uphill.bel_index;
- ret.pin = chip_info->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 = chip_info->wire_data[wire.index].bels_downhill.get();
- range.e.ptr = range.b.ptr + chip_info->wire_data[wire.index].num_bels_downhill;
- return range;
- }
-
std::vector<PortPin> getBelPins(BelId bel) const;
// -------------------------------------------------