Just a couple of commands to show the ASIC/port mapping on most cisco switches.
show interfaces capabilities module
Is used on smaller switches e.g. 3750
m00nie-C3750#show platform pm if-numbers
interface gid gpn lpn port slot unit slun port-type lpn-idb gpn-idb
----------------------------------------------------------------------
Gi1/0/1 1 1 1