aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/chip.h')
-rw-r--r--ice40/chip.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/ice40/chip.h b/ice40/chip.h
index a5fc7021..7ce1a406 100644
--- a/ice40/chip.h
+++ b/ice40/chip.h
@@ -35,7 +35,8 @@ struct DelayInfo
enum BelType
{
TYPE_NIL,
- TYPE_ICESTORM_LC
+ TYPE_ICESTORM_LC,
+ TYPE_SB_IO
};
IdString belTypeToId(BelType type);
@@ -44,6 +45,7 @@ BelType belTypeFromId(IdString id);
enum PortPin
{
PIN_NIL,
+
PIN_IN_0,
PIN_IN_1,
PIN_IN_2,
@@ -54,7 +56,18 @@ enum PortPin
PIN_COUT,
PIN_CEN,
PIN_CLK,
- PIN_SR
+ PIN_SR,
+
+ PIN_PACKAGE_PIN,
+ PIN_LATCH_INPUT_VALUE,
+ PIN_CLOCK_ENABLE,
+ PIN_INPUT_CLK,
+ PIN_OUTPUT_CLK,
+ PIN_OUTPUT_ENABLE,
+ PIN_D_OUT_0,
+ PIN_D_OUT_1,
+ PIN_D_IN_0,
+ PIN_D_IN_1
};
IdString PortPinToId(PortPin type);