You can have a reference to some sample code about 8b/10b and manchester endec from xilinx.com. you can also try some ampp core from altera.com if you are altera user.
Ya I used altera also.. But I have to use xilinx this time.... and I cant buy core also as per project cost... I have to write code myself... Can u help me for the same...
one paper from IBM lab can tell you how to write 8B/10B encoder/decoder. you can search it.
i remember one master's paper is about how to write it.
but it is chinese.