which camera are you using?
and how you are converting the data digital, is it an external adc or inbuilt with camera?
the question you are asking is inappropriate, pls include some detail of components you are using, and what are you trying to do, then only someone can help..
i don't think you will get as it is code from somewhere, however digilent provides reference codes for the components they sell, so visit the digilent site to find some reference codes, and best option is to go with there VMOD CAM and there FPGA board.