|
---
|
|
license: bsd-3-clause
|
|
---
|
|
|
|
# ChiPBench-D
|
|
|
|
This project represents the dataset part of ChiPBench. The code can be found on GitHub: [ChiPBench](https://github.com/ZhaojieTu/ChiPBench).
|
|
|
|
## Details
|
|
|
|
The file structure of the dataset is as follows:
|
|
|
|
```bash
|
|
ChiPBench-D
|
|
├── data
|
|
├── kits
|
|
├── raw_data
|
|
├── ForMacroPlace
|
|
├── getdata.py
|
|
├── utils.py
|
|
```
|
|
|
|
- **data**: Contains original RTL, netlist, DEF, and SDC files, along with specific LEF and LIB files for each case.
|
|
- **kits**: Contains global LEF and LIB files.
|
|
- **raw_data**: Includes all the original files used by OpenROAD. If you only need to evaluate placement algorithms, you can skip downloading this folder.
|
|
- **ForMacroPlace**: Contains DEF files for Macro Placement. If you only need to perform macro placement, you can download this folder only.
|
|
- **getdata.py**: Custom script for organizing data.
|
|
- **utils.py**: Dependencies for the `getdata.py` script.
|
|
|
|
### data
|
|
|
|
```bash
|
|
data/Nangate45
|
|
├── case_name
|
|
│ ├── def
|
|
│ ├── lef
|
|
│ ├── lib
|
|
│ ├── rtl
|
|
│ ├── 1_synth.v
|
|
│ ├── config.mk
|
|
│ ├── constraint.sdc
|
|
```
|
|
|
|
- **def**: DEF files related to various stages of EDA.
|
|
- **lef**: Case-specific LEF files.
|
|
- **lib**: Case-specific LIB files.
|
|
- **rtl**: Original RTL files for the case.
|
|
- **1_synth.v**: Synthesized netlist files for the case.
|
|
- **config.mk**: Configuration files for running in OpenROAD-flow-scripts.
|
|
- **constraint.sdc**: Timing constraint files for the case.
|
|
|
|
### kits
|
|
```bash
|
|
kits/Nangate45
|
|
├── lef
|
|
├── lib
|
|
```
|
|
|
|
- **lef**: Contains global LEF files.
|
|
- `Nangate.lef`: A combined LEF file from NangateOpenCellLibrary.macro.mod.lef and NangateOpenCellLibrary.tech.lef.
|
|
- **lib**: Contains global LIB files.
|
|
|
|
### raw_data
|
|
Contains all original files, available for download as needed.
|
|
|
|
### getdata.py & utils.py
|
|
|
|
Custom scripts for organizing data.
|
|
|
|
Parameters:
|
|
```
|
|
--formacroplace: Copies all macro placement DEF files for each case to the ForMacroPlace directory.
|
|
--forcellplace: Copies DEF files for cell placement cases (without macros) to the ForCellPlace directory.
|
|
--forallcellplace: Copies all DEF files for cell placement cases to the ForAllCellPlace directory.
|
|
--afterstage: Copies files from all cases after the specified stage (place, route, cts) to the corresponding directory.
|
|
--getnetlist: Copies netlist files from all cases to the netlist directory.
|
|
```
|
|
|
|
Example:
|
|
```
|
|
python getdata.py --formacroplace
|
|
```
|
|
The `ForMacroPlace` directory will contain the corresponding DEF files.
|
|
|
|
```
|
|
python getdata.py --afterstage="cts"
|
|
```
|
|
The `after_cts` directory will contain the corresponding DEF files.
|
|
|
|
### ForMacroPlace
|
|
|
|
To facilitate usage, the `ForMacroPlace` directory generated by the above script has been uploaded.
|
|
|
|
|