--- Quote Start ---
When I run the GXB on the hardware the recieved data is different from the transmitted data..
Actually I gave the output of the counter(16bit counter running at 312.5MHz) as the transmitter input to the GXB....
--- Quote End ---
I didn't look at your design files, but I'll tell you what you should have.
The TX-to-RX path is serial, so whatever you send in parallel at the transmitter can be misaligned by any number of bits when received at the receiver. The receivers have word-alignment and bit-slipping controls. You need to first use those to align the receiver to your transmitted 8-bit/16-bit/32-bit data, and only then will your transmit data and receive data match. For example, you could send the static pattern ABCDh, and bit-slip at the receiver until you start receiving ABCDh, and then you would switch the transmitter to your counter.
Cheers,
Dave