Skip to content

Commit ed85e7b

Browse files
committed
psm: rename -resistance -> -external_resistance and fix typos
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 48d2784 commit ed85e7b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/psm/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ set_pdnsim_source_settings
145145
[-bump_size size]
146146
[-bump_interval interval]
147147
[-strap_track_pitch pitch]
148-
[-resistance resistance]
148+
[-external_resistance resistance]
149149
```
150150

151151
#### Options
@@ -155,8 +155,8 @@ set_pdnsim_source_settings
155155
| `-bump_dx`,`-bump_dy` | Set the bump pitch to decide the voltage source location. The default bump pitch is 140um. |
156156
| `-bump_size` | Set the bump size. The default bump size is 70um. |
157157
| `-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. |
158-
| `-strap_track_pitch` | Sets the track pitck to use for moduling voltage sources as straps. The default is 10x. |
159-
| `-resistance` | Set to model the resistance of the package or power network outside the chip/block. The default value is 0.0. |
158+
| `-strap_track_pitch` | Sets the track pitch to use for modeling voltage sources as straps. The default is 10x. |
159+
| `-external_resistance` | Set to model the resistance of the package or power network outside the chip/block. The default value is 0.0. |
160160

161161
### Insert Decap Cells
162162
The `insert_decap` command inserts decap cells in the areas with the highest

src/psm/src/pdnsim.tcl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,12 @@ sta::define_cmd_args "set_pdnsim_source_settings" {
228228
[-bump_size size]
229229
[-bump_interval interval]
230230
[-strap_track_pitch pitch]
231-
[-resistance resistance]
231+
[-external_resistance resistance]
232232
}
233233

234234
proc set_pdnsim_source_settings { args } {
235235
sta::parse_key_args "set_pdnsim_source_settings" args \
236-
keys {-bump_dx -bump_dy -bump_size -bump_interval -strap_track_pitch -resistance} \
236+
keys {-bump_dx -bump_dy -bump_size -bump_interval -strap_track_pitch -external_resistance} \
237237
flags {}
238238

239239
set dx 0
@@ -259,8 +259,8 @@ proc set_pdnsim_source_settings { args } {
259259
}
260260

261261
set resistance 0
262-
if { [info exists keys(-resistance)] } {
263-
set resistance $keys(-resistance)
262+
if { [info exists keys(-external_resistance)] } {
263+
set resistance $keys(-external_resistance)
264264
}
265265

266266
psm::set_source_settings $dx $dy $size $interval $track_pitch $resistance

src/psm/test/aes_test_bterms_source_resistance.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ read_liberty Nangate45/Nangate45_typ.lib
55
read_sdc Nangate45_data/aes.sdc
66

77
analyze_power_grid -net VDD
8-
set_pdnsim_source_settings -resistance 10.0
8+
set_pdnsim_source_settings -external_resistance 10.0
99
analyze_power_grid -net VDD
10-
set_pdnsim_source_settings -resistance 100.0
10+
set_pdnsim_source_settings -external_resistance 100.0
1111
analyze_power_grid -net VDD

src/psm/test/gcd_all_vss_source_res.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ set voltage_file [make_result_file gcd_all_vss-voltage.rpt]
99
set em_file [make_result_file gcd_all_vss-em.rpt]
1010
set spice_file [make_result_file gcd_all_vss-spice.sp]
1111

12-
set_pdnsim_source_settings -resistance 100
12+
set_pdnsim_source_settings -external_resistance 100
1313
analyze_power_grid -vsrc Vsrc_gcd_vss.loc -net VSS

0 commit comments

Comments
 (0)