Synthesis of Combined Finite State Machine with FPGAs