DSP Blocks

Vitis L1 Blocks wraps AMD’s library blocks as they ship. This section is the other route: blocks written in Waveflow – a bit-exact Python model, one free-running hls::task per piece of hardware, a composite module that generates its own top – which take what is good from a vendor library and rebuild what is not.

Every reusable block, these and the rest (memory, the RF converters, the processor), with the state of its timing and resource models, is listed on Library blocks and their models.


Table of contents

  • The SSR FFT - SsrFft (waveflow.dsp.ssr_fft): a streaming FFT taking R = 4 complex samples a cycle and a new frame every L/R cycles, bit-exact with AMD's Vitis L1 FFT and 7.5 to 10 times its rate as shipped. What L and R mean, the measured interval against the vendor core, and a guide to the section: architecture, parameters, interfaces, build, synthesis, timing.
  • Linear-Algebra Conventions - Reusable hardware for complex fixed-point linear algebra in waveflow.linalg. Each component is a bit-exact Python model, a pysim module, a Vitis HLS task body, a standalone unit that speaks framed messages, and a cost model calibrated on a packaged platform. This page covers what the components share: operand formats and the integer format id that carries them to C++, lane groups and message words, the message header and its statuses, the build step, and where the cost data live. The components are the systolic matrix multiply and the CG vector unit.
  • Systolic Matrix Multiply - Waveflow's systolic matrix multiply: C = q(A·B) or q(Aᴴ·B) on complex fixed-point matrices, exactly before one rounding, on an output-stationary array of R × C processing elements. Two modules: SystolicEngine, streamed, for products that fit on chip, with panels for a long inner dimension and operand reuse; SystolicEngineMem, the engine behind memory for matrices larger than it. This page says which to use and where each is described: how a systolic array works and what bounds it, the engine, and the engine behind memory.
  • Vector Unit - VecUnit is a programmable complex fixed-point vector unit: an instruction set in the notation of the RISC-V vector extension (RVV), register groups of L lanes, a fixed-point format per register, instructions chained into passes, and three free-running tasks -- load, execute, store -- each with its own program (decoupled access/execute). It is a combination of well-known structures, not a new architecture. This page says what it is, how it differs from the fixed-function CG vector unit, and where each part is described: how a vector processor works, the architecture, the instruction set, programming it, the hardware, timing and resources, and the examples.
  • SIMD Core - The SIMD core is a minimal programmable integer unit for the elementwise glue between DSP blocks: a scalar RV32IM control unit and L identical complex lanes running a subset of the RISC-V vector extension (Zve32x, LMUL 1) plus a few wf. complex and queue instructions. One vector instruction runs over a whole strip before the next starts, so a program of S instructions on N elements takes about S·N/L + D cycles on O(L) hardware, with no forwarding network. This page says what it is, why it exists beside the vector unit, what it costs, and where the ISA, the programming guide and the examples are. Status: experimental and frozen after Stage 5 (HLS bit-exact at RTL); use the vector unit at S 1 instead.
  • Retired Components - Retired linear-algebra units, kept only for the study that used them (examples/mimo_cg): SystolicUnit and SystolicCore, superseded by SystolicEngine and SystolicEngineMem, and CgVectorUnit and CgVectorCore, superseded by CG as a program on the programmable VecUnit. Their code is in waveflow/linalg/legacy/, their task bodies in waveflow/build/legacy/, their tests in tests/linalg/legacy/. New designs use the engine and the vector unit.