Skip to content

Commit d48d121

Browse files
committed
upf: change interface_implementation_name to mandatory
Signed-off-by: Lucas Yuki Imamura <lucasyuki@yahoo.com.br>
1 parent ff83def commit d48d121

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

src/ifp/test/upf/mpd_top.upf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,25 @@ set_isolation iso_d_4 \
8484
-update \
8585
-location parent
8686

87-
use_interface_cell \
87+
use_interface_cell PD_D1 \
8888
-domain PD_D1 \
8989
-strategy iso_d_1 \
9090
-lib_cells {sky130_fd_sc_hd__lpflow_inputiso0n_1}
9191

9292

93-
use_interface_cell \
93+
use_interface_cell PD_D2 \
9494
-domain PD_D2 \
9595
-strategy iso_d_2 \
9696
-lib_cells {sky130_fd_sc_hd__lpflow_inputiso0n_1}
9797

9898

99-
use_interface_cell \
99+
use_interface_cell PD_D3 \
100100
-domain PD_D3 \
101101
-strategy iso_d_3 \
102102
-lib_cells {sky130_fd_sc_hd__lpflow_inputiso0n_1}
103103

104104

105-
use_interface_cell \
105+
use_interface_cell PD_D4 \
106106
-domain PD_D4 \
107107
-strategy iso_d_4 \
108108
-lib_cells {sky130_fd_sc_hd__lpflow_inputiso0n_1}

src/upf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ use_interface_cell
137137
-domain domain
138138
-strategy strategy
139139
-lib_cells lib_cells
140-
[interface_implementation_name]
140+
interface_implementation_name
141141
```
142142

143143
#### Options

src/upf/src/upf.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,15 +257,15 @@ sta::define_cmd_args "use_interface_cell" { \
257257
-domain domain \
258258
-strategy strategy \
259259
-lib_cells lib_cells \
260-
[interface_implementation_name]
260+
interface_implementation_name
261261
}
262262
proc use_interface_cell { args } {
263263
upf::check_block_exists
264264

265265
sta::parse_key_args "use_interface_cell" args \
266266
keys {-domain -strategy -lib_cells} flags {}
267267

268-
sta::check_argc_eq0or1 "use_interface_cell" $args
268+
sta::check_argc_eq1 "use_interface_cell" $args
269269

270270
set domain ""
271271
set strategy ""

src/upf/test/data/isolation/mpd_top.upf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,25 +83,25 @@ set_isolation iso_d_4 \
8383
-update \
8484
-location parent
8585

86-
use_interface_cell \
86+
use_interface_cell PD_D1\
8787
-domain PD_D1 \
8888
-strategy iso_d_1 \
8989
-lib_cells {sky130_fd_sc_hd__lpflow_inputiso0n_1}
9090

9191

92-
use_interface_cell \
92+
use_interface_cell PD_D2\
9393
-domain PD_D2 \
9494
-strategy iso_d_2 \
9595
-lib_cells {sky130_fd_sc_hd__lpflow_inputiso0n_1}
9696

9797

98-
use_interface_cell \
98+
use_interface_cell PD_D3\
9999
-domain PD_D3 \
100100
-strategy iso_d_3 \
101101
-lib_cells {sky130_fd_sc_hd__lpflow_inputiso0n_1}
102102

103103

104-
use_interface_cell \
104+
use_interface_cell PD_D4\
105105
-domain PD_D4 \
106106
-strategy iso_d_4 \
107107
-lib_cells {sky130_fd_sc_hd__lpflow_inputiso0n_1}

test/upf/mpd_aes.upf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ set_isolation iso_aes_2 \
5959
-location parent
6060

6161

62-
use_interface_cell \
62+
use_interface_cell iso_aes_1\
6363
-domain PD_AES_1 \
6464
-strategy iso_aes_1 \
6565
-lib_cells {
@@ -70,7 +70,7 @@ use_interface_cell \
7070
}
7171

7272

73-
use_interface_cell \
73+
use_interface_cell iso_aes_2\
7474
-domain PD_AES_2 \
7575
-strategy iso_aes_2 \
7676
-lib_cells {

test/upf/mpd_top.upf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ set_isolation iso_d_2 \
4848

4949

5050

51-
use_interface_cell \
51+
use_interface_cell iso_d_1\
5252
-domain PD_D1 \
5353
-strategy iso_d_1 \
5454
-lib_cells {
@@ -59,7 +59,7 @@ use_interface_cell \
5959
}
6060

6161

62-
use_interface_cell \
62+
use_interface_cell iso_d_2\
6363
-domain PD_D2 \
6464
-strategy iso_d_2 \
6565
-lib_cells {

0 commit comments

Comments
 (0)