google-research / circuit_training

Apache License 2.0
1.2k stars 189 forks source link

What is the source of x, y coordinates used in the grouping (clustering) library? #25

Open sakundu opened 2 years ago

sakundu commented 2 years ago

Thank you for adding the grouping (clustering) library!
With respect to "merge_small_adj_close_groups" (line 598 of grouping.py) and "breakup_groups" (line 721), could you please clarify how the incoming netlist has node coordinates? Also, could you give some hint about how "distance" and "threshold" parameters are determined, for example in the Ariane example?
Thank you!

sakundu commented 2 years ago

In the FAQ section of Circuit-Training/grouping/README I found "We assume that a netlist that has all its nodes already placed. It does not have to be a good placement. A low effort, fast version of placement results from any tool can be used."