Forum: FPGA, VHDL & Verilog VHDL Audio Codec

Author: Kody Haugli (Company: Student) (kodyhaugli)
Posted on:

Rate this post
0 useful
not useful

I am doing a project for one of my 4th year classes for Electrical 
Engineering which is based around active noise cancelation. I have a 
Digilent ZYBO Zynq 7000 Development Board and run the Vivado program.

Our board has a mic in port and a headphone out port and what I am 
trying to do is build a codec for an incoming noise signal although I am 
having some trouble starting out. I have came across some example IP 
block diagrams from the Digilent website that deals with audio and video 
codec, but I can't seem to access the VHDL code.

I was wondering if anyone would have some information on where I could 
find some good starting tips/code for an audio codec?

As well I was wondering if anyone is familiar with Vivado and System 
Generator and could explain how System Generator generates IP from 
simulink block diagrams.

Thank you.

Author: freelancer (Guest)
Posted on:

Rate this post
0 useful
not useful
forget it

simulink and system generator is a world which requires about two years 
to learn about and vivado is also not self explaining.

you are running in too large steps - why don't you start with the maths 
and algorithms behind noise cancelling?

an audio codev in vhdl is not required in any way, since this should be 
done in hardware. you only need some configuration of the codec and an 
input output system with your code in between.

Author: uwe (Guest)
Posted on:

Rate this post
0 useful
not useful
You need to read:
and page 23 of
The audio codec itself has an DSP inside. You have to configure the 
Codec so you get audio data in the FPGA. You have to implement a I2S or 
I2C statemachine.

Author: Valko Zapalko (hydravliska)
Posted on:

Rate this post
0 useful
not useful
You should start with simple tasks as freelancer suggested. The first 
thing you may try is to output something on the "headphone out" port. 
Then you may try to sample the input coming over the MIC port. Then you 
may try to speak on the MIC and output it on the HEADPHONE port.

This sounds simple but you still require to generate/extend your design. 
Basics such as clock generation and synchronizing all the stuff and so 
on are things which you need to take care of.

Once you have the pipeline MIC_IN -> FPGA -> HEADPHONE_OUT it will be 
much easier for you to add a processing module to it.



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.