Jose:
There is a project, with code that might help, at:
http://wiki.analog.com/resources/fpga/altera/ced1z/ad7763
If you have questions about the software, ask on the no-os section of engineerzone.
If you have questions about the HDL, ask on the FPGA support section of engineerzone.
-Robin