Commit 8c51037
committed
pdn: validate -layers and -cut_pitch arguments in add_sroute_connect
Add missing existence and length checks for required arguments to prevent
downstream errors and improve error messages.
- PDN 1193: error when -layers is missing
- PDN 1194: error when -cut_pitch is missing
- PDN 1195: error when -layers does not have exactly 2 elements
- PDN 1196: error when -cut_pitch does not have exactly 2 values
Signed-off-by: Suhrid Marwah <suhridmarwah07@gmail.com>1 parent 9b0caf1 commit 8c51037
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
673 | 686 | | |
674 | 687 | | |
675 | 688 | | |
| |||
0 commit comments