machxo2: Add initial set of constids for packing.

This commit is contained in:
William D. Jones 2020-11-23 11:20:39 -05:00 committed by gatecat
parent 1cde40792f
commit 5c30f95c42
2 changed files with 111 additions and 0 deletions

View File

@ -46,6 +46,20 @@ struct DelayInfo
}
};
enum ConstIds
{
ID_NONE
#define X(t) , ID_##t
#include "constids.inc"
#undef X
,
DB_CONST_ID_COUNT
};
#define X(t) static constexpr auto id_##t = IdString(ID_##t);
#include "constids.inc"
#undef X
typedef IdString BelId;
typedef IdString WireId;
typedef IdString PipId;

View File

@ -0,0 +1,97 @@
X(FACADE_SLICE)
X(A0)
X(B0)
X(C0)
X(D0)
X(A1)
X(B1)
X(C1)
X(D1)
X(M0)
X(M1)
X(FCI)
X(FXA)
X(FXB)
X(CLK)
X(LSR)
X(CE)
X(DI0)
X(DI1)
X(WD0)
X(WD1)
X(WAD0)
X(WAD1)
X(WAD2)
X(WAD3)
X(WRE)
X(WCK)
X(F0)
X(Q0)
X(F1)
X(Q1)
X(FCO)
X(OFX0)
X(OFX1)
X(WDO0)
X(WDO1)
X(WDO2)
X(WDO3)
X(WADO0)
X(WADO1)
X(WADO2)
X(WADO3)
X(MODE)
X(GSR)
X(SRMODE)
X(CEMUX)
X(CLKMUX)
X(LSRMUX)
X(LSRONMUX)
X(LUT0_INITVAL)
X(LUT1_INITVAL)
X(REG0_SD)
X(REG1_SD)
X(REG0_REGSET)
X(REG1_REGSET)
X(REG0_REGMODE)
X(REG1_REGMODE)
X(CCU2_INJECT1_0)
X(CCU2_INJECT1_1)
X(WREMUX)
X(FACADE_FF)
X(DI)
X(Q)
X(REGSET)
X(REGMODE)
X(FACADE_IO)
X(PAD)
X(I)
X(EN)
X(O)
X(DIR)
X(LUT4)
X(A)
X(B)
X(C)
X(D)
X(Z)
X(INIT)
X(PFUMX)
X(ALUT)
X(BLUT)
X(L6MUX21)
X(SD)