add read and write port into MC.v