Need help in adding functionality to MIPS single cycle datapath?

The top design is a single cycle and the bottom design is a pipeline design.