29.4.1 CLB Software Input Registers

The CLB Software Input (CLBSWINU:H:M:L) 8-bit registers can be used by user software to 'bit-bang' values into the CLB Look-up Tables (LUTs). The CLB module can be programmed to use the bits from the CLBSWIN registers as inputs to the LUTs (see Figure 29-3).

Input register synchronization occurs when CLBSWINL is written by user software. When CLBSWINL is written, the contents of the all four registers are copied into holding latches, the CLBSWIN Register Input Busy (BUSY) bit is set (BUSY = '1'), and the CLBSWINx registers are locked and cannot be modified. Once synchronization is complete, module hardware clears the BUSY bit, and the CLBSWINx registers are unlocked and ready to be modified.

Important: The CLBSWINU, CLBSWINH, and CLBSWINM registers must be written prior to writing the CLBSWINL register, otherwise the current values in each respective register will be latched once CLBSWINL is written.