add ports function to HyperRAMPHY