Skip to content

Commit 465e4de

Browse files
committed
odb: use plural form
Signed-off-by: Eder Monteiro <[email protected]>
1 parent 873893f commit 465e4de

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/odb/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ The full set of the Tcl commands exposed can be found under
450450
This command checks if the IO pins of the design have a placement status of `PLACED`, `LOCKED`, `FIRM`, or `COVER`. Return `1` if true, and `0` if false.
451451

452452
```tcl
453-
all_pin_placed
453+
all_pins_placed
454454
```
455455

456456
## Regression tests

src/odb/src/swig/tcl/odb.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,10 +1056,10 @@ proc define_pin_shape_pattern { args } {
10561056
odb::set_bterm_top_layer_grid $block $layer $x_step $y_step region $width $height $keepout
10571057
}
10581058

1059-
sta::define_cmd_args "all_pin_placed" {}
1059+
sta::define_cmd_args "all_pins_placed" {}
10601060

1061-
proc all_pin_placed { args } {
1062-
sta::parse_key_args "all_pin_placed" args \
1061+
proc all_pins_placed { args } {
1062+
sta::parse_key_args "all_pins_placed" args \
10631063
keys {} flags {}
10641064

10651065
set block [odb::get_block]

src/odb/test/all_pin_placed1.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source "helpers.tcl"
33
read_lef Nangate45/Nangate45.lef
44
read_def floorplan_initialize3.def
55

6-
if { [all_pin_placed] } {
6+
if { [all_pins_placed] } {
77
puts "All pins are placed"
88
} else {
99
puts "Some pins are not placed"

src/odb/test/all_pin_placed2.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source "helpers.tcl"
33
read_lef Nangate45/Nangate45.lef
44
read_def design_is_routed1.def
55

6-
if { [all_pin_placed] } {
6+
if { [all_pins_placed] } {
77
puts "All pins are placed"
88
} else {
99
puts "Some pins are not placed"

0 commit comments

Comments
 (0)