Implementation of a 32-bit Mips processor