Question: what is the difference between port and pin?
Answer: A pin is a physical connection for a single net. In schematics and HDLs, pin and terminal are used interchangeably to represent the the point where the connection to a network is made. A port is a group of pins representing a standard interface. In the physical world, a port is usually more than one pin.