EmbDev.net

Forum: FPGA, VHDL & Verilog Using ADC output in VHDL


Author: Francois Fmousse (fmousse)
Posted on:

Rate this post
0 useful
not useful
Hi everyone !

I made an ADC and I would like to work with the output data.
The output data from the ADC is :
Data : std_logic_vector(13 downto 0)
My objective is to do something like :
Interesting_output = A x Data(n-1) + B x Data(n) + C x Data(n+1)
But I don't know how to use the output from my ADC and convert it into a 
number (for example 11111111111111 = 2 [Volts] and 00000000000000 = 0,4 
[Volts])

Can someone help me?

: Edited by User
Author: Anna (Guest)
Posted on:

Rate this post
0 useful
not useful
Yes..

Author: Francois Fmousse (fmousse)
Posted on:

Rate this post
0 useful
not useful
How ? I don't know is my question is basic but I can't see where is the 
solution and how to do it...

Reply

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.