machxo2: Fix REGMODE identifier (per slice, not per-FF).

This commit is contained in:
William D. Jones 2021-01-31 23:29:04 -05:00 committed by gatecat
parent d0b822c036
commit c9487293e9
2 changed files with 2 additions and 5 deletions

View File

@ -59,12 +59,11 @@ std::unique_ptr<CellInfo> create_machxo2_cell(Context *ctx, IdString type, std::
new_cell->params[id_LSRONMUX] = std::string("LSRMUX");
new_cell->params[id_LUT0_INITVAL] = Property(0xFFFF, 16);
new_cell->params[id_LUT1_INITVAL] = Property(0xFFFF, 16);
new_cell->params[id_REGMODE] = std::string("FF");
new_cell->params[id_REG0_SD] = std::string("1");
new_cell->params[id_REG1_SD] = std::string("1");
new_cell->params[id_REG0_REGSET] = std::string("SET");
new_cell->params[id_REG1_REGSET] = std::string("SET");
new_cell->params[id_REG0_REGMODE] = std::string("FF");
new_cell->params[id_REG1_REGMODE] = std::string("FF");
new_cell->params[id_CCU2_INJECT1_0] = std::string("YES");
new_cell->params[id_CCU2_INJECT1_1] = std::string("YES");
new_cell->params[id_WREMUX] = std::string("INV");

View File

@ -50,12 +50,11 @@ X(LSRMUX)
X(LSRONMUX)
X(LUT0_INITVAL)
X(LUT1_INITVAL)
X(REGMODE)
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)
@ -66,7 +65,6 @@ X(DI)
X(Q)
X(REGSET)
X(REGMODE)
X(FACADE_IO)