Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

help for audio codec using VHDL

Altera_Forum
Honored Contributor II
23,863 Views

i am a begineer at using altera DE2 board and VHDL. i have to complete my project with in 10 days time but dont have any idea of where to start and how.. help ......... 

i need to build a duplex audio system that works similar to a phone but here CDMA must be considered.  

first i would like to have some good advice on where to start and how .... on audio CODEC  

any help would be more than appreciated
0 Kudos
72 Replies
Altera_Forum
Honored Contributor II
2,303 Views

hi mbharat, 

sorry to bother u, i tried to run ur coding using quartus II 9.1sp2 web edition and DE1 board, but there are error during compilation the entire file with DE1_Audio_AdcDac.vhd as a top level. What should i do? 

The errors are: 

Error: Node instance "i2cController" instantiates undefined entity "i2c_controller" 

Error: Quartus II Analysis & Synthesis was unsuccessful. 1 error, 1 warning 

Error: Quartus II Full Compilation was unsuccessful. 3 errors, 1 warning 

when i click the error its appear at this line: 

i2cController : i2c_controller port map (i2cClock20KHz,scl,sda,i2cControllerData,reset,i2cRun,done,'0',ack); 

ur response and ur help is really appreciated. tq
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

bro i am using audio codec for ADC conversion , so can you kindly suggest which one of the above code should i use .. i am using DE2-115 board. 

do reply 

thanks...
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

Thanks for asking. I realized that i had not updated the links on the DE1 site ever since I quit being a faculty. 

 

Anyway, to answer your question, the controller for the DE1 should work since it is the same audio codec IC on the DE2-115: 

 

http://www.harpgroup.org/digitalsystemsdesign/ee3921/audio/vhdl/ 

 

Good luck.
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

thankyou mbharat for reply..i just want to know that which one of the vhdl codes which you have uploaded should i use just for 

ADC conversion in DE2_115 board..do i need to use all codes? because i just want the ADC conversion of signal coming from line input.. 

thanks.. 

looking forward for your reply..
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

thanks for help mbharat. 

i need to know about clock_27 

how can i generate it and in your top_module you placed clock_27 in entity so what should be its pin assignment 

.. 

need help very urgent..thanks..
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

mbharat i read your attached files , and complied too, but there is missing file i think which is i2cc controller file which you have  

used in audio_codec controller.. 

can you help me with this.. 

thanks..
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

mbharat your files were a lot of help to me... 

but can you help us with i2c..its missing form the files.. 

i aslo went to link you provided( neuron model) but i didnt get the help for i2c  

please do respond.. 

thanks..
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

 

--- Quote Start ---  

would you please upload it with the whole project .... that would be of great help... please zip all the project file and upload it........... that would be helpful... anyways than you for your update 

--- Quote End ---  

 

Hello i also need help on this topic 

can u send me the file please? 

serge_dingong@yahoo.fr
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

 

--- Quote Start ---  

nope i didnt find anything there i just need codes to get audio from the audio input port and then output it thourh the other audio playing port in VHDL 

--- Quote End ---  

 

 

 

Hello , Can you tell me how you did this audio codec application? can you tell me about the whole project?
0 Kudos
Altera_Forum
Honored Contributor II
2,303 Views

Can one of you upload i2ccontroller vhdl file please. I would like to adapt it for DE1-SOC.

0 Kudos
Reply