Text this: Finite State Machine Logic Synthesis for Complex Programmable Logic Devices