Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Implementation of ADC

Status
Not open for further replies.

student21

Newbie level 4
Joined
Oct 10, 2019
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
56
Hello,

Can anyone help me to know that is it possible to implement any ADC on FPGA board by using Verilog code? Or should i have to go through circuitry, and here i am not talking about implementation of onboard ADC or some external readymade ADC .
 

Implemetation of ADC

Hello,

I want to know that can any adc implementation on fpga board by using verilog code is possible or not? Here i am not talking about implementing the onboard adc or using external readymade adc. Can anyone help me please
 

Re: Implemetation of ADC

It's not possible without an analog function. Verilog is only describing digital signals.

I have seen the FPGA development boards that implemented a simple first order sigma-delta ADC by utilizing a differential LVDS input as comparator and a digital output with an RC low pass as feedback DAC.
 
You need more than Verilog code, you need analog circuitry to implement an ADC: comparators or opamps, etc. Unless your FPGA has those features, you're not going to be able to create an ADC.
 

You'll find a handful of tricks for using digital FPGA pins as an ADC. For example an LVDS input is basically a comparator. If your FPGA has that as an option you can compare an unknown input to a voltage ramp. That voltage ramp can be generated by a PWMing another FPGA pin that's filtered with an RC. See here:

https://www.digikey.com/Site/Global/Layouts/DownloadPdf.ashx?pdfUrl=1917FDE797264CB5884147EAD25E9F93

But that's a bit of a hack. Generally if you want an ADC you should buy one and interface it to your FPGA (SPI is a good choice) or choose an FPGA that has an ADC built in (many do these days).
 
Thanks for reply, Actually i don't want to use inbuilt ADC and also don't want to buy any ADC to interface with my FPGA. Instead of these i want to implement my own ADC and i know it is possible by making circuitry in Cadence or some other software, but my concern or question is, Instead of designing a circuit is it possible to implement complete ADC by using verilog programming?
If Yes, then how we can write program for Analog part?

Thank you
 

Read post #3 again. adsff explains how to use the digital elements of an FPGA to effect analog functions. But you can't "write program for analog part" in Verilog, but you can write the digital control part.
 
Ok Thankyou all for helping me, but can i take any analog signal from matlab or any other software and store it and attach it to my verilog program as analog input signal of ADC and see the results in any software like chipScope pro ,is it possible?

By the way i am using Xilinx ise for verilog programming
 

Ok Thankyou all for helping me, but can i take any analog signal from matlab or any other software and store it and attach it to my verilog program as analog input signal of ADC and see the results in any software like chipScope pro ,is it possible?

By the way i am using Xilinx ise for verilog programming
Do you understand the difference between analog and digital signal? A Xlinx FPGA is a digital device it works with two voltage states to do something. It can't use analog signals to suddenly work as an analog device.

You can't take an analog signal and stick it into a Verilog program. You can digitize an analog signal, which is why the devices that do this are called Analog to Digital Converters (ADC). You could generate a signal from matlab or other software and format it into fixed point, integer or even IEEE float and load the equivalent binary or hex data into an array in Verilog to read out over Chipscope Pro, but why?

I don't understand your objective here, what you seem to be trying to accomplish is better done using an actual ADC. If you are trying to learn about FPGAs then what you are attempting is, IMO, a complete waste of time.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top