UL_PORTREF

Data members

   
moduleinst UL_MODULEINST
port UL_PORT

See also UL_SEGMENT

Example

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);
          }
        }
      }
    }
  }