Procesador multinúcleo objetivo
La programación multinúcleo, o el modelado de la ejecución simultánea, ayuda a crear sistemas simultáneos para su despliegue en sistemas de procesadores multinúcleo y multiprocesadores. Algunos ejemplos de estos sistemas son los de procesamiento de señales y los de control de plantas. Las técnicas de partición y aplicación de Simulink® ayudan a superar los retos habituales en el diseño de sistemas para la ejecución simultánea.
La figura muestra un sistema de ejemplo con múltiples funciones diseñadas para ejecutarse en un sistema multiprocesador basado en CPU y FPGA. El sistema se divide en varios componentes que se asignan al planificador de tareas de la CPU o a la FPGA.
Para aprender los conceptos básicos de programación multinúcleo, consulte Concepts in Multicore Programming. Para obtener información sobre cómo diseñar sistemas para la ejecución simultánea en Simulink, consulte Multicore Programming with Simulink.
Funciones
Simulink.architecture.config | Create or convert configuration for concurrent execution |
Simulink.architecture.add | Add tasks or triggers to selected architecture of model |
Simulink.architecture.delete | Delete triggers and tasks from selected architecture of model |
Simulink.architecture.find_system | Find objects under architecture object |
Simulink.architecture.get_param | Get configuration parameters of architecture objects |
Simulink.architecture.importAndSelect | Import and select target architecture for concurrent execution environment for model |
Simulink.architecture.profile | Generate profile report for model configured for concurrent execution |
Simulink.architecture.register | Add custom target architecture to concurrent execution target architecture selector |
Simulink.architecture.set_param | Set architecture object properties |
Objetos
Simulink.GlobalDataTransfer | Configure concurrent execution data transfers |
Herramientas
Concurrent Execution Tool | Specify tasks, triggers, and nodes for concurrent execution of Simulink model |
Temas
Descripción de la programación multinúcleo en Simulink
- Concepts in Multicore Programming
Theory relevant to modeling for concurrent execution. - Multicore Programming with Simulink
Modeling for concurrent execution using Simulink. - Implicit and Explicit Partitioning of Models
Learn about the key differences between implicit and explicit partitioning. - Supported Targets for Multicore Programming
Deploy concurrent execution models to supported multicore targets. - Limitations with Multicore Programming in Simulink
Limitations and considerations when partitioning a model for concurrent execution.
Configurar el modelo
- Configure Your Model for Concurrent Execution
Learn how to configure your Simulink model to take advantage of concurrent execution. - Specify a Target Architecture
Choose or define a target architecture for a model configured for concurrent execution. - Partition Your Model Using Explicit Partitioning
Add tasks, create partitions, and map individual tasks to partitions using explicit partitioning. - Configure Data Transfer Settings Between Concurrent Tasks
Specify options for handling data transfers between concurrently executing partitions.
Implementar paralelismos en Simulink
- Implement Data Parallelism in Simulink
This example shows how to implement data parallelism for a system in a Simulink model. - Implement Task Parallelism in Simulink
This example shows how to implement task parallelism for a system represented in a Simulink® model. - Implement Pipelining in Simulink
This example shows how to implement pipelining for a system represented in a Simulink® model.
Generación de código
- Optimize and Deploy on a Multicore Target
Configure a model for concurrent execution using explicit partitioning and deploy it to a target. - Assign Tasks to Cores for Multicore Programming
This example shows how to take advantage of executing code on a multicore processor by graphical partitioning.