• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Mixed-Signal Design
  3. The SNR of real signals are degrading in system Verilog...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 65
  • Views 10230
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The SNR of real signals are degrading in system Verilog model compare to analog signals

bikram1994
bikram1994 over 3 years ago

Hi

The SNR of real signals are degrading in system Verilog model compare to analog signals.

Am I missing anything in the setup or in the code?

Can I improve the SNR of real signal inside system Verilog model?

Please help me.

 

Here I have put the test bench and all .

Test Bench:

config:

Vinm:

                                                                  

vinp:

Code: SystemVerilog

//systemVerilog HDL for "ProjA1_AMS_tb", "INP_Check_sv" "systemVerilog"

`timescale 1ns / 1ps

module INP_Check_sv

(

input logic clk_5p4Ghz, //5.4Ghz clock

input real adc_in1 , // Signal time samples

input real adc_in2 , // Signal time samples

output bit [1:0] adc_out

);

real inp;

assign inp=(adc_in1-adc_in2)/2;

endmodule

 

 

 

Spectrum of vinp:

SNR=226.74dB

Spectrum of adc_in2:

SNR=52.7dB

 

 

 

 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    The issue is that you're seeing the behaviour of the electrical to real connect module that is being inserted automatically between the voltage sources and your SystemVerilog model (I didn't test this, but I'm sure this is going to be it). See the discussion on vdelta in this post.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Andrew Beckett

    I just went through checking this as you'd posted that it wasn't working, and having validated it, I see that you've deleted your post about it not working (so I assume you found the problem).

    Anyway, for completeness, here's the results I get (the step size in the transient waveform is tiny now - whereas it was very busy with the default vdelta):

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • bikram1994
    bikram1994 over 3 years ago in reply to Andrew Beckett

    Hi Andrew!

    Thank you very much. 

    Now it is working. I did a mistake in my setup.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information