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.

Plotting ADC transfer function in Cadence

Status
Not open for further replies.

mischivis

Junior Member level 2
Joined
Mar 24, 2011
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,425
I want to plot the output of my 9 bit ADC in a plot of code (from 0 to 512)
versus analog input voltage. Here is my setup: I put in a ramp from -FS
to FS. The length of the ramp is 512/Fs, where Fs=125Mhz so the length
is 4.096 uS in order to see all the code transitions.

My question is, when I plot the output of the ADC (after converting back), I
see a plot of code versus time. Is there a way in the calculator, etc. to create
this plot in terms of code versus the analog input voltage instead of time on the
X-axis? So the X-axis will be going from 0 to 2*FS, with each code step = 2*FS/512. Can I do this?
 

in Viva/Wavescan (but also in ADW) you can change the X axis with the signal that you want. For example you have to save the input signal (the voltage ramp that you put at the ADC input.
Then you plot the transient with output codes and the input voltage on the same graph. It must be the same graph.
Now from menu (or double click on Xaxis label name) set the X axis with the input voltage (from drop down menu).
 

Thank you so much! That worked. Now another question for you.
I want to operate on this waveform with an Ocean script. However,
the waveform on the graph shows something like:

VT("/OUT") vs VT("/IN")

where the "vs" I guess is versus. But when I try to operate on this in
Ocean script, it says: undefined variable "vs". Do you know what to
do? What I'm trying to do is execute my DNL/INL script on this.
 

i wanted to plot output code versus analog input voltage in matlab. Please give me some small example regarding that
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top