moduleinst | UL_MODULEINST |
port | UL_PORT |
See also UL_SEGMENT
schematic(SCH) {
SCH.sheets(SH) {
printf("Sheet: %d\n", SH.number);
SH.nets(N) {
printf("\tNet: %s\n", N.name);
N.segments(SEG) {
SEG.portrefs(P) {
printf("\tconnected to: %s, %s\n",
P.moduleinst.name, P.port.name);
}
}
}
}
}