Add Connectivity Information - 2022.2 English

Vitis Tutorials: AI Engine Development

Document ID
XD100
Release Date
2022-12-01
Version
2022.2 English

This is done by using the templated connect<> object. For our cascaded chain, the first FIR filter must have its input connected to the subgraph input in, and the last FIR filter must have its output connected to the subgraph output out. If there is more than one FIR filter, their inputs and outputs must be daisy chained together:

                connect<>(in, FIR_ARRAY[0].in);
                if (N_FIR_FILTERS > 1)  {
                        for (ix = 1; ix < N_FIR_FILTERS; ix++)  {
                                connect<>(FIR_ARRAY[ix-1].out, FIR_ARRAY[ix].in);
                        }
                }
                connect<>(FIR_ARRAY[N_FIR_FILTERS-1].out, out);