Xplace_for_ICCAD/tool/innovus_ispd2015_fix/README.md

34 lines
1.1 KiB
Markdown
Raw Normal View History

2023-04-06 13:34:26 +08:00
## Run Innovus Detailed Routing for ISPD 2015 Fix
2023-04-06 13:59:55 +08:00
**NOTE**: If Innovus® has been properly installed in your OS, you may try to use Innovus® to detailedly route the placement solution.
2023-04-06 13:34:26 +08:00
1. Copy `ispd2015_fix` benchmark into this folder
```bash
cp -r $XPLACE_HOME/data/raw/ispd2015_fix $XPLACE_HOME/tool/innovus_ispd2015_fix
```
2023-04-06 13:59:55 +08:00
2. Copy Xplace solutions into this folder
2023-04-06 13:34:26 +08:00
```bash
cd $XPLACE_HOME/tool/innovus_ispd2015_fix
python update_placement_def.py yourpath/Xplace/result/2000-01-01-00:00:00
```
this script will create a folder named `ispd2015_fix_xplace_route`.
2023-04-06 13:59:55 +08:00
Now the file structure of the current folder looks like:
2023-04-06 13:34:26 +08:00
```
.
├── innovus_work
├── ispd2015_fix
├── ispd2015_fix_xplace_route
├── parse_log.py
└── update_placement_def.py
```
2023-04-06 13:59:55 +08:00
3. Run innovus detailed routing and wait around two days
2023-04-06 13:34:26 +08:00
```bash
rm -rf innovus.*
cd $XPLACE_HOME/tool/innovus_ispd2015_fix/innovus_work
innovus -stylus -init run_all_route_xplace_route.tcl
```
4. Parse innovus log and report DR metrics, the result will be saved in `./report/innovus.csv`
```bash
cd $XPLACE_HOME/tool/innovus_ispd2015_fix
python parse_log.py ./innovus_work/innovus.log
```