Skip to content

Commit a1025b5

Browse files
committed
python
1 parent 71602f0 commit a1025b5

29 files changed

+9221
-1
lines changed

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/commit.iml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Usage :
2+
求解布局: python main.py -n <netlist> -c <cell_name> -o <save_path>
3+
可视化结果:python visualize.py <save_path> (需要安装opencv-python)
4+
5+
注意:
6+
# 改了多个文件顶部注释的路径
7+
# visualize.py中,增加图片中文字的的清晰度
8+
9+
10+
这是两个使用命令:
11+
12+
# 求解布局命令
13+
case1:
14+
python main.py -n C:\Users\Defender\Desktop\commit\cells.spi -c AN2D2 -o C:\Users\Defender\Desktop\commit\placement_data.json
15+
case2:
16+
python main.py -n C:\Users\Defender\Desktop\commit\cells.spi -c AN3D2 -o C:\Users\Defender\Desktop\commit\placement_data.json
17+
18+
# 可视化结果命令
19+
python visualize.py C:\Users\Defender\Desktop\commit\placement_data.json
20+
21+
22+
8.85 KB
Binary file not shown.
7.29 KB
Binary file not shown.

__pycache__/data_parse.cpython-39.pyc

4.13 KB
Binary file not shown.

__pycache__/evaluator.cpython-311.pyc

22.1 KB
Binary file not shown.

__pycache__/evaluator.cpython-312.pyc

20.2 KB
Binary file not shown.

__pycache__/evaluator.cpython-39.pyc

11.4 KB
Binary file not shown.
5.29 KB
Binary file not shown.
4.94 KB
Binary file not shown.
2.82 KB
Binary file not shown.

__pycache__/solver.cpython-311.pyc

17.9 KB
Binary file not shown.

__pycache__/solver.cpython-312.pyc

14.8 KB
Binary file not shown.

__pycache__/solver.cpython-39.pyc

7.79 KB
Binary file not shown.

0 commit comments

Comments
 (0)