Design of the Advanced Pipelined CPU in Logic-SIM