-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add error message for illegal port connection to fix EDA-2834 #325
Conversation
@thierryBesson I have created a PR to add error message for illegal port connection, if an input port is connected to both I_BUF and other components, please review the PR. |
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.
@awaisabbas006 I see two times "design -save original" and splitnets both called when entering in 'get_port_cell_relation' and then after calling 'get_port_cell_relation'.
Are the ones after calling 'get_port_cell_relation' necessary ? especially also because they change the netlist and the object on which 'get_port_cell_relation' built the 'in_2_cell' dictionnary ?
Hi @thierryBesson you are right, I wanted to make get_port_cell_relation() generic function that's why I used it there, however later I also need to call splitnets pass. Please let me know if we should call splitnet only once? |
@awaisabbas006 theoritically a second call to "splitnet" should do nothing since everything has been already splitted. And the "design save original " should be done at the same level as the "design -load original" (not one in the fucntion and the other one outside the function). |
@thierryBesson please review now, I indeed had one mistake in my previous commit, i.e., I did not load the original design before leaving the get_port_cell_relation() function. I now use only one splitnet call. |
@thierryBesson BTW, Also review the error message is it correct or need some modification. |
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 looks ok to me, Thanks.
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 looks ok to me, Thanks.
No description provided.