• 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. Custom IC Design
  3. deepprobe to access verilogA

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 7007
  • 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

deepprobe to access verilogA

sjwprcker
sjwprcker over 2 years ago

Hi, I wish to use deepprobe to access waveform of signal in verilogA. 

The signal is not a electrical signal, but a real number. 

Is that possible? Or is there anyway to transfer such a waveform to top level in test bench?

BR

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Not with deepprobe, because that just creates an iprobe between two nodes - and the real number is not a node.

    You could access it with $cgav in a Verilog-A model. Using this Verilog-A model would do the trick:

    //
    
    `include "disciplines.vams"
    module measure (op);
    output op;
    electrical op;
    
    parameter string path="I1.R1.vpot";
    real measured;
    
    analog begin
      measured=$cgav(path,"param");
      //$strobe(measured);
      V(op)<+measured;
    end
    endmodule

    However, if you instantiate this in your test bench and set the path param to the hierarchical path to the variable you want (with dots as the separator), it will fail with an error saying that the output contribution is from a cds_get_analog_value and so can't properly control convergence. You can avoid this by adding -va,cgav_in_contrib to the Spectre command-line options (in ADE via User Command Line Options in Setup→Environment). You should be careful though - if the variable changes instantaneously, that will causes discontinuities (perhaps there should be a transition() around the measured in the model above? In other words, caveat emptor.

    Andrew

    • 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