If you want to code it in HDL search for ROM in here: http://www.altera.com/literature/hb/qts/qts_qii51007.pdf
I typically just use 'altsyncram' in ROM mode, you can use the megawizard GUI to have one generated for you.
Also in Quartus II if you have a verilog/VHDL file open you can click on "Edit" --> "Insert Template" and then navigate to the language you are using --> "Full Designs" --> "RAMs and ROMs" --> and select the kind of ROM you want and it'll drop it into your source file for you to hack up after.