Realtime Hardware Simulation and Modeling: MIPS CPU Architecture