Update readme.md
Browse files
README.md
CHANGED
|
@@ -8,86 +8,25 @@ This project represents the dataset part of ChiPBench. The code can be found on
|
|
| 8 |
|
| 9 |
## Details
|
| 10 |
|
| 11 |
-
The file structure of the dataset is as follows:
|
| 12 |
|
| 13 |
-
```bash
|
| 14 |
-
ChiPBench-D
|
| 15 |
-
├── data
|
| 16 |
-
├── kits
|
| 17 |
-
├── raw_data
|
| 18 |
-
├── ForMacroPlace
|
| 19 |
-
├── getdata.py
|
| 20 |
-
├── utils.py
|
| 21 |
-
```
|
| 22 |
-
|
| 23 |
-
- **data**: Contains original RTL, netlist, DEF, and SDC files, along with specific LEF and LIB files for each case.
|
| 24 |
-
- **kits**: Contains global LEF and LIB files.
|
| 25 |
-
- **raw_data**: Includes all the original files used by OpenROAD. If you only need to evaluate placement algorithms, you can skip downloading this folder.
|
| 26 |
-
- **ForMacroPlace**: Contains DEF files for Macro Placement. If you only need to perform macro placement, you can download this folder only.
|
| 27 |
-
- **getdata.py**: Custom script for organizing data.
|
| 28 |
-
- **utils.py**: Dependencies for the `getdata.py` script.
|
| 29 |
|
| 30 |
### data
|
| 31 |
|
| 32 |
```bash
|
| 33 |
-
data
|
| 34 |
├── case_name
|
| 35 |
│ ├── def
|
| 36 |
│ ├── lef
|
| 37 |
│ ├── lib
|
| 38 |
-
│ ├──
|
| 39 |
-
│ ├── 1_synth.v
|
| 40 |
-
│ ├── config.mk
|
| 41 |
│ ├── constraint.sdc
|
| 42 |
```
|
| 43 |
|
| 44 |
-
- **def**: DEF files
|
| 45 |
- **lef**: Case-specific LEF files.
|
| 46 |
- **lib**: Case-specific LIB files.
|
| 47 |
-
- **
|
| 48 |
-
- **1_synth.v**: Synthesized netlist files for the case.
|
| 49 |
-
- **config.mk**: Configuration files for running in OpenROAD-flow-scripts.
|
| 50 |
- **constraint.sdc**: Timing constraint files for the case.
|
| 51 |
|
| 52 |
-
### kits
|
| 53 |
-
```bash
|
| 54 |
-
kits/Nangate45
|
| 55 |
-
├── lef
|
| 56 |
-
├── lib
|
| 57 |
-
```
|
| 58 |
-
|
| 59 |
-
- **lef**: Contains global LEF files.
|
| 60 |
-
- `Nangate.lef`: A combined LEF file from NangateOpenCellLibrary.macro.mod.lef and NangateOpenCellLibrary.tech.lef.
|
| 61 |
-
- **lib**: Contains global LIB files.
|
| 62 |
-
|
| 63 |
-
### raw_data
|
| 64 |
-
Contains all original files, available for download as needed.
|
| 65 |
-
|
| 66 |
-
### getdata.py & utils.py
|
| 67 |
-
|
| 68 |
-
Custom scripts for organizing data.
|
| 69 |
-
|
| 70 |
-
Parameters:
|
| 71 |
-
```
|
| 72 |
-
--formacroplace: Copies all macro placement DEF files for each case to the ForMacroPlace directory.
|
| 73 |
-
--forcellplace: Copies DEF files for cell placement cases (without macros) to the ForCellPlace directory.
|
| 74 |
-
--forallcellplace: Copies all DEF files for cell placement cases to the ForAllCellPlace directory.
|
| 75 |
-
--afterstage: Copies files from all cases after the specified stage (place, route, cts) to the corresponding directory.
|
| 76 |
-
--getnetlist: Copies netlist files from all cases to the netlist directory.
|
| 77 |
-
```
|
| 78 |
-
|
| 79 |
-
Example:
|
| 80 |
-
```
|
| 81 |
-
python getdata.py --formacroplace
|
| 82 |
-
```
|
| 83 |
-
The `ForMacroPlace` directory will contain the corresponding DEF files.
|
| 84 |
-
|
| 85 |
-
```
|
| 86 |
-
python getdata.py --afterstage="cts"
|
| 87 |
-
```
|
| 88 |
-
The `after_cts` directory will contain the corresponding DEF files.
|
| 89 |
-
|
| 90 |
-
### ForMacroPlace
|
| 91 |
|
| 92 |
-
To facilitate usage, the `ForMacroPlace` directory generated by the above script has been uploaded.
|
| 93 |
|
|
|
|
| 8 |
|
| 9 |
## Details
|
| 10 |
|
|
|
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
### data
|
| 14 |
|
| 15 |
```bash
|
| 16 |
+
data
|
| 17 |
├── case_name
|
| 18 |
│ ├── def
|
| 19 |
│ ├── lef
|
| 20 |
│ ├── lib
|
| 21 |
+
│ ├── case_name.v
|
|
|
|
|
|
|
| 22 |
│ ├── constraint.sdc
|
| 23 |
```
|
| 24 |
|
| 25 |
+
- **def**: DEF files.
|
| 26 |
- **lef**: Case-specific LEF files.
|
| 27 |
- **lib**: Case-specific LIB files.
|
| 28 |
+
- **case_name.v**: Synthesized netlist files for the case.
|
|
|
|
|
|
|
| 29 |
- **constraint.sdc**: Timing constraint files for the case.
|
| 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
|
|
|
| 32 |
|