ASU-VDA-Lab / 2024_ICCAD_Contest_Gate_Sizing_Benchmark

11 stars 4 forks source link

Queries about src/evaluation/evaluation.py #14

Open pipiofzl opened 6 days ago

pipiofzl commented 6 days ago

I encountered an issue while using src/evaluation/evaluation.py. Specifically, when performing two consecutive ICCAD_evaluation calculations in evaluation.py, as shown in the script below (The modifications made in evaluation.py are as shown in the screenshot. Everything else is identical to the evaluation.py on GitHub.): image I noticed that evaluating test_1.size first, then output.size, and vice versa, leads to completely different scores. What could be causing this issue? (PS: The mentioned output.size is the result for the given NV_NVDLA_partition_m design without any replacements, while test_1.size is the result after replacing the cell corresponding to the “g85390” instance in the NV_NVDLA_partition_m design with equiv_cells[2].) Below are the result images: First evaluate test_1.size and then evaluate output.size: test_1.size: image output.size: image First evaluate output.size and then evaluate test_1.size: output.size: image test_1.size: image Here is the Google Drive link where I have placed output.size and test1.size. https://drive.google.com/drive/folders/1iTMICfo8Uag5hXgdlTT-fJxCVhQ2fsp?usp=sharing

bingyuew commented 6 days ago

I cannot reproduce the timing number you are getting. Besides, OpenROAD can only read one design at a time. You will receive an error message if you try to load the design twice.

pipiofzl commented 6 days ago

Are the results the same when you first run test_1.size and then output.size compared to running output.size first and then test_1.size?

pipiofzl commented 6 days ago

Can evaluation.py only evaluate one .size file at a time? If I want to evaluate two .size files, how should I do it?

bingyuew commented 5 days ago

Unfortunately, openroad does not support this feature.

pipiofzl commented 3 days ago

OK,thanks~