3659 - LatticeXP2: Please explain how the "DONE_EX" preference works?

3659 - LatticeXP2: Please explain how the "DONE_EX" preference works?

When this preference is set to ON that means we can control the wake up sequence by controlling the DONE pin externally. If we are not controlling DONE pin by external means when this preference is ON and DONE is not pulled low, then device will wake up in the same manner as it would with the “DONE_EX” preference is set to OFF. That means logic just looks for the Internal DONE Bit, not the DONE PIN.