The terms the guide uses for what Waveflow builds and simulates, each with its class and the page that
defines it. How they fit together – the three levels of simulation, the layer around the DUT, the DUT’s
tree – is Waveflow Architecture.
What is simulated
term
what it is
class
defined on
golden
the operation as pure, bit-exact, untimed functions; every level is checked against it
a FreeRunMod whose interfaces are all streams: a component of the hardware, described by its operation; a leaf or a composite of kernels; yours or the library’s
the adaptor a bus master reaches a kernel through: a front and its views. Framework Verilog at RTL, because Vitis HLS cannot generate an AXI4-full slave
one way a kernel is reached over the bus, one window of addresses: a queue in or out, a register bank, a BRAM window, a credit queue. Declared on the kernel’s class in mm_views
one or more kernels and the adaptors that join them to the world that is not streams; with no adaptor, just its kernels. One sub-top in the Verilog, one IP when packaged
MmSlaveDevice (the bus case), from build_mm_device(kernel)
a kernel or device Waveflow ships for reuse (SsrFft, SystolicEngine, VecUnit, the memory adaptors, …), each with the state of its timing and resource models
the block that merges several clients’ frames into one stream, a whole frame at a time, by strict priority or round-robin; it names the winner on a side stream
what says whose a frame is: one word a frame on a side stream beside the kernel (the arbiter’s index, a job id and pass), or a field in the frame’s header
a token that admits one job into a loop; the stage where a job leaves returns it. Bounds what each link of the loop must hold. Not a CreditStreamIF, which is a window on one bus link
Module and kernel. Every kernel is a module; not every module is a kernel. A kernel’s interfaces
are all streams. An adaptor (a memory reader, a slave adaptor), a memory model, a channel and a host are
modules, not kernels.
Device and composite. A composite kernel contains only kernels. Add an adaptor – a memory reader,
a slave adaptor – and the whole is a device, not a kernel. Every DUT is made of devices, even when a
device is one kernel and nothing else.
Adaptor and view. A slave adaptor holds one or more views behind one front. A memory reader or
writer is an adaptor too, on the master side.
HLS top and sub-top. The HLS top is what Vitis synthesizes; the sub-top is the device’s whole
Verilog, the HLS top plus RTL. With no RTL adaptor, they are the same.