When creating new model components, you may define an interface, consisting of input or output ports, parameters, and shared model elements such as events, memories, and resources.
The first step is usually to create port objects for each model component of type module, primitive and FSM primitive. This section describes how to create input and output ports.