comparison ueda/sverp-bind/outcomp.c @ 15:c59f52e4bacf

unet-bind option -c reports MCL components with no binding
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 02 Aug 2015 00:39:38 +0000
parents 068ea2458c5d
children
comparison
equal deleted inserted replaced
14:068ea2458c5d 15:c59f52e4bacf
9 extern struct component components[]; 9 extern struct component components[];
10 extern int ncomponents; 10 extern int ncomponents;
11 11
12 extern char *get_comp_attr(); 12 extern char *get_comp_attr();
13 extern struct grid_pkg_desc *read_grid_pkg_file(); 13 extern struct grid_pkg_desc *read_grid_pkg_file();
14
15 extern int check_completeness;
14 16
15 struct outcomp *netlist_comps; 17 struct outcomp *netlist_comps;
16 18
17 static int 19 static int
18 try_numpins(oc) 20 try_numpins(oc)
77 oc->conn_array = conn_array; 79 oc->conn_array = conn_array;
78 if (attr = get_comp_attr(oc->mclcomp, "hier")) 80 if (attr = get_comp_attr(oc->mclcomp, "hier"))
79 process_hier_attr(oc, attr); 81 process_hier_attr(oc, attr);
80 else if (attr = get_comp_attr(oc->mclcomp, "slotmap")) 82 else if (attr = get_comp_attr(oc->mclcomp, "slotmap"))
81 process_slotmap_attr(oc, attr); 83 process_slotmap_attr(oc, attr);
84 else if (check_completeness)
85 fprintf(stderr, "MCL component %s has no binding\n", oc->name);
82 } 86 }
83 87
84 init_outcomp_from_MCL() 88 init_outcomp_from_MCL()
85 { 89 {
86 register int i; 90 register int i;