System and method for transforming graphical models
First Claim
1. A method implemented with at least one processor equipped with memory units having stored thereon executable program instructions, which when executed by the processor, cause the processor to perform the method steps, comprising:
- providing a first graphical model representing a system,the first graphical model being in a source language compatible with a graphical programming environment;
converting, with a computing device, the first graphical model into an intermediate representation (IR),data contained in the IR being non-specific to the source language of the first graphical model, andconverting the first graphical model into the IR including;
generating records associated with the IR,the records describing blocks and connections analyzed from a source file associated with the first graphical model;
performing an optimization transformation on the IR to produce an altered IR by exposing the IR to another programming environment,the other programming environment being different from the graphical programming environment, andproducing the altered IR altering the records associated with the IR,the altered records including information that indicates modifications that produce the altered IR;
generating, using the computing device, a second graphical model based on the first graphical model and the altered records.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism for converting a graphical model of a system into an intermediate representation (IR) of a model is discussed. The mechanism alters the IR, and uses the altered IR to create a new or updated graphical model of the system that may be viewed and simulated by a user. Once the user is satisfied with the alterations to the IR, the IR or the graphical model may be used to generate code in a target language to enable the building of the physical system being designed. The use of the altered IR to generate a new or updated graphical model allows a more efficient and customizable design and simulation process than is typically found by simulating code that has been converted to target languages. The generation of the graphical model based on the altered IR allows a user to visually inspect the changes to the system, and the simulation of the graphical model based on the altered IR allows corrective action to be taken to account for any changes that occurred during the transformation of the model.
-
Citations
33 Claims
-
1. A method implemented with at least one processor equipped with memory units having stored thereon executable program instructions, which when executed by the processor, cause the processor to perform the method steps, comprising:
-
providing a first graphical model representing a system, the first graphical model being in a source language compatible with a graphical programming environment; converting, with a computing device, the first graphical model into an intermediate representation (IR), data contained in the IR being non-specific to the source language of the first graphical model, and converting the first graphical model into the IR including; generating records associated with the IR, the records describing blocks and connections analyzed from a source file associated with the first graphical model; performing an optimization transformation on the IR to produce an altered IR by exposing the IR to another programming environment, the other programming environment being different from the graphical programming environment, and producing the altered IR altering the records associated with the IR, the altered records including information that indicates modifications that produce the altered IR; generating, using the computing device, a second graphical model based on the first graphical model and the altered records. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system comprising:
a computing device implemented with at least one processor coupled with memory-stored executable program instructions, which when executed by the processor, cause the processor to; provide a first graphical model representing a system, the first graphical model being in a source language that is compatible with a graphical programming environment; convert the first graphical model into an intermediate representation (IR), data contained in the IR being non-specific to the source language of the first graphical model, and when converting the first graphical model into the IR, the computing device is to; generate records associated with the IR, the records describing blocks and connections analyzed from a source file associated with the first graphical model; perform an optimization transformation on the IR to produce an altered IR by exposing the IR to another programming environment, the other programming environment being different from the graphical programming environment, when performing the optimization transformation, the computing device is to; alter the records associated with the IR, and the altered records including information that indicates modifications that produce the altered IR; generate a second graphical model based on the first graphical model and the altered records; and provide, for display, the second graphical model. - View Dependent Claims (21, 22, 23)
-
24. A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by at least one computing device, cause the at least one computing device to; provide a first graphical model representing a system, the first graphical model being in a source language compatible with a graphical programming environment; convert the first graphical model into an intermediate representation (IR), data contained in the IR being non-specific to the source language of the first graphical model, the IR including records, and the records describing blocks and connections analyzed from a source file associated with the first graphical model; perform an optimization transformation on the IR to produce an altered IR by exposing the IR to another programming environment, the altered IR including altered records, and the altered records including information that indicates modifications that produce the altered IR; generate a second graphical model based on the first graphical model and the altered records. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31)
-
32. A method implemented with at least one processor equipped with memory units having stored thereon executable program instructions, which when executed by the processor, cause the processor to perform the method steps, comprising:
-
providing, by a computing device, a first graphical model representing a system, the first graphical model being in a source language compatible with a graphical programming environment; converting, by the computing device, the first graphical model into an intermediate representation (IR), data contained in the IR being non-specific to the source language, and converting the first graphical model into the IR including; generating records associated with the IR, the records describing blocks and connections analyzed from a source file associated with the first graphical model; performing, by the computing device, an optimization transformation on the IR to produce an altered IR by exposing the IR to another programming environment, the other programming environment being different from the graphical programming environment, and producing the altered IR causing altered records to be produced, the altered records including information that indicates modifications that produce the altered IR; and generating, by the computing device, a second graphical model based on the first graphical model and the altered records.
-
-
33. A method implemented with at least one processor equipped with memory units having stored thereon executable program instructions, which when executed by the processor, cause the processor to perform the method steps, comprising:
-
providing a first graphical model representing a system, the first graphical model being in a source language compatible with a graphical programming environment, and the providing the first graphical model being performed by a computing device; converting the first graphical model into an intermediate representation (IR), data contained in the IR being non-specific to the source language, the converting the first graphical model into the IR including; generating records associated with the IR, the records describing blocks and connections analyzed from a source file associated with the first graphical model, and the converting the first graphical model into the IR being performed by the computing device; performing an optimization transformation on the IR to produce an altered IR by exposing the IR to another programming environment, the other programming environment being different from the graphical programming environment, and the performing the optimization transformation being performed by a computing device; producing an altered IR based on performing the optimization transformation on the IR, the producing the altered IR altering the records associated with the IR to produce altered records associated with the altered IR, the altered records including information that indicates modifications that produce the altered IR, and the producing the altered IR being performed by the computing device; generating a second graphical model based on the first graphical model and the altered records, the generating the second graphical model being performed by the computing device; and simulating the second graphical model, the simulating the second graphical model being performed by the computing device.
-
Specification