Problem in using Spectrum Function in Cadence IC6.13

Status
Not open for further replies.

amr.maghraby

Junior Member level 2
Joined
Dec 29, 2016
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
189
i am using cadence IC 6.13 virtuoso to design an ADC

i am trying to measure the SNR of that ADC , so i build an ideal DAC using Veriloga and take the output of the ADC to the input of the DAC and then i took the output signal from the DAC and export it to the calculator of the Cadence and then i used the spectrum function to find snhr.

there is a relation that relates the sampling frequency , input frequency , no. of cycles , & number of samples in the output signal identified by murmann in his lectures fs/fin = no. of samples/ no. of cycles

the SNR of an ideal 9-bit ADC should be 6.02N+1.76 which will be ≈ 55dB , the problem is that the snhr is only 49 dB , can anyone help me why??

fs = 512MHz , cycles = 3 , no. of samples = 1048576 , fin = 1464.84375 Hz
 
Last edited:

Maybe you should also do FFT and plot the spectrum. Thus you can see the harmonics and how large they are.
Also, do you wait enough time from the start of the simulations to let things settle initially?
 

I don't see any discrepancy here..
DAC is ideal by Verilog, the ADC is a circuit based right ??And you see 6dB difference in SNR compare to ideal one..
What is the problem ?? I think that is normal..
 

I don't see any discrepancy here..
DAC is ideal by Verilog, the ADC is a circuit based right ??And you see 6dB difference in SNR compare to ideal one..
What is the problem ?? I think that is normal..


no BigBoss
the ADC is also ideal with veriloga it should give me the ideal answer
and it did for the first 8-bits , but in the 9th bit through the 12th bit it gives me the same answer 49.4dB
 

Show me netlist and ocean script.

the netlist


The ocean script

 

Why is there no Tran statement in netlist ?
On the other hand, ocean specify Tran with stop=2.052m.

Show me followings.

Verilog-A code of dac and adc.

Include spectrum function in ocean.
Then show it.
Or show me setting of spectrum function.
 

Why is there no Tran statement in netlist ?
On the other hand, ocean specify Tran with stop=2.052m.

Show me followings.

Verilog-A code of dac and adc.

Include spectrum function in ocean.
Then show it.
Or show me setting of spectrum function.

the netlist

the spectrum function settings are
no. of samples = 1048576
no. of noise bins = 0
start frequency = 0
end frequency = ـــــ default value
window type = blackman
ADC span = 0
measure type = snhr

ADC code


DAC code

 

That is all the arguments in the spectrum function
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…