• 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. Is there a way to set the net name as variable in a schematic...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 5169
  • 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

Is there a way to set the net name as variable in a schematic?

grooo
grooo over 1 year ago

Hi there,

Is there a way to set a net name as variable?

My ultimate goal is:

Sweep a variable from 1~100.

And have a node named : Node<1:100>

And want to use Node<n> in a specific node (variable node) when the sweeping variable is n.

  • Cancel
  • ShawnLogan
    ShawnLogan over 1 year ago

    Dear grooo,

    grooo said:
    Is there a way to set a net name as variable?

    I am not familiar with any way to set a net name as a variable as it seems that will change the topology (i.e., connectivity) of a netlist.  There may be others who monitor this Forum that might know.

    grooo said:

    My ultimate goal is:

    Sweep a variable from 1~100.

    And have a node named : Node<1:100>

    And want to use Node<n> in a specific node (variable node) when the sweeping variable is n.

    It is not clear to me if the desired net you want to select based on your variable V (where V = [1,100]) is an analog signal or a digital signal. However, if my understanding of your objective is correct, it seems you might be able to use a multiplexer to select the desired net using your variable V as its selector input.  Specifically, with its selector set to a voltage source whose value is proportional to Vn (n = [1,100]), the output of the multiplexer will connect net Vn to the output net of the multiplexer. You might not want to use the range of V = 1 to 100 for the input voltage source as that will present an input voltage of 100V to the simulator - which is a high voltage and might require the high voltage option. Instead, let V range from, say 0.1 to 10 and use a threshold of 0.10 in lieu of 1.0 in the selector logic.

    The multiplexer can be realized in verilog-A. You might be able to modify the analog multiplexer code from the ahdlLib (multiplexer) or perhaps a modified version of the verilog-A code in the Forum post at URL:

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/55418/n-to-1-mux-control-with-selection-being-a-variable

    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