How to generate IP cores with access to hardware in vivado
Generally you give the ip core pins that can be routed out to the top level module, then assign the pins to the physical chip pins with a constraints file. There is no automated way to do this. The pins are going to be board dependent, anyway.