title: Sound generator on FPGA with VHDL code
body: <p>I need to use keyboard as input for musical notes, and digilent speaker as output.
  I plan to use only one octave. 
  My most intriguing questions are:</p>
  
  <ol>
  <li><p>How do I represent the musical notes in VHDL code.</p></li>
  <li><p>How do I (or do I need to) implement a DAC module that uses Spartan 3E Starter's built-in DAC? I have read on other forums that it can't be implemented. I need to use it in order to transmit the note to the speaker. The teacher who supervises my and my colleagues' projects suggested me to look into PWM for that(but all I've found is explained in electronic manner, no accompanying code, or explanation on implementation).</p></li>
  <li><p>Besides keyboard controller, a processing module(for returning the note corresponding to the pressed key from the notes vector) and DAC, that I have figured out so far that I need, what else do I need.</p></li>
  </ol>