Skip to content

Commit 4d0c84b

Browse files
committed
psm: fix typo and move docs to make it pass test
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 9b9ee5b commit 4d0c84b

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

src/psm/README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -156,19 +156,6 @@ set_pdnsim_source_settings
156156
| `-bump_interval` | Set the bump population interval, this is used to depopulate the bump grid to emulate signals and other power connections. The default bump pitch is 3. |
157157
| `-strap_track_pitch` | Sets the track pitck to use for moduling voltage sources as straps. The default is 10x. |
158158

159-
#### Selectively diconencting sources
160-
161-
If you need to be able to disconnect some of the terminals in the design, such as in the case of "what-if" analysis or different chip packaging options.
162-
This can be done by assigning `PSM_DISCONNECT` to a terminal or shape in a terminal will cause PDNSim to leave that object disconnected from the analysis.
163-
164-
```tcl
165-
# Assumes bpin is the block pin to be disconnected
166-
odb::dbBoolProperty_create $bpin PSM_DISCONNECT 1
167-
168-
# Assumes box the box shape in the bpin to be disconnected
169-
odb::dbBoolProperty_create $box PSM_DISCONNECT 1
170-
```
171-
172159
### Insert Decap Cells
173160
The `insert_decap` command inserts decap cells in the areas with the highest
174161
IR Drop. The number of decap cells inserted will be limited to the target
@@ -200,6 +187,18 @@ The image below illustrate how they can be modeled, the red elements are the sou
200187
| - | - | - | - |
201188
| ![Image 1](doc/top_grid_bumps_2x.png) | ![Image 2](doc/top_grid_bumps_3x.png) | ![Image 1](doc/top_grid_straps.png) | ![Image 2](doc/top_grid_full.png) |
202189

190+
### Selectively disconnecting sources
191+
192+
If you need to be able to disconnect some of the terminals in the design, such as in the case of "what-if" analysis or different chip packaging options.
193+
This can be done by assigning `PSM_DISCONNECT` to a terminal or shape in a terminal will cause PDNSim to leave that object disconnected from the analysis.
194+
195+
```tcl
196+
# Assumes bpin is the block pin to be disconnected
197+
odb::dbBoolProperty_create $bpin PSM_DISCONNECT 1
198+
199+
# Assumes box the box shape in the bpin to be disconnected
200+
odb::dbBoolProperty_create $box PSM_DISCONNECT 1
201+
```
203202

204203
## Useful Developer Commands
205204

0 commit comments

Comments
 (0)