FSM Implementation in Embedded Memory Blocks of Programmable Logic Devices Using Functional Decomposition