diff options
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r-- | ice40/arch.cc | 8 |
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; } |