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
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
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
@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 - 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
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
--- 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
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
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
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