Forum Discussion
help for audio codec using VHDL
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 appreciated72 Replies
- Altera_Forum
Honored Contributor
It looks like the i2c_controller is indeed missing from the files, that's why you can't compile the project. I don't recognise the component ports, it doesn't look like something from opencores but more like a custom component made for the demonstration.
- Altera_Forum
Honored Contributor
actually, i want to do a project to produce any funny sound. So, i thought that the file uploaded by @mbharat will help me...
first of all i need to create sound using vhdl. Then, i can change the sound by manipulating the frequency. But i dnt know how to do. i saw the file by mbharat have audio codec, thats why i thought it will help me because im really zero in VHDL Quartus II.. tq - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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... - Altera_Forum
Honored Contributor
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. - Altera_Forum
Honored Contributor
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.. - Altera_Forum
Honored Contributor
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.. - Altera_Forum
Honored Contributor
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.. - Altera_Forum
Honored Contributor
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.. - Altera_Forum
Honored Contributor
--- 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? [email protected]