Synchronous simulation code generating method based on annotation
A code generation and code technology, applied in software simulation/interpretation/simulation, program control devices, etc., can solve the problem that model modification and parameter adjustment cannot be maintained in the simulation software, the model cannot continue to use software simulation, and real-time simulation of the underlying code There is no such problem, and the effect of shortening the design cycle, reducing the repetitive workload, and shortening the work cycle is achieved
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0040] simulation description model
[0041] Our simulation description model uses XML as the description language, which is convenient for expansion and reading. The topmost element is called a project, and the structural unit under the project is called a component. Each component describes a structural unit, and there are modules under the component. A module is the most basic unit to describe a function, and is generally used to describe a certain algorithm. . Variables can be defined under projects, components and modules as their data. There can be an association relationship between components or modules; specific associated data can be defined on the association relationship.
[0042] In this way, each component of the model language can correspond to each modeling element of the modeling software, and at the same time, attributes can be added and deleted flexibly; it is easy to read, does not require high computer knowledge for the simulator, and is easier to read ...
Embodiment
[0051] The code generation process is as follows Figure 4 shown.
[0052] Users can use simulation software for rapid prototype construction, and adjust the structure and parameters of the model by performing offline simulation on the simulation description model. When the model is more mature, the simulation code can be generated and deployed to the simulator or other real-time simulation systems. Such as Figure 4 As shown, the user can perform some necessary configurations on the code generation function, such as the code generation path, whether to cover the existing project, etc., and then generate the simulation code file through the code converter according to the simulation model, load model parameters and other information.
[0053] The generated code can be exported as a VC project for the convenience of users to view, edit and manage. The specific implementation technology is as follows:
[0054] 1) The system maintains a template of a VC blank project, and a p...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com