• 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. A pulse modulation triangle current generator in virtuo...

Stats

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

A pulse modulation triangle current generator in virtuoso

Johanny Saenz
Johanny Saenz over 4 years ago

Hi all,

I would like to know how can I can implement a triangule current generator modulated by a square pulse using instances (no VerilogA).

Is there any current multiplier available in the libraries?

Thanks

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

    Not quite sure what your aversion to VerilogA is, but if you want a current multiplier, you can use a pcccs (polynomial current-controlled current source) from analogLib (see "spectre -h pcccs" for details too). If you're multiplying two currents together then you'd specify the number of probes as 2, and then specify Poly Coeff 0 to 3 as being "0" and Poly Coeff 4 as "1". This will give you the output current as the product of the two input currents (you can adjust the other coefficients if you need it to not just be the product, or change the 1 to some other gain factor. You'd probably then just specify Probe 1 and Probe 2 as the voltage source (or iprobe) that you're measuring the current through (I think the Ports can be left blank).

    I didn't try this out now to confirm, but the usage seems fairly straightforward (I've used pvcvsp many times to do a voltage multiplier).

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to Andrew Beckett

    Dear Johanny Saenz,

    Johanny Saenz said:
    I would like to know how can I can implement a triangule current generator modulated by a square pulse using instances (no VerilogA).

    Sorry for the delay...but in addition to Andrew's suggestion, I thought I might put together a set of ideal components that might be appropriate. Basically, the circuit uses a capacitor and current source  to form a triangular voltage that I then convert to a current through a resistor of value rleakage. I periodically short out the capacitor with a second source to provide the modulation function. I use a controlled current source (current-controlled) with a gain of 100 to increase the amplitude of the modulated triangular current.  If this is anywhere close to what you are looking for, I've included a plot of the circuit (Figure 1) and an expanded view of some of its inputs and outputs (Figure 2). I attached a compressed file with additional plots, the spectre generated netlist (which contains all the parameter values I used), and the plot .grf files.

    Anyway, it may not be what you are looking for, but your request piqued my interest...

    Shawn

    Figure 1

    Figure 2

    square_wave_modulated_triangular_current_source_waves_010621.zip

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Johanny Saenz
    Johanny Saenz over 4 years ago in reply to ShawnLogan

    Thanks Shawn Logan. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Johanny Saenz
    Johanny Saenz over 4 years ago in reply to ShawnLogan

    Thanks Shawn Logan. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to Johanny Saenz

    Dar Johnanny Saenz,

    You are most welcome - but I just hope it was of some help or provided some insight into your problem!

    Shawn

    • 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