9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.25 1998/04/03 15:07:20 peterg
## Now correctly write 0/1 port names
##
## Revision 1.24 1998/04/03 14:02:50 peterg
## Added 0 and 1 to list of possible ports
##
## Revision 1.23 1998/02/01 18:37:41 peterg
|
>
>
>
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright (c) P.J.Gawthrop, 1996.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.26 1998/04/04 07:29:26 peterg
## SS now only port component
##
## Revision 1.25 1998/04/03 15:07:20 peterg
## Now correctly write 0/1 port names
##
## Revision 1.24 1998/04/03 14:02:50 peterg
## Added 0 and 1 to list of possible ports
##
## Revision 1.23 1998/02/01 18:37:41 peterg
|
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
|
j = 0;
# Do the port components, in order of appearance, first
for (i = 1; i <= i_port_component; i++) {
name = sprintf("[%s]", port_labels[i]);
port_type = comp_type[port_labels[i]];
print i, port_labels[i], name, port_type
cr = "MTT_port";
arg = i;
if (length(x_port[i])==0)
printf(warning_p);
else {
j++;
|
<
|
576
577
578
579
580
581
582
583
584
585
586
587
588
589
|
j = 0;
# Do the port components, in order of appearance, first
for (i = 1; i <= i_port_component; i++) {
name = sprintf("[%s]", port_labels[i]);
port_type = comp_type[port_labels[i]];
cr = "MTT_port";
arg = i;
if (length(x_port[i])==0)
printf(warning_p);
else {
j++;
|