This reference design demonstrates using the Lattice memory mapped interface (LMMI) host logic to drive the LMMI interface of the CONFIG_LMMIC primitive. The LMMI protocol is used to perform LMMI read operations. When accessing any configuration (CFG) internal register or any other CFG data, the non-JTAG target command format must be followed.
By default, the reference design performs two LMMI read operations. These read operations demonstrate the READ_IDCODE_PUB command to read the 32-bit public IDCODE of the device and the READ_USERCODE command to read the 32-bit user code set through the Global tab of the Device Constraint Editor in the Lattice Radiant™ software. However, the reference design provides the flexibility to define the read operation commands as parameters in cmd_list.v.