Legal claims defining the scope of protection, as filed with the USPTO.
1. A method of processing an electronic circuit design, comprising: inputting a first graphical model of an outer subsystem block of the design, the outer subsystem block including at least one parameter and at least one inner subsystem block, the inner subsystem block including at least one leaf block that specifies a function for applying to at least one input port value and producing an output port value; translating by at least one programmed processor, the first graphical model of the outer subsystem block and the inner subsystem block into a high-level language (HLL) program and storing the HLL program by the computing arrangement, the HLL program including a declaration and specification of a first function corresponding to the outer subsystem block and within the specification of the first function a declaration and specification of a second function corresponding to the inner subsystem block; selecting one of a plurality of templates corresponding to different target languages; wherein the translating includes formatting the HLL program according to the selected template; wherein the specification of the first function references the at least one parameter and specifies invocation of the second function, and the specification of the second function specifies invocation of a third function corresponding to the leaf block; wherein the specification of the first function references at least one variable corresponding to the at least one parameter, and the at least one variable is referenced by at least one of the second and third functions; and wherein the HLL program is executable to instantiate a second graphical model including the outer subsystem block, the inner subsystem block, and the leaf block consistent with an input value for the at least one parameter.
2. The method of claim 1 , further comprising reading one or more values specified in the graphical model for one or more of the first set of parameters, respectively, and writing statements in the HLL program that assign the one or more values to one or more of the variables.
3. The method of claim 1 , further comprising reading an initialization command specified in the graphical model for the outer subsystem block, and writing an initialization statement in the HLL program equivalent to the initialization statement after the declaration of the first function and before each other statement in the first function that depends on a result of the initialization statement.
4. The method of claim 1 , further comprising reading a list of valid values in the first graphical model for at least one parameter of the first set of parameters, and writing statements in the HLL program that determine whether or not a value of a variable corresponding to the at least one parameter is consistent with the valid values specified in the first graphical model.
5. The method of claim 1 , further comprising reading from the first graphical model a first annotation associated with the outer subsystem block and a second annotation associated with the inner subsystem block, and wherein the translating includes writing a first comment proximate a declaration of the first function in the HLL program and containing text from the first annotation, and writing a second comment proximate a declaration of the second function in the program and containing text from the second annotation.
6. A system for processing an electronic circuit design, comprising: a processor arrangement; a memory arrangement coupled to the processor arrangement, wherein the memory arrangement is configured with instructions that are executable by the processor arrangement for performing operations including: inputting a first graphical model of an outer subsystem block of the design, the outer subsystem block including at least one parameter and at least one inner subsystem block, the inner subsystem block including at least one leaf block that specifies a function for applying to at least one input port value and producing an output port value; translating the first graphical model of the outer subsystem block and the inner subsystem block into a high-level language (HLL) program and storing the HLL program, the HLL program including a declaration and specification of a first function corresponding to the outer subsystem block and within the specification of the first function a declaration and specification of a second function corresponding to the inner subsystem block; selecting one of a plurality of templates corresponding to different target languages; wherein the translating includes formatting the HLL program according to the selected template; wherein the specification of the first function references the at least one parameter and specifies invocation of the second function, and the specification of the second function specifies invocation of a third function corresponding to the leaf block; wherein the specification of the first function references at least one variable corresponding to the at least one parameter, and the at least one variable is referenced by at least one of the second and third functions; and wherein the HLL program is executable to instantiate a second graphical model including the outer subsystem block, the inner subsystem block, and the leaf block consistent with an input value for the at least one parameter.
7. The system of claim 6 , the operations further comprising reading one or more values specified in the first graphical model for one or more of the first set of parameters, respectively, and writing statements in the HLL program that assign the one or more values to one or more of the variables.
8. The system of claim 6 , the operations further comprising reading an initialization command specified in the graphical model for the outer subsystem block, and writing an initialization statement in the HLL program equivalent to the initialization statement after the declaration of the first function and before each other statement in the first function that depends on a result of the initialization statement.
9. The system of claim 6 , the operations further comprising reading a list of valid values in the first graphical model for at least one parameter of the first set of parameters, and writing statements in the HLL program that determine whether or not a value of a variable corresponding to the at least one parameter is consistent with the valid values specified in the first graphical model.
10. The system of claim 6 , the operations further comprising reading from the first graphical model a first annotation associated with the outer subsystem block and a second annotation associated with the inner subsystem block, and wherein the translating includes writing a first comment proximate a declaration of the first function in the HLL program and containing text from the first annotation, and writing a second comment proximate a declaration of the second function in the HLL program and containing text from the second annotation.
11. An article of manufacture, comprising: a storage device configured with executable instructions for processing an electronic circuit design, wherein the instructions when executed by one or more processors cause the one or more processors to perform operations including: inputting a first graphical model of an outer subsystem block of the design, the outer subsystem block including at least one parameter and at least one inner subsystem block, the inner subsystem block including at least one leaf block that specifies a function for applying to at least one input port value and producing an output port value; translating the first graphical model of the outer subsystem block and the inner subsystem block into a high-level language (HLL) program and storing the HLL program, the HLL program including a declaration and specification of a first function corresponding to the outer subsystem block and within the specification of the first function a declaration and specification of a second function corresponding to the inner subsystem block; selecting one of a plurality of templates corresponding to different target languages; wherein the translating includes formatting the HLL program according to the selected template; wherein the specification of the first function references the at least one parameter and specifies invocation of the second function, and the specification of the second function specifies invocation of a third function corresponding to the leaf block; wherein the specification of the first function references at least one variable corresponding to the at least one parameter, and the at least one variable is referenced by at least one of the second and third functions; and wherein the HLL program is executable to instantiate a second graphical model including the outer subsystem block, the inner subsystem block, and the leaf block consistent with an input value for the at least one parameter.
12. The article of manufacture of claim 11 , the operations further comprising reading one or more values specified in the first graphical model for one or more of the first set of parameters, respectively, and writing statements in the HLL program that assign the one or more values to one or more of the variables.
13. The article of manufacture of claim 11 , the operations further comprising reading an initialization command specified in the graphical model for the outer subsystem block, and writing an initialization statement in the HLL program equivalent to the initialization statement after the declaration of the first function and before each other statement in the first function that depends on a result of the initialization statement.
14. The article of manufacture of claim 13 , the operations further comprising reading a list of valid values in the graphical model for at least one parameter of the first set of parameters, and writing statements in the HLL program that determine whether or not a value of a variable corresponding to the at least one parameter is consistent with the valid values specified in the first graphical model.
15. The article of manufacture of claim 13 , the operations further comprising reading from the graphical model a first annotation associated with the outer subsystem block and a second annotation associated with the inner subsystem block, and wherein the translating includes writing a first comment proximate a declaration of the first function in the HLL program and containing text from the first annotation, and writing a second comment proximate a declaration of the second function in the HLL program and containing text from the second annotation.
Unknown
August 2, 2011
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.