• 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. Repeat option in vpwl source

Stats

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

Repeat option in vpwl source

Ananthesh
Ananthesh over 6 years ago

Hi,

When we are using vpwl voltage source in cadence test benches, we can create a particular waveform by providing voltage versus time information. Let us say, we want to repeat the same voltage waveform periodically over time, then with the SPICE command, we can do so by using the below command. The "R" option will enable the vpwl voltage source to be repeated after every 1us. 

vread<0>  read<0>    0 pwl(0 0,1u 0,2025n    0,2025.2n  1,2075n     1,2075.2n    0,2125n    0,2125.2n  1,2175n    1,2175.2n  0,3u 0,R 1u)

Simillarly, how to make a pwl wvaeform repeatative by using cadence vpwl voltage source form,

Thanks

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    It rather helps if you specify which simulator you're using. I'm guessing you're using the hspiceD interface and running HSPICE, because that's not what the form looks like if you have "spectre" in the tool filter (Options->Tool Filter in the schematic window). If you had spectre, then it would be a parameter on the vpwl called Period of the PWL - you specify the repetition period. For HSPICE you put the period into Repeated Function (the name is a bit confusing). This netlists something like this (for hspiceD):

    v0 net1 net2 PWL 0 1 1e-6 2 1.5e-6 1.3 2.9e-6 200e-3 R=3.5e-6 TD=0

    Andrew

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

    Hi Andrew,

    Thanks for the solution. Yes, interface was hspiceD.

    I have changed it to spectre by following the options you suggested. Below is the vpwl form where I can fill the period details. Thanks for the help.

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

    Er, didn't I explain this before? You also didn't say which simulator you're actually using. If you're using Spectre, it's in "Period of the PWL". If you're using hspiceD, then it's "Repeated Function" (as I said above).

    Andrew

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

    Hi Andrew,

    My simulator was spectre and still the period option was not appearing. In the schematic options environment was default set to hspiceD. Because of this, I was getting this problem. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Ananthesh
    Ananthesh over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    My simulator was spectre and still the period option was not appearing. In the schematic options environment was default set to hspiceD. Because of this, I was getting this problem. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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