The following pages link to Verilog/C++: How to use IsUserDeclared() : Example for port associations: