From 5cf2f8d1ea60537f0c2061451b83e8eb2ba3eefa Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Mon, 1 Feb 2021 10:23:21 -0800 Subject: Seperate PipRange types in pybindings_shared. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- nexus/arch.h | 1 - nexus/arch_pybindings.cc | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nexus') diff --git a/nexus/arch.h b/nexus/arch.h index 8952ba6f..56b48bf3 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -999,7 +999,6 @@ struct Arch : BaseCtx BelId getBelByLocation(Loc loc) const { - BelId ret; auto &t = tileStatus.at(loc.y * chip_info->width + loc.x); if (loc.z >= int(t.bels_by_z.size())) return BelId(); diff --git a/nexus/arch_pybindings.cc b/nexus/arch_pybindings.cc index caab8312..1a3890ff 100644 --- a/nexus/arch_pybindings.cc +++ b/nexus/arch_pybindings.cc @@ -51,7 +51,8 @@ void arch_wrap_python(py::module &m) typedef std::unordered_map HierarchyMap; typedef std::unordered_map AliasMap; - typedef UpDownhillPipRange PipRange; + typedef UpDownhillPipRange UphillPipRange; + typedef UpDownhillPipRange DownhillPipRange; typedef WireBelPinRange BelPinRange; #include "arch_pybindings_shared.h" -- cgit v1.2.3