TILOS-AI-Institute / MacroPlacement

Macro Placement - benchmarks, evaluators, and reproducible results from leading methods in open source
BSD 3-Clause "New" or "Revised" License
219 stars 43 forks source link

Pin-offset calc during FD iterations #49

Closed i-markov closed 1 year ago

i-markov commented 1 year ago

Since orientation status doesn't change during FD iterations, it doesn't make sense to query it every time. Just precompute pin offsets for all hard macros, store them in an array and use for each iteration. Also, instead of going over all macros and doing no offset calculations for soft macros, store the indices of hard macros in an array and update only those macros.

ZhiangWang033 commented 1 year ago

Hi Igor, thanks for your feedback. I have updated my c++ codes. Now our runtime is very similar to the FD placer in Circuit Training.

i-markov commented 1 year ago

Addressed