Software Trigger CPU<->CLA
Trigger software events between processor (CPU) and control law accelerator (CLA)
SoC Blockset Support Package for Texas Instruments C2000 Processors
The Software Trigger CPU<->CLA block simulates the triggering of software events between processor (CPU) and CLA in a supported Texas Instruments™ hardware board. When you use this block a task on a CPU, the block generates an event to execute tasks on the connected CLA unit. When you use this block is used in a task on the CLA, the block generates an event to execute tasks on the connected CPU. Use this block to manage the communication and synchronization between the CPU and CLA.
data — Event trigger signal
Specify an event signal to start the software interrupt in the CPU or CLA.
event — Task event signal
This port sends a message at whenever the trigger condition occurs. Specify the trigger condition in the Trigger condition parameter. This output connects to the input of the Task Manager block to execute the associated event-driven task.
The Outport block, at the top-level of the reference model that contains the Software Trigger CPU<->CLA block, that connects to this event port must be configured as a non-virtual bus.
Task number — Task identification number
1 (default) | integer from
Specify the number of the CLA task to trigger.
Trigger condition — Condition to trigger an event
Rising edge (default) |
Generate an event on the event port either on a rising edge of
the data port or whenever the input is high. To generate an event
when the input signal changes from zero to one, set this parameter to
Rising edge. To generate an event once per execution of the
task, set this parameter to
Trigger type — Trigger type
Trig (default) |
Specify the type of on the CPU. To generate an event and continue running the CPU,
set this parameter to
Trig. To generate an event and instruct
the CPU to wait for the interrupt to complete, set this parameter to
TrigAndWait(codegen) option does not run in
To enable this parameter, the block must be inside a reference model with the Processing Unit set to one of the CPUs.