-
Notifications
You must be signed in to change notification settings - Fork 430
PlacementAnnealer class #2800
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
PlacementAnnealer class #2800
Conversation
vaughnbetz
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.
Nice update! Some feedback suggestions attached.
| get_bp_state_globals()->get_glob_breakpoint_state()->blocks_affected_by_move.clear(); | ||
| for (size_t i = 0; i < blocksAffected.moved_blocks.size(); i++) { | ||
| //size_t conversion is required since block_num is of type ClusterBlockId and can't be cast to an int. And this vector has to be of type int to be recognized in expr_eval class | ||
| BreakpointState* bp_state = get_bp_state_globals()->get_glob_breakpoint_state(); |
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.
If we were able to move the breakpiont state inside a placer context it would be cleaner I think. You don't have to do that if you can't see a clean way to do it though ....
…TY_TIMING_PLACE is checked first
|
titan_quick_qor
|
AlexandreSinger
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.
Hi @soheilshahrouz , great PR! I have a couple of minor comments. I like the interface!
This PR encapsulates simulated annealing functions and objects into a class.