Skip to content

Commit e4d6975

Browse files
authored
Merge pull request #8339 from titan73/master
Add description for write_cdl command.
2 parents 6e32b34 + 92891bc commit e4d6975

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

src/README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ write_db filename
156156

157157
| Switch Name | Description |
158158
| ----- | ----- |
159-
| `filename` | Path to the file to be read, if the filename ends with `.gz` the file will be comprssed using gzip. |
159+
| `filename` | Path to the file to be written, if the filename ends with `.gz` the file will be compressed using gzip. |
160160

161161
### Examples
162162
```
@@ -195,6 +195,32 @@ write_abstract_lef -bloat_factor 3 reg1_abstract.lef
195195
write_abstract_lef -bloat_occupied_layers reg1_abstract.lef
196196
```
197197

198+
## Write CDL netlist
199+
200+
To export the CDL netlist to disk.
201+
202+
``` tcl
203+
write_cdl
204+
-masters list_of_cdl_files
205+
[-include_fillers]
206+
filename
207+
```
208+
### Options
209+
210+
| Switch Name | Description |
211+
| ----- | ----- |
212+
| `-masters` | List of CDL netlist dependencies. |
213+
| `[-include_fillers]` | Export fillers to the CDL netlist |
214+
| `filename` | Path to the file to be written, if the filename ends with `.gz` the file will be compressed using gzip. |
215+
216+
### Examples
217+
```
218+
write_cdl -master {netlist1.cdl netlist2.cdl ...} -include_fillers netlist.cdl
219+
220+
# To write a database file with gzip compression.
221+
write_cdl -master {netlist1.cdl netlist2.cdl ...} -include_fillers netlist.cdl.gz
222+
```
223+
198224
### Global Connections
199225

200226
#### Add global connections

0 commit comments

Comments
 (0)