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
I am almost done moving the website over but I already posted the .zip in the forums. Search for it and you will be able to find it. Good luck.
Bart - Altera_Forum
Honored Contributor
--- Quote Start --- I have attached a few pieces of my hardware description in VHDL. Note that is for the Wolfson WM8731 on the DE1 board. But the DE2 has the same chip so the attached hardware description should work with the appropriate pin assignment modifications. Note that I could not upload clockBuffer.vhd because of the 5 file limit. BUT you should be able to easily create the clockBuffer using the MegaIP wizard. Also I do not claim my code is the best (especially the i2c part) but it does the job. You should go through the code and understand how it works. Honestly, if you are a beginner with VHDL and DE2, it may be very difficult to finish this project in 10 days (unless you have previous hardware design experience). Good luck. Bart --- Quote End --- i already run the file that u upload...but the coding have error after compilation. the error's message: [Error: Node instance "i2cController" instantiates undefined entity "i2c_controller"] mbharat, could you pls help me to fixed this error. tq - Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
plsss help me....
i still can't fixed the same error Error: Node instance "i2cController" instantiates undefined entity "i2c_controller" i run the coding that uploaded by mbharat using Quartus II 9.1sp2 web edition. pls help me coz i need to complete my mini project by next 2 weeks.... - Altera_Forum
Honored Contributor
yes, a have looked at that link (opencores.org)...but i didn't find anything that will help me in order to fixed that error....
i need to fixed that error because my project is related to the coding that was uploaded by mbharat.... anyone here, plsssss help me....really mean it. - Altera_Forum
Honored Contributor
The entity "i2c_controller" is probably defined in a different file. Try to look up for the file that defines it, and check that it is included in your Quartus project. If not, include it.
- Altera_Forum
Honored Contributor
--- Quote Start --- The entity "i2c_controller" is probably defined in a different file. Try to look up for the file that defines it, and check that it is included in your Quartus project. If not, include it. --- Quote End --- Daixiwen, i already put all the file that was uploaded by mbharat in one folder and include the entire file in my Quartus project. But when i compiled it, still have the same error: [Error: Node instance "i2cController" instantiates undefined entity "i2c_controller"]. When i click the error message, it show the error is at this command line: i2cController : i2c_controller port map (i2cClock20KHz,scl,sda,i2cControllerData,reset,i2cRun,done,'0',ack); FYI, I used De2 Altera, Cyclone II, device EP2C35F672C6. Daixiwen , mbharat and anyone here please help me. I'm really new for this software and I don't know anything about VHDL Quartus II, I just try my best to complete the task given by lecturer. I'm really sorry for disturbing all of you here. But I really need help to complete my project. Really pls help me. - Altera_Forum
Honored Contributor
Which project from the link mbharat put did you use? I had a quick look at "Audio Codec Interface" and I didn't find the line you are referring to.
- Altera_Forum
Honored Contributor
Daixiwen, i refer at the 1st page of this thread (help for audio codec using VHDL).
mbharat have uploaded the entire files. - Altera_Forum
Honored Contributor
@mbharat, im really sorry to disturbing you,
could u pls help me in order to fixed the error [Error: Node instance "i2cController" instantiates undefined entity "i2c_controller"]. seriously i cant fixed that error by referring the link http://www.alterawiki.com/wiki/de1_board. im really sorry to bother u. im really desperate to complete the project. pls