Legacy flows

Waveflow’s flow is the system flow (Flow Overview): a system of concurrent modules, each verified in its own harness and then together, in pysim and at RTL under XSI. Before it, Waveflow had a second flow, kept here for the designs and courses that use it.

The sequential flow (Sequential (host-activated)) takes one control-driven kernel – ap_ctrl_hs and an s_axilite register map – that a host launches and waits on, and verifies it with a sequential C++ testbench (SeqTB) that Vitis runs in C-simulation and C/RTL co-simulation. It is the shortest path from a Python function to a verified kernel, and the first one the course teaches. It cannot express concurrency – several tasks at once, streams between them, a host on a bus – which is why new designs use the system flow.

What is not legacy. A host-activated module – a kernel the host starts, its registers in a register map – is still a kind of module and a kind of device in a system (Host-activated kernel in HLS, Host launch lifecycle, Register maps). What is legacy is verifying a design through a sequential testbench instead of a system.

The worked examples of this flow are Streaming polynomial (its free-running successor is Free-running polynomial), and the other legacy examples.


Table of contents

  • Sequential (host-activated) - Flow 1 — a control-driven (ap_ctrl_hs + s_axilite) kernel the host launches and waits on, driven by a sequential Vitis testbench Vitis runs in C-simulation and C/RTL co-simulation. The concept here; the full worked walkthrough is the regmap example.
  • Sequential testbench - The sequential_vitis_tb target: a SeqTB's main() lowers to a C++ int main() emitted as _tb.cpp. Same extractor as a kernel, different rule profile — a testbench may build a DUT, read files, push/pop streams and call dut.run(), which a kernel body may not. The body must be straight-line: spawning a SimPy process is rejected, not future work.