-
Notifications
You must be signed in to change notification settings - Fork 404
[Synth] Rename FanIn/FanOut StartPoint/EndPoint #8976
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
uenoku
left a comment
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.
Thank you! 🙏🙏🙏 Could you change python bindings/tests as well?
Sure! |
| }; | ||
|
|
||
| // An OpenPath represents a path from a fan-in with an associated | ||
| // An OpenPath represents a path from a startPoint with an associated |
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.
nit: it's a bit tedious but could you use "start point" in the non code part?
| // An OpenPath represents a path from a startPoint with an associated | |
| // An OpenPath represents a path from a start point with an associated |
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.
sure!
632e79a to
e5b4d18
Compare
e5b4d18 to
49dc29c
Compare
|
Hi @uenoku , I have resolved as mentioned I am having issue at
How can i make this check with JSON-SAME{LITERAL} , I set the order after history because Json is emitting lexographically
can you suggest how can i resolve this also please suggest if i need to change anything at |
|
It seems the following works. You can just remove trailing commas. diff --git a/test/Dialect/Synth/longest-paths-report.mlir b/test/Dialect/Synth/longest-paths-report.mlir
index a3e76500f..19cac028c 100644
--- a/test/Dialect/Synth/longest-paths-report.mlir
+++ b/test/Dialect/Synth/longest-paths-report.mlir
@@ -37,10 +37,10 @@
// JSON-SAME{LITERAL}: [{"level":1,"count":1,"percentage":50},
// JSON-SAME{LITERAL}: {"level":2,"count":1,"percentage":100}]
// JSON-SAME{LITERAL}: "top_paths":[
-// JSON-SAME{LITERAL}: {"end_point":{"bit_pos":0,"instance_path":[],"name":"y"},
-// JSON-SAME{LITERAL}: "path":{"delay":2,"history":[{"comment":"output port","delay":2,"object":{"bit_pos":0,"instance_path":[],"name":"c2.x"}},
-// JSON-SAME{LITERAL}: "start_point":{"bit_pos":0,"instance_path":[],"name":"a"},
-// JSON-SAME{LITERAL}: "root":"parent"},
+// JSON-SAME{LITERAL}: {"end_point":{"bit_pos":0,"instance_path":[],"name":"y"}
+// JSON-SAME{LITERAL}: "path":{"delay":2,"history":[{"comment":"output port","delay":2,"object":{"bit_pos":0,"instance_path":[],"name":"c2.x"}}
+// JSON-SAME{LITERAL}: "start_point":{"bit_pos":0,"instance_path":[],"name":"a"}
+// JSON-SAME{LITERAL}: "root":"parent"
// Make sure the second path is reported.
// JSON-SAME{LITERAL}: {"end_point":{"bit_pos":0,"instance_path":[],"name":"x"},
|
uenoku
left a comment
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.
LGTM, really thank you for doing this!
Resolves #8967