Optimization in Component Selection, Switching and Process Control of Serial Arithmetic and Logical Device Using FSM