Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHi guys , I'm trying to understand the audio demo example for the altera De2 that comes into the CD
I'm reading the datasheet from wolfson(wm8731). At moment I doesn't know how they are using the index in the ROM array. ROM[0]= 16'h0c00; //power down ROM[1]= 16'h0ec2; //master ROM[2]= 16'h0838; //sound select ROM[3]= 16'h1000; //mclk ROM[4]= 16'h0017; // ROM[5]= 16'h0217; // ROM[6]= {8'h04,1'b0,vol[6:0]}; // ROM[7]= {8'h06,1'b0,vol[6:0]}; //sound vol //ROM[4]= 16'h1e00; //reset ROM[`rom_size]= 16'h1201;//active Can you explain me please? Thank you.