• 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. Detecting floating node in schematic in Verilog-A code

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 64
  • Views 16033
  • 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

Detecting floating node in schematic in Verilog-A code

vasug7
vasug7 over 6 years ago

Hi,

I am designing a model of a semiconductor device which performs a specific function when one of the nodes is a floating. For my design, a floating node is something to which nothing is connected in the schematic window.

For example, 

As you can see in the figure, node2 is a floating node. 

I want to add an if statement in my Verilog-A code, such that the device model functions in a different way depending on the condition if the node2 is floating or not. 

I have tried to look it up in the Verilog - A reference manual, but couldn't find any useful information.

Any help will be appreciated.

Thanks.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    There's nothing that really does this - but maybe you could check if there's any current flowing out of the pin? It does sound a bit of a strange requirement and without knowing the bigger picture it's hard to make a suggestion as to how to do it. Perhaps if you explained what you're actually trying to model an alternative could be proposed rather than this rather unusual requirement?

    Andrew.

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

     Thanks, Andrew, for the suggestion. I also planned to solve this issue by sensing the current at the floating terminal (after connecting it to the ground). This will solve the issue, albeit but won't quite actually represent the real physical model.

    My requirement is something like this -

    There are some semiconductor devices, which perform functionally different depending on the condition if one of the nodes is connected to ground or floating. For example, there are internal physical effects taking place depending on the fact if the ions or electrons flow through the ground or are forced to tunnel via some mechanisms such as Channel hot electron injection etc (when the node is floating). 

    I want to model my device in such a way that these effects are taken into account. Which I thought could be done if Verilog-A could detect if something is connected to the node externally.

    I hope you understand where my problem emerges from.

    Thanks.

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

    OK - but the real life circuit also doesn't "know" that the node is floating - so you need to model the electrical behaviour of the device. In a circuit simulator such as spectre, floating nodes are handled by providing a small conductance to ground which gives a leakage path to enable the node to be not completely floating (in real life there's usually some non-ideality which means there's a leakage path).

    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