Hi Jamsay,You can go through the below training for programming. 'Veriog HDL Basics' - https://www.altera.com/support/training/course/ohdl1120.html/ 'VHDL Basics' - https://www.altera.com/support/training/course/ohdl1110.html Its free to register. Hope this may help you. Thanks.
That is a very broad term.Do you mean program an FPGA? Or some other hardware? And what do you want to program it with? what function do you want the hardware to have?