Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Shared Labeled Nodes Truncated to One Pin when Creating Subcircuits #134

Open
SvarunSoda opened this issue Dec 22, 2024 · 2 comments

Comments

@SvarunSoda
Copy link

SvarunSoda commented Dec 22, 2024

Attempting to create a subcircuit from a circuit which has more than one shared labeled node always results in the shared label node groupings to get truncated to a single pin on the subcircuit.

Specific example:
image
TEST_1.txt

When attempting to create a subcircuit from the circuit above;

  • the GND_FIRST and GND_NEXT labeled nodes get truncated into a single GND_FIRST node
  • the 3.3V_FIRST and 3.3V_NEXT labeled nodes get truncated into a single 3.3V_NEXT node
  • the OUT and DIV_NEXT labeled nodes get truncated into a single DIV_NEXT node

The subcircuit creation script appears to automatically identify & truncate any shared labeled node groupings to a single node, which is not the intuitive or expected behaviour here. In my specific case the shared labeled nodes all serve unique purposes despite being shared, and I am unable to create a subcircuit because of this feature. At least this feature should be a toggleable option.

@fritzw
Copy link

fritzw commented Dec 23, 2024

Does it help if you put a zero ohm resistor between the two nodes?

@pfalstad
Copy link
Owner

You can't have a zero ohm resistor but a one ohm resistor should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants