contact | UL_CONTACT |
element | UL_ELEMENT |
route | int (CONTACT_ROUTE_...) |
routetag | string (see note) |
See also UL_SIGNAL, UL_PINREF
CONTACT_ROUTE_ALL | must explicitly route to all contacts |
CONTACT_ROUTE_ANY | may route to any contact |
If route has the value CONTACT_ROUTE_ANY, the routetag data member returns an additional tag which describes a group of contactrefs belonging to the same pin.
board(B) {
B.signals(S) {
printf("Signal '%s'\n", S.name);
S.contactrefs(C) {
printf("\t%s, %s\n", C.element.name, C.contact.name);
}
}
}