TILOS-AI-Institute / MacroPlacement

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

Questions about changing the initial set of placement locations. #73

Open cmnkkk opened 9 months ago

cmnkkk commented 9 months ago

Hello, after reading the Question 1 about initial set of placement locations (from physical synthesis) affect the (relative) quality of the CT. I am curious how the vacuous placements file was generated.

Are they generated directly by changing the coordinate information in these documents?(circuit_training/environment/test_data/ariane) Or generated in some other unmentioned way?

wponghiran commented 9 months ago

I believe the method used to change coordinate does not matter as the resulted plc will be similar. Either 1 or 2 should end up with the same plc that later consumes by CT.

  1. Use physical design tool to relocate all blocks and feed to FormatTranslator to generate plc file
  2. Use python script to rewrite plc file
cmnkkk commented 9 months ago

Thank you very much for your answer.

As a student in internship, I still have doubts about pre-trained model. When I finish training the Ariane model from physical synthesis, I get the output folder. If I want to use the pre-trained model at this point, can I just keep the policies file and change the input file?

Also in my programme, only the checkpoints in the policies folder are updated multiple times. Does this contain the information I need for the pre-trained model?