File size: 2,921 Bytes
66163f2 e5d696f ad6c683 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
---
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.
|