Partitioning for model-based design
AssigneeThe MathWorks, Inc.
InventorHoward Taitel
Life of this patent
Estimating the term…
Abstract
A method includes characterizing portions of a model as being either critical to a real-time execution of the model or non-critical to a real-time execution of the model, and generating code that is capable of real-time execution based on the critical portions of the model while maintaining the full functionality of the non-real-time critical sections, e.g., graphics, logging, other offline calculations, via a communication link and parallel host processing.
Claims18
A computer-readable medium holding executable instructions that when executed on a processor generate computer program instructions, the medium holding instructions for:
- analyzing components in a simulatable block diagram model, the analyzing:
- identifying components that are critical to control of a hardware device, and
- identifying components that are not critical to control of the hardware device;
- marking the components identified as critical to control of the hardware device as critical components;
- marking the components identified as not critical to control of the hardware device as non-critical components;
- and
- generating the computer program instructions for the simulatable block diagram model with an automatic code generator, the computer program instructions implementing behavior of the block diagram model, the generating including:
- generating computer program instructions for only the components of the block diagram model marked as critical.
A computer-readable medium holding executable instructions that when executed on a processor generate computer program instructions, the medium holding instructions for:
- displaying a graphical user interface, the graphical user interface for:
- displaying components in a simulatable block diagram model,
- receiving a first user input related to a component that is critical to control of a hardware device, or
- receiving a second user input related to a component that is not critical to control of a hardware device;
- marking components identified as critical to control of the hardware device as critical components;
- and
- generating computer program instructions for the simulatable block diagram model via an automatic code generator, where the computer program instructions implement behavior of the block diagram model on the hardware device when the hardware device executes the generated computer program instructions, the generating including:
- generating computer program instructions for the components of the block diagram model that are marked as critical, and
- maintaining an interface to components that are not critical to the control of the hardware device.
A computer-implemented method, comprising:
- displaying a graphical user interface, the graphical user interface for:
- displaying components in a simulatable block diagram model, the components being:
- critical components that are critical to control of a hardware device, or
- non-critical components that are not critical to control of the hardware device
- receiving a first user input related to a critical component, and
- receiving a second user input related to a non-critical component;
- marking components identified as critical to control of the hardware device as critical components;
- marking components identified as non-critical to control of the hardware device as non-critical components;
- and
- generating computer program instructions for the simulatable block diagram model via an automatic code generator, where the computer program instructions implement behavior of the block diagram model on the hardware device, the generating including:
- generating computer program instructions for critical components, and
- not generating computer program instructions for non-critical components.
Dependencies are inferred from the claim text.