A MIPS implementation in the Chisel hardware construction language