• 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. How to generate Gausian pulse in cadence spectre

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 14742
  • 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

How to generate Gausian pulse in cadence spectre

800228
800228 over 15 years ago

Hello all,

Is there any way to generate Gausian pulse in cadence spectre?

If you know pls guilde me, thanks alot.

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    A quick bit of googling to find out what you meant by gaussian pulse, I then wrote a short piece of VerilogA to do what you want. If it's not exactly what you want, you can adapt it to suit your needs:

    `include "constants.vams"
    `include "disciplines.vams"
    module gaussianPulse (plus,minus);
    inout plus,minus;
    electrical plus,minus;
    parameter real sigma=1u;
    parameter real tcentre=100u;
    parameter real amplitude=1;

    analog begin
        //V(plus,minus) <+ exp(-pow(($abstime-tcentre)/sigma,2)/2)/sqrt(`M_TWO_PI*sigma*sigma);
        V(plus,minus) <+ amplitude*exp(-pow(($abstime-tcentre)/sigma,2)/2);
    end

    endmodule

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 800228
    800228 over 15 years ago

    Thank you Andrew Beckett

    However, I have no experience on Verilog A, and  I want to generate Gaussian pulse in Cadence Virtuoso Analog Design Environment.

    I mean by adding components from build-in libraries to the Schematic file, to run transient simulation.

    Do you know how to build a component that functions as the code you given ?

    Best regards

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    In the CIW, File->New->CellView, and set the view name to "veriloga".

    In the editor that gets launched, paste the code I posted - if you didn't call the call "gaussianPulse" then change the module name in the code to match what you called it.

    Save and exit the editor (if you don't like the editor, you can type in the CIW first editor="nedit" or whatever you prefer, before opening the view in the first place). 

    It should then prompt you to create a symbol.

    Having created a symbol, you can place an instance in your schematic, and change the sigma, tcentre, amplitude parameters as you see fit.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 800228
    800228 over 15 years ago

    Andrew Beckett, thanks you for your kind support. It is really helpful for me.

    • 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