-
Notifications
You must be signed in to change notification settings - Fork 8
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
FIX: return error message when trying to create_ports_on_pins of RLC comp #407
Conversation
@@ -785,6 +785,9 @@ def create_port_on_pins(self, refdes, pins, reference_pins, impedance=50.0, port | |||
reference_pins = [reference_pins] | |||
if isinstance(refdes, str) or isinstance(refdes, EDBComponent): | |||
refdes = self.instances[refdes] | |||
if refdes.rlc_values: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to check type rathen than rlc value. Why is RLC not supported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but type is EDBComponent for all inputs (even inductors, caps etc). Ports are not successfully created on RLC pins. Should this be added for 3DL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gkorompi there is a command to replace RLC by ports which deactivate component and create a circuit port. You might want to call this one when you hit such component ?
Also also rather component type instead of rlc_value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@svandenb-dev @ring630 Any new feedback on this PR state ?
I am ok with pr, even though this method is wired to me. |
Co-authored-by: Sébastien Morais <[email protected]>
No description provided.