Patent ID: 7900188

Claim:
In a computing system, a computer-implemented method comprising: with the computing system: inserting a plurality of elements into the model; specifying a scope for at least a subset of the plurality of elements; identifying a first implementation of code that corresponds to the first portion of a model, the first portion of the model being a subset of the plurality of elements that are encompassed by the scope; identifying a second implementation of code that corresponds to the first portion of the model; specifying a performance characteristic for an implementation of code that corresponds to the first portion of the model, the performance characteristic being one of or a weighted combination of power reduction, area reduction, memory usage reduction, execution time reduction, stack usage reduction or conformance with a coding standard; selecting one of the first implementation or the second implementation based on the specified performance characteristic; and generating code for the model, wherein a section of code that corresponds to the first portion of the model employs the selected one of the first or second implementations of code.