delhatch / Spectrum

Spectrum analyzer system using a 512-point FFT, in a Cyclone IV FPGA. Reads i2s audio from the codec and then does all FFT/VGA functions. Nios just reads the FFT result and draws the display bars. VGA frame buffer on-chip. VGA signals generated on-chip. See the included video files to watch it in action.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpectrumAnalyzer

This design implements an audio real-time analyzer (RTA), or spectrum analyzer, that converts the audio time-domain signal into a frequency-domain signal. It then displays the spectrum as a series of bars, with the frequency axis in the log domain rather than linear. Log/log is the best mode for analyzing/viewing audio waveforms.

Link_to_video

Image

This project uses the Cyclone IV FPGA used in the DE2-115 evaluation board to:

a) configure and interface to the audio codec

b) buffer the audio samples into a FIFO

c) feed the samples into an FFT

d) collect the results into a dual-port RAM

e) instantiate a Nios soft-core processor

f) interface the RAM onto the Nios bus to read the resuslts

g) FPGA also has a VGA frame buffer and creates the VGA waveform

h) allows the Nios to draw pixels into the VGA frame buffer

The Nios processor reads the FFT data, groups high frequency bins together to display the spectrum in log fashion, and then draws bars into the VGA frame buffer.

About

Spectrum analyzer system using a 512-point FFT, in a Cyclone IV FPGA. Reads i2s audio from the codec and then does all FFT/VGA functions. Nios just reads the FFT result and draws the display bars. VGA frame buffer on-chip. VGA signals generated on-chip. See the included video files to watch it in action.


Languages

Language:VHDL 26.8%Language:Verilog 23.0%Language:C 17.5%Language:SystemVerilog 14.3%Language:HTML 6.3%Language:C++ 5.0%Language:Makefile 2.4%Language:Tcl 1.9%Language:Assembly 1.5%Language:Shell 0.7%Language:Logos 0.2%Language:MATLAB 0.2%Language:GDB 0.0%Language:Stata 0.0%Language:Scheme 0.0%Language:Batchfile 0.0%Language:Mathematica 0.0%