SMALL CHANGE: Made port_cmp function 'public'
SMALL CHANGE: Made port_cmp function 'public'

Now other modules can utilize thi function, in particular module_builder

CospanDesign/nysa,CospanDesign/nysa