Supported Blocks for Halide Code Generation in Neighborhood Processing Subsystem
This list shows Simulink® blocks that support Halide code generation from the Neighborhood Processing Subsystem block. For more information about using Halide code to improve performance of generated code, see Speed Up Generated Code Execution with Halide Code.
Commonly Used Blocks
Block | Requisites |
Gain | Block parameter Multiplication is set to
|
Ground | |
Inport | |
Logical Operator | |
Outport | |
Product | Block parameter Multiplication is set to
|
Relational Operator | |
Saturation | |
Sum | |
Terminator |
Discontinuity Blocks
Block | Requisites |
Saturation |
Logic and Bit Operation Blocks
Math Operation Blocks
Block | Requisites |
Bias | |
Divide | |
Gain | Block parameter Multiplication is set to
|
Math Function | Block parameter Function is set to:
|
MinMax | |
Product | Block parameter Multiplication is set to
|
Rounding Function | Block parameter Function is set to
anything other than |
Sqrt | |
Sum | |
Trigonometric Function | |
Unary Minus |
Port & Subsystem Blocks
Signal Attribute Blocks
Block | Requisites |
Data Type Conversion | |
Signal Conversion | |
Unit Conversion |
Signal Routing Blocks
Block | Requisites |
From | |
Goto | |
Multiport Switch | |
Selector | Block output must be scalar |
Sink Blocks
Block | Requisites |
Outport | |
Terminator |