991 - In LatticeECP2M external LSM mode, how does the word aligner hunt for comma during word alignment?

991 - In LatticeECP2M external LSM mode, how does the word aligner hunt for comma during word alignment?

When attribute CHx_COMMA_ALIGN is set to "DYNAMIC", the protocol specific Link State Machines are bypassed. In that case, the word aligner will lock alignment (it will stop comparing the incoming data to the user-defined word alignment characters and will maintain current alignment) on the first successful compare to either the first or second user-defined word alignment character after ffc_enable_cgalign_ch(0-3) is pulsed low for at least one clock cycle. Any subsequent low pulse on the ffc_enable_cgalign_ch(0-3) port at the FPGA interface will unlock the word aligner. The word aligner will then re-lock on the next match to one of the user-defined word alignment characters. If desired, ffc_enable_cgalign_ch(0-3) can be controlled by a Link State Machine implemented
externally to the PCS quad to allow a change in word alignment only under specific conditions.

Note: ffc_enable_cgalign_ch(0-3) is active high signal! After it's first successful hunt, this signal can be left steady high or low. When the next word hunt is needed, this signal needs to stay in low state for minimum one clock cycle and then go high in order to start new word hunt.