title: Having FPGA to output sound on "line out" pin using verilog
body: <p>I am trying to write a verilog code for FPGA which will output sound from the embedded "line out" pin. I use Quartus II and Altera DE1. </p>
  
  <p>I am new to hardware programming, therefore it just takes too much time for me to catch up with basics. Apparently I need to initialize the wolfson chip and need to write something to communicate with it, as discussed here:
  <a href="http://www.alteraforum.com/forum/showthread.php?t=6005" rel="nofollow">http://www.alteraforum.com/forum/showthread.php?t=6005</a></p>
  
  <p>It uses wolfson WM8731 codec, manual is in here:
  <a href="http://www.rockbox.org/wiki/pub/Main/DataSheets/WM8731_8731L.pdf" rel="nofollow">http://www.rockbox.org/wiki/pub/Main/DataSheets/WM8731_8731L.pdf</a></p>
  
  <p>and an example I found but couldnt figured out how to use it is in here:
  <a href="https://code.google.com/p/vector06cc/wiki/SoundCodec" rel="nofollow">https://code.google.com/p/vector06cc/wiki/SoundCodec</a></p>
  
  <p>I have found bunch of examples about how to generate sounds using GPIO pins, but barely anything about the usage of WM8731. I would really appreciate any guidance or experience you might share. </p>