From 302ccc14cfa4344aeefa413e4d686e1c279552fa Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 29 Jun 2018 19:58:08 +0200 Subject: ice40: UltraPlus SPRAM working Signed-off-by: David Shah --- ice40/arch.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ice40/arch.cc') diff --git a/ice40/arch.cc b/ice40/arch.cc index 6bca62e4..b16a9f43 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -56,8 +56,8 @@ IdString Arch::belTypeToId(BelType type) const return id("SB_LEDDA_IP"); if (type == TYPE_SB_RGBA_DRV) return id("SB_RGBA_DRV"); - if (type == TYPE_SB_SPRAM256KA) - return id("SB_SPRAM256KA"); + if (type == TYPE_ICESTORM_SPRAM) + return id("ICESTORM_SPRAM"); return IdString(); } @@ -91,8 +91,8 @@ BelType Arch::belTypeFromId(IdString type) const return TYPE_SB_LEDDA_IP; if (type == id("SB_RGBA_DRV")) return TYPE_SB_RGBA_DRV; - if (type == id("SB_SPRAM256KA")) - return TYPE_SB_SPRAM256KA; + if (type == id("ICESTORM_SPRAM")) + return TYPE_ICESTORM_SPRAM; return TYPE_NONE; } -- cgit v1.2.3