Buffer / Window-Based Kernels - Buffer / Window-Based Kernels - 2026.2 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-11-11
Version
2026.2 English

Buffer-based AIE kernels require a complete window before processing begins. They operate on fixed-size windows.

Partial data (fewer samples than the window size):

  • Input: 4 samples (window size is 8)
  • Output: 0 samples
  • Behavior: the data is buffered but not processed until the window is full.
out1 = myGraph.run(va.array([1, 2, 3, 4], dtype=va.int32))
# out1: [] -- waiting for a full window

out2 = myGraph.run(va.array([5, 6, 7, 8], dtype=va.int32))
# out2: [2, 4, 6, 8, 10, 12, 14, 16]

Exact data (matches the window size):

  • Input: 8 samples → output: 8 samples. The window is filled and processed in one call.

Oversized data (multiple of the window size):

  • Input: 16 samples → output: 16 samples. The kernel is invoked twice automatically, one time per window.

Characteristics: - Block / window processing - No output until a window is full - Suitable for batch processing - Deterministic processing boundaries - Optimized for fixed-size operations