modefied gmii_rec.v apple_out.v