• 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. Verilog-A transition filter warning from spectre

Stats

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

Verilog-A transition filter warning from spectre

CTDSM
CTDSM over 9 years ago

I'm using transition filter to create a verilog A model for a sample and hold with finite rise and fall time, unlike the ahdlLib sample and hold which has very sharp rise and fall time. My code is as below

module sah_ideal_risefall(vin, vout, vclk);
input vin, vclk;
output vout;
electrical vin, vout, vclk;
parameter real vtrans_clk = 2.5;
parameter real risefalltime = 15p;
real vout_val;

    analog begin
        @(initial_step) begin
            vout_val = 0;
        end
        @(cross(V(vclk) - vtrans_clk, +1)) begin
            vout_val = V(vin);
        end
        V(vout) <+ transition(vout_val,0,risefalltime);
    end
endmodul

During simulation spectre is giving a warning as,

line 22: Transition filter contains a continuous signal in the expression. Since a transition filter can only be applied to piecewise constant signals, redefine the expression to ensure that the transition filter applies only to a piecewise constant signal.

Since I was updating the variable at the rising edge of the clock, I assumed the variable will be piecewise linear. If so this warning shouldn't be appearing. Does anyone have any idea why this warning is showing up?

Thank you in advance

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    I think the current code checks can't always detect correctly the fact that something is actually updated discontinuously as in this case. I agree, it should do a better job - but in this case, the warning is a benign warning.

    Regards,

    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