aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-29 19:58:08 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-29 19:58:08 +0200
commit302ccc14cfa4344aeefa413e4d686e1c279552fa (patch)
tree8cca689439240961e11f628760b86e7f25058063 /ice40/arch.cc
parent27e7bc3b4bb04b395db6456b71f31f98607a4298 (diff)
downloadnextpnr-302ccc14cfa4344aeefa413e4d686e1c279552fa.tar.gz
nextpnr-302ccc14cfa4344aeefa413e4d686e1c279552fa.tar.bz2
nextpnr-302ccc14cfa4344aeefa413e4d686e1c279552fa.zip
ice40: UltraPlus SPRAM working
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc8
1 files changed, 4 insertions, 4 deletions
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;
}