1. A method comprising: receiving a selection of at least two interface types, from a plurality of interface types, for an interface between two components in a model, the interface comprising at least one signal between the two components, and the at least two interface types including: a first interface type including a first signal associated with a first parameter for the model, and a second interface type including a second signal associated with a second parameter for the model, the first parameter and second parameter being different; selecting, as an interface type, one of the first interface type or the second interface type based on the two components and based on the first parameter and the second parameter, selecting the one of the first interface type or the second interface type including: applying a cost function to parameters for the model to produce cost results, the parameters for the model including the at least one of: a size parameter, a power parameter, or a clock parameter, and selecting the one of the first interface type or the second interface type based on the produced cost results; and generating code representative of the selected interface type for the at least one signal included in the interface between the two components, the receiving, the selecting, and the generating being performed by a processor.