• 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. Mixed-Signal Design
  3. using AND gate expression in notepad for using as vpwlf...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 64
  • Views 15732
  • 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

using AND gate expression in notepad for using as vpwlf source

Charanraj Mohan
Charanraj Mohan over 8 years ago

Hi,

  I want to use AND function of two variables in the notepad, where I write the TIME & MAGNITUDE of the data points in vpwlf source that, I want to generate pulse. Is this possible ??

If the above one line is not understood, I am explaining, what I am doing. I am generating a user-defined pwl pulse using vpwlf from AnalogA library. I observed that we can take the variable that we define in the instance to the ADE-L and define there. I want to write a skill set function for AND logic in the notepad itself, where I write the data points. Is this possible ?? Suppose there are three data points - (t1,g1), (t2,g2) & (t3,a). I want that a should be the AND function of g1 & g2. And all these should be coded in the notepad where I define the data points. Is this possible ???

Thanks in advance

  • Cancel
Parents
  • Charanraj Mohan
    Charanraj Mohan over 8 years ago
    Thanks Andrew.
    I get the following error when I tried in vsource. But in vpwlf it works without the line '(g1>1.65 && g2>1.65)*3.3'. I mean, if I use a value for '(g1>1.65 && g2>1.65)*3.3', it works in vpwlf. But in vsource, it does not.

    Value 0 of parameter 'tvpairs' (Number of pairs of points) out of range [1:50] on instance "V0" in cell-view.

    I think, I am missing something. Can u help me to track it ??

    thanks
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Charanraj Mohan
    Charanraj Mohan over 8 years ago
    Thanks Andrew.
    I get the following error when I tried in vsource. But in vpwlf it works without the line '(g1>1.65 && g2>1.65)*3.3'. I mean, if I use a value for '(g1>1.65 && g2>1.65)*3.3', it works in vpwlf. But in vsource, it does not.

    Value 0 of parameter 'tvpairs' (Number of pairs of points) out of range [1:50] on instance "V0" in cell-view.

    I think, I am missing something. Can u help me to track it ??

    thanks
    • 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