Specifying implementations of code for code generation from a model
First Claim
Patent Images
1. In a computing system, a method comprising the steps of:
- identifying a first implementation of code that corresponds to a first portion of a model;
identifying a second implementation of code that corresponds to the first portion of the model;
specifying the first implementation or the second implementation; and
generating code for the model, wherein a section of code that corresponds to the first portion of the model employs one of the first or second implementations of code.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention allow user to generate a model in a modeling environment and to generate code from the model using various implementations of code for portions of the model. The implementations of code can be supplied by the modeling environment or supplied by a user. Embodiments further allow a user to specify a scope in a model such that portions of the model contained in the scope use a specific implementation or implementations of code.
57 Citations
54 Claims
-
1. In a computing system, a method comprising the steps of:
-
identifying a first implementation of code that corresponds to a first portion of a model; identifying a second implementation of code that corresponds to the first portion of the model; specifying the first implementation or the second implementation; and generating code for the model, wherein a section of code that corresponds to the first portion of the model employs one of the first or second implementations of code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computing system, comprising:
-
a model; a first implementation of code corresponding to a first portion of the model; a second implementation of code corresponding to the first portion of the model; a code generator that generates code for the model based on a specification, wherein a section of the code that corresponds to the first portion of the model employs one of the first or second implementations of code. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A medium for use on a computing device, the medium holding instructions executable using the computing device, the instructions for performing the steps of:
-
identifying a first implementation of code that corresponds to a first portion of a model; identifying a second implementation of code that corresponds to the first portion of the model; specifying the first implementation or the second implementation; and generating code for the model, wherein a section of code that corresponds to the first portion of the model employs one of the first or second implementations of code. - View Dependent Claims (30, 31, 32, 33, 34, 35)
-
-
36. In a computing system, a method comprising the steps of:
-
providing a user interface for selecting at least one implementation of code associated with at least a portion of a model; representing the at least one implementation of code using a designation; receiving a selection of the designation that is related to the at least one implementation, the selection for utilizing the at least one implementation for generated code; and generating code, based on the selection, that incorporates the at least one implementation of code into the generated code. - View Dependent Claims (37, 38, 39)
-
-
40. A computing system, the system comprising:
-
a user interface for selecting implementations of code for at least a portion of a model, wherein at least one implementation of code is represented by a designation and the user interface enables a selection of an implementation of code for at least a portion of the model; and a code generator that generates code for the model based on a selection. - View Dependent Claims (41, 42, 43)
-
-
44. A medium for use on a computing device, the medium holding instructions executable using the computing device, the instructions for performing the steps of:
-
interacting with a user interface for selecting at least one implementation of code to represent at least a portion of a model in generated code; representing the at least one implementation of code using a designation; receiving a selection of the designation that represents the at least one implementation, the selection for utilizing the at least one implementation for generated code; and generating code, based on the selection, that incorporates the at least one implementation of code into the generated code.
-
-
45. In a computing device, a method comprising the steps of:
-
identifying a first implementation of code that corresponds to a first portion of the model; identifying a second implementation of code that corresponds to the first portion of the model; selecting, programmatically, one of the first or second implementations of code based on an identified constraint; and generating code for the model, wherein a section of code that corresponds to the first portion of the model employs one of the automatically selected first or second implementations of code. - View Dependent Claims (46, 47, 48)
-
-
49. A medium for use on a computing device, the medium holding instructions executable using the computing device, the instructions for performing the steps of:
-
identifying a first implementation of code that corresponds to a first portion of the model; identifying a second implementation of code that corresponds to the first portion of the model; selecting, programmatically, one of the first or second implementations of code based on an identified constraint; and generating code for the model, wherein a section of code that corresponds to the first portion of the model employs one of the automatically selected first or second implementations of code.
-
-
50. A method for providing a user with an implementation of code that corresponds to an element associated with a model, the method comprising:
-
identifying a performance characteristic on behalf of a user; providing an implementation of code that corresponds to the element, the implementation of code capable of being used in a code generation process; and supplying the implementation of code to the user for a fee. - View Dependent Claims (51, 52, 53, 54)
-
Specification