aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chip.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/chip.cc')
-rw-r--r--ice40/chip.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ice40/chip.cc b/ice40/chip.cc
index 3a79d65f..b2601e2a 100644
--- a/ice40/chip.cc
+++ b/ice40/chip.cc
@@ -30,6 +30,8 @@ IdString belTypeToId(BelType type)
return "ICESTORM_RAM";
if (type == TYPE_SB_IO)
return "SB_IO";
+ if (type == TYPE_SB_GB)
+ return "SB_GB";
return IdString();
}
@@ -41,6 +43,8 @@ BelType belTypeFromId(IdString id)
return TYPE_ICESTORM_RAM;
if (id == "SB_IO")
return TYPE_SB_IO;
+ if (id == "SB_GB")
+ return TYPE_SB_GB;
return TYPE_NONE;
}