Note
AIE-ML devices only support a single input/output port.
Multiple Input Ports
Symmetric FIRs, including half-band FIRs, can be configured with two input buffers. Such an implementation is a trade-off between performance and resource utilization. Symmetric FIRs with two input ports avoid the potential for memory read contention, which would otherwise result in stall cycles and therefore lower throughput.
Set the TP_DUAL_IP
template parameter to 1, to create a FIR kernel with two input buffer ports.
In this scenario, FIR kernel with two input ports will be created where the FIR kernel expects each buffer to contain an exact copy of the same data.
Both input ports should be connected to the same data source through the FIR’s graph.
Multiple Output Ports
All FIRs can be configured with two output buffers. Such a design allows greater routing flexibility that offers buffers to be connected directly to downstream components for further processing, avoiding a costly and limiting broadcast with a stream.
Set the TP_NUM_OUTPUTS
template parameter to 2, to create a FIR kernel with two output buffer ports.
In this scenario, two exact copies of output data will be produced in two independent memory buffers.
For example, a single-rate FIR with a 512 input sample buffer will produce two output buffers, where each buffer is 512 samples.