--- Quote Start ---
if I want to send pattern h1234 to be detected by the Fabric on the receiver end, how do I guarantee that the data at the receiver (rx_dataout [15..0]) will be h1234 and not hxx12 (first word) , h34xx (next word)
I guess in general I am asking how do I synchronize to know where my data begins on what byte , etc..
PS: first time using Transceivers
--- Quote End ---
What device are you using? Cyclone IV GX, Stratix IV GX/GT?
Read the Handbook for the transceiver, and look at the transceiver configuration section. The ALTGX component in Basic mode has a receiver pattern detect block which can be used to do what you want.
Take a look at the appropriate handbook and try to create an ALTGX component. If you get stuck, ask, and I'll try to help.
Cheers,
Dave