Connection Constructor Templates - Connection Constructor Templates - 2025.1 English - UG1603

AI Engine-ML Kernel and Graph Programming Guide (UG1603)

Document_ID
UG1603
Release_Date
2025-05-29
Version
2025.1 English
connect [name] (portA , portB)

This connects two ports which can be either buffer port, cascade port or stream port.

The buffers can be one of the following:

The two ports can belong to different levels of hierarchy within the graph.

dimensions(port) = {Size1, ...}

If the buffer dimension is not specified in its signature, you define it in the graph using the dimension function. This function can only be applied to buffers located in an AI Engine-ML tile.

connect<parameter> [name](portA, portB)

Connects a parameter port to a kernel buffer port.

connect [name](parameter, kernel)

Connects a LUT parameter array object to a kernel.