Method for automated managing of the usage of alternative code and a processing system of operating thereof
AssigneeFreescale Semiconductor, Inc.
InventorsTobias Thiel, Markus Regner, Michael Rohleder
Life of this patent
Estimating the term…
Abstract
The present application relates to a method and a processing system for automated managing of the usage of alternative code. Code sections including original code and alternative code are retrieved from a code basis and the retrieved code is analyzed to detect an alternative code section. A condition definition associated with the identified alternative code section is further retrieved and the condition of the retrieved condition definition is evaluated. The identified alternative code section is activated in accordance with the evaluation result.
Claims20
A method for automated code managing of the usage of alternative code, said method comprising:
- retrieving code sections including original code and alternative code from a code basis, wherein the original code to represent a first abstraction code to define a first functional design of a target circuit, wherein the alternative code is provided as an alternative solution for a problem identified during a verification/simulation run, to provide functionality, which has not been coded at a current development stage;
- analyzing the retrieved code to identify original code and alternative code sections in the code basis and to detect an alternative code section;
- retrieving a condition definition associated with the detected alternative code section;
- evaluating the condition of the retrieved condition definition;
- and
- activating the detected alternative code section in accordance with the evaluation result.
A processing system for automated code managing of the usage of alternative code during development, said system comprising:
- a processor configured to execute:
- a code analyzer arranged to retrieve code sections including original code and alternative code from a code basis provided by a data storage device of the processing system, and to analyze the retrieved code to identify original code and alternative code sections and to detect an alternative code section, wherein the original code to represent a first abstraction code to define a first functional design of a target circuit, wherein the alternative code is provided as an alternative solution for a problem identified during a verification/simulation run, to provide functionality, which has not been coded at a current development stage;
- a condition analyzer arranged to retrieve a condition definition associated with the detected alternative code section;
- a condition evaluator arranged to evaluate the condition of the retrieved condition definition;
- and
- a decision unit arranged to activate the detected alternative code section in accordance with the result supplied by the condition evaluator.
Non-transitory, tangible computer-readable storage medium having stored thereon a computer program for automated code managing of the usage of alternative code, the computer program comprising a set of instructions, which, when executed on a processing system, cause the processing system to perform the method comprising:
- retrieving code sections including original code and alternative code from a code basis, wherein the original code to represent a first abstraction code to define a first functional design of a target circuit, wherein the alternative code is provided as an alternative solution for a problem identified during a verification/simulation run, to provide functionality, which has not been coded at a current development stage;
- analyzing the retrieved code to identify original code and alternative code sections in the code basis and to detect an alternative code section;
- retrieving a condition definition associated with the detected alternative code section;
- evaluating the condition of the retrieved condition definition;
- and
- activating the detected alternative code section in accordance with the evaluation result.
Dependencies are inferred from the claim text.