PGW should aware about the UE IP since when IP packets come for an UE from the external network it should land at PGW so that the received IP packet can be encapsulated in GTP tunnel and forwarded to SGW. UE IP address can be allocated by PGW itself or using DHCP server/IP address pool.
In deployment different solutions are used compare to Proof of concepts/Simulators.