Method for generating source code
AssigneedSPACE GmbH
InventorsMichael MAIR, Florian GAYK
Life of this patent
Estimating the term…
Loading patent…
AssigneedSPACE GmbH
InventorsMichael MAIR, Florian GAYK
Estimating the term…
A method for generating source code includes: transforming, by a computing device, a block diagram into an intermediate representation; successively optimizing, by the computing device, the intermediate representation; and translating, by the computing device, the optimized intermediate representation into source code. Transforming a block comprises creating a reference to a block output variable. Creating the reference to the block output comprises: detecting at least two parallel control flow branches which read or write a variable; identifying an operation that accesses the variable; checking whether a cost criterion is satisfied; and reproducing the operation in the at least two parallel control flow branches based on the cost criterion being satisfied. Reproducing the operation comprises shifting the operation from an original position to positions where the variable is read or written.
A method for generating source code from one or more blocks of a block diagram that comprises at least two blocks and at least one signal link between the at least two blocks, the method comprising:
A method for configuring a control device comprising at least one arithmetic logic unit, the method comprising:
A non-transitory computer-readable medium having processor-executable instructions stored thereon for generating source code from one or more blocks of a block diagram that comprises at least two blocks and at least one signal link between the at least two blocks, wherein the processor-executable instructions, when executed, facilitate performance of the following:
Dependencies are inferred from the claim text.