• 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. Difference between V(P1,T1) <+ 0; and V(P1) <+ V(T1); in...

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 125
  • Views 8929
  • 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

Difference between V(P1,T1) <+ 0; and V(P1) <+ V(T1); in verilog A when they are used in 'if -else statement'

KiranTej
KiranTej over 7 years ago

Difference between V(P1,T1) <+ 0; and V(P1) <+ V(T1); in Verilog A 

I think V(P1, T1) <+ 0; would mean voltage difference between node P1 and node T1 is 0 and 

V(P1) <+ V(T1) would mean potential difference between P1 to gnd is equal to T1 to gnd.

I feel these statements kind of means the same, but when I used these statements in 'if block' in 'Verilog A', use of each statement gives different results, can someone please explain what difference does it make between these statements.

Also, can we use these statements in an 'if block'?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to KiranTej

    Quite simply, the switch changes position instantaneously - and so the impedance of the switch changes instantaneously. That means there would be a discontinuity in the current through the switch or the voltage across the switch. In the models on the Designer's Guide site, it does at least announce the discontinuity, and that's better than nothing. Circuit simulators don't really like ideal behaviour like this, and a model will work better if it is more realistic about modelling the transition. I'm sure this is covered in Ken and Olaf's book (I don't have a copy with me today so can't give you a reference), and is certainly covered in the Mixed-Signal Methodology Guide that Frank mentioned earlier - it's in the section Analog Best Practices from page 55 onwards.

    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