-
Notifications
You must be signed in to change notification settings - Fork 12
fasm.cpp: return from visit if pb is open
#69
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
Conversation
This change avoids the net visitor to write fasm outputs of pb_graph_nodes which do not have valid corresponding PBs and valid parent PBs (this could suggest that the PB is actually `open`). These PBs are skipped and the visit goes on to the next PB in the net. Signed-off-by: Alessandro Comodi <[email protected]>
I am running |
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.
Let's merge this, but can we add some tests for this corner? Something boiled down from the test case that exposed this behavior?
Something I've been thinking about is whether it is worth walking the pb tree explicitly and building the prefixes in a forward way, rather than search the tree like this. Thoughts?
@litghost well, IMO the backward approach is quite confusing, mostly from a debugging point of view. I think that exploring the pb tree from root to leaves could be a good improvement. From a brief analysis, I thing that this change would require the implementation of Anyways, I will wait for the successful completion of the tests and then I'll merge, only to avoid a possible regression. |
@litghost I need also to verify how to scale-down the test and add it to the fasm tests, in order to easily reproduce it. I will open an issue on that to keep track of this. BTW local builds of |
…208f3 54f6208f3 Merge pull request SymbiFlow#69 from antmicro/mdudel/fix_annotations d8a0567a5 Fix annotations in DeviceResources git-subtree-dir: libs/EXTERNAL/libinterchange git-subtree-split: 54f6208f32e20b746863da6ea54e3051fc9a830e
…208f3 54f6208f3 Merge pull request SymbiFlow#69 from antmicro/mdudel/fix_annotations d8a0567a5 Fix annotations in DeviceResources git-subtree-dir: libs/EXTERNAL/libinterchange git-subtree-split: 54f6208f32e20b746863da6ea54e3051fc9a830e
…208f3 54f6208f3 Merge pull request SymbiFlow#69 from antmicro/mdudel/fix_annotations d8a0567a5 Fix annotations in DeviceResources git-subtree-dir: libs/EXTERNAL/libinterchange git-subtree-split: 54f6208f32e20b746863da6ea54e3051fc9a830e
…208f3 54f6208f3 Merge pull request SymbiFlow#69 from antmicro/mdudel/fix_annotations d8a0567a5 Fix annotations in DeviceResources git-subtree-dir: libs/EXTERNAL/libinterchange git-subtree-split: 54f6208f32e20b746863da6ea54e3051fc9a830e
…208f3 54f6208f3 Merge pull request SymbiFlow#69 from antmicro/mdudel/fix_annotations d8a0567a5 Fix annotations in DeviceResources git-subtree-dir: libs/EXTERNAL/libinterchange git-subtree-split: 54f6208f32e20b746863da6ea54e3051fc9a830e
This change avoids the net visitor to write fasm outputs of pb_graph_nodes which do not have valid corresponding PBs and valid parent PBs (this could suggest that the PB is actually
open
).These PBs are skipped and the visit goes on to the next PB in the net.
Signed-off-by: Alessandro Comodi [email protected]