Hello, DSPC.
I am new to AWE designer and now interested in reducing CPU load of running AWE target (my layout).
(1) How can I program "condition branch" to reducing CPU load
ex. if( sig > 1) then subsystem_A executes, else subsystem_B executes.
If using multiplexor and selecting the output of subsystem_A or subsystem_B , both subsystems are running. However using "if branch", one of the subsystems is running and I can reduce CPU load, can't I?
(2) If creating nests of subsystem, does it effect the CPU load?
Like creating subsystemN is in subsystemN-1 which is in sybsystemN-2,,,
Does it badly effect the CPU load?
Thank you for your help.
Best Regards,
9:11pm
Hi M.S.,
The StatusSet module can be used to toggle a module/subsystem status between Active (processing occurs and requires CPU cycles) and Inactive (processing does not occur and does not require CPU cycles). The output buffer of a module/subsystem set to Inactive may be in an indeterminate state, so to avoid issues we recommend routing the output buffer to a Copier module and also using a StatusSet module to set the Copier to Muted (outputs a buffer of zeros) when its input module/subsystem is Inactive. You could then use a Multiplexor to select the Active processing path.
Subsystems are flattened when building the overall system and do not add any CPU, memory, or latency to the algorithm.
Thanks,
Michael