--- Quote Start ---
I have a Cyclone II EP2C20F484C7, and have only the user guide, can you please tell me where can I get this kind of exemple with interfacing to input and output of data?
--- Quote End ---
Can you please clarify - do you only have a chip, not a board?
You should really start with a development board. Look at the boards by Terasic, they are all very nice, and lots of the people on this forum use them, eg., the DE0-nano is $79.
http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=139&no=593 or the DE0 for $119
http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=56&no=364 Once you understand how to use these boards, then you will understand how to design your own.
Cheers,
Dave