Skip to main content
Link
Menu
Expand
(external link)
Document
Search
Copy
Copied
Waveflow
Waveflow
Overview
Motivation
The Python model
The Waveflow flow
Build targets
The harness for AI
SALSA: the motivating system
Project status
Guide
Installation
User Setup
Developer Setup
Connecting Vitis and Vivado
Waveflow Architecture
Kernels
Devices and the DUT
Command–response
Sharing a kernel
Library blocks and their models
Flow Overview
Designing the DUT
Stream patterns
Defining the kernel in Python and HLS
Simulating in Python
Simulating at RTL
Functional verification
Timing and resources
Design-space exploration
Glossary
Data Schemas
Python
Fields
Data Lists
Data arrays
Data Unions
Tagged unions on a stream
Fixed-point (FixedField)
Complex (ComplexField)
HLS
Code Generation
Serialization
Test Data Files
Vectorization
Python
Numerical operations
Integer vectorization
Float vectorization
Fixed-point vectorization
Complex vectorization
HLS
Design patterns for loop optimization
Vitis: raw arrays
Vitis: struct arrays
Vitis: complex arrays
Vitis: array serialization
Simulation
SimObj
Process generators
Running a simulation
Stream drivers and sinks
Timing model
Logging
Interfaces
Overview
Primitive interfaces
Stream Interfaces
BRAM — memory between modules
Stream-of-Blocks Interface
Crossbar Interfaces
Derived interfaces
Credit Stream
Acked Stream
AXI-MM
Modeling memory-mapped traffic
AXI crossbar
Master side — streaming memory kernels
Slave side — memory-mapped adaptor
Slave adaptor views
Slave adaptor — how it works
MM-streams with credit
Credit streams in HLS: chunked writes
Register Maps
Modules
Hardware modules
Writing a free-running module
Developing module by module
The harness
Reading a harness's recordings
Hostile stand-ins
Calibrating in a harness
Composing a parent
XSI simulation components
Parameterization
Toward the board
Module Code Generation
Automatic vs. manual
Module structure
Elaboration
Host-activated kernel in HLS
Host launch lifecycle
Free-running kernel in HLS
Overriding the generated task
A module realized as Verilog
Free-running composite in HLS
XSI testbench in HLS
Endpoint kinds
Endpoint interfaces
Extractor
Generated files
Templating
Custom Hooks
Body-only kernels
Writing a hook
Block — load, compute, store
Stream — process as you read
Complex — data-dependent addressing
Writing a BFM model
Behavioral edges
Kernel transfer reference
Build System
Core Components
Code Generation Steps
Python Simulation Pattern
Vitis Pattern
Authoring run.tcl
XSI Build Rung
XSI System Simulation
Software threads
IP Packaging and Block Design
BFM Testbenches
Sweeping a design
Timing Events
Memory Modeling
HwState — storage inside a module
MemMgr — allocation and addressing
MemoryMod — storage across a bus
RF converters
Rfdc
Multi-channel support
Real and I/Q
Adding an RF path
The sample word
Instantiating the converter
Connecting the RF side
Connecting the fabric side
Block sampling
The design rules
The fidelity boundary
RfShotBuf
Transmit — RfShotTx
Receive — RfShotRx
Internals
Options and what is not built
RfStreamBuf
RF environment
Choosing a sample buffer
Platforms
Platform identity
Creating a platform
Directory layout
Managing a platform
Stream Blocks
StreamBroadcast
StreamArbiter
StreamDemux
StreamFramer
StreamDispatch
Vitis L1 Blocks
The Vitis FFT
FFT parameters
FFT interfaces
Including the FFT in your design
Synthesizing a Vitis L1 block
Latency and II for a vendor block
DSP Blocks
The SSR FFT
SSR FFT architecture
SSR FFT parameters
SSR FFT interfaces
Including the SSR FFT in your design
Synthesizing the SSR FFT
SSR FFT timing
Linear-Algebra Conventions
Systolic Matrix Multiply
How a systolic array works
Systolic engine
Systolic engine behind memory
Vector Unit
How a vector processor works
Vector unit architecture
Vector unit program examples
Configuring and constructing a vector unit
Vector unit instruction set
Programming the vector unit
Vector unit interface
Vector unit hardware
Vector unit timing and resources
SIMD Core
SIMD Core Instruction Set
Programming the SIMD Core
Retired Components
CG Vector Unit (retired)
Timing Analysis Tools
Timing Diagrams
Activity Diagrams
Extracting VCD Files
Parsing VCD Files
AXI4-Stream Timing Analysis
AXI4 Memory-Mapped Timing Analysis
Stream-of-Blocks Timing Analysis
Cosim timing
Tracing a kernel run
Trace pitfalls
Resource Analysis Tools
FPGA resources
Reading the report — CsynthParser
Composite kernels
System resources
Model calibration
What a CalibModel is
The corpus — measured data
CalibDataFrame — the corpus API
Confidence
The model kinds
A worked example
Module keys and the record store
Timing Models
What a timed phase is
LT vs CT models
Declaring a timed phase
Sequential bodies
Pipelined bodies
The form of a span's model
Calibrating a timed phase
Component residuals
The bus-transfer model
Polling Overhead
The mem-stream residual
Timing a composite
Processor Model
Scheduling
Calibration
Using it in a DSE
Agentic DSE
The DSE problem
The design context
The service
Skills
Resource Models
What a ResourceModel is
The lookup model
Binding a model to a design
VitisResourceModel
The interface model
Predicting
Fitting
Resource measurements
Developers
Headless Testing
Legacy flows
Sequential (host-activated)
Writing it in Python
Flow steps
Sequential testbench
AI Tooling
Installing the MCP Server
Searching the Guide and Examples
Frames
Agent Skills
Blind Testing the MCP Server
VS Code Extension
Examples
Basic vector arithmetic
The Python model
The Vitis equivalent
Confirming the match
Free-running polynomial
The polynomial's protocol
The polynomial's golden
The polynomial's kernel
The polynomial's system flow
The polynomial's timing
Block equalizer
What an equalizer does
The equalizer's protocol
The equalizer's golden
The equalizer's stages
The equalizer's HLS bodies
The equalizer's system flow
The polynomial on a bus
The polynomial's device
The polynomial's bus system
The polynomial's host
The polynomial's composition check
Free-running memory copy
Module Overview
Python
Testbench (Python)
DUT codegen
The system
RTL simulation
Visualizing timing
Composite kernel interleaver
Module Overview
Python
Testbench (Python)
DUT codegen
The system
RTL simulation
The timing model
Timing in the pysim
RTL timing and the comparison
Fitting the timing model
Block FIR with state
Module Overview
Cross-firing state
Fixed point
Python
Testbench (Python)
The two kernels
DUT codegen
RTL simulation
Resource models
The sweep and its results
A memory reached three ways
Python model
Python simulation
Code generation
RTL simulation
Reading the trace
A memory-mapped FIR
Protocol
Slave adaptor
Python model
Python simulation
Build flow
Code generation
Synthesis
XSI testbench
RTL simulation
Two kernels on a bus
Theory
Protocol
Python model
The host
The system
The credit link
Python simulation
Build flow
Code generation
Synthesis
XSI testbench
RTL simulation
A channel sounder in a ray-traced street
One FFT shared by every channel
Vector multiply resource modeling
The module
The kernel
Testbench
DUT codegen
Testbench codegen
The resource model
The sweep
How well it fits
What a crossbar costs
MU-MIMO whitening with CG
The problem
Conjugate gradient
The 2024 CG detector
Emitter detection and AoA
The problem
The algorithm
The architecture
The workload
Results: ring and pool
The timing
Earlier study (C = 8): the parameters
Earlier study (C = 8): first results
Earlier study (C = 8): the design-space benchmark
Earlier study (C = 8): the flow's cost and accuracy
Earlier study (C = 8): one optimizer, two arms
Waveflow's FFT, at full rate
SSR FFT testbench
SSR FFT timing results
SSR FFT resource results
Wrapping vendor IP: the Vitis FFT
FFT testbench
FFT timing results
FFT resource results
RF loopback
Building it
Running it
Taking it to RTL
Playing a stored waveform
Running it
Taking it to RTL
Capturing without losing anything
Running it
Taking it to RTL
Measuring a delay with an address
Running the loopback
Micro-scheduler on a CPU
A systolic matrix multiply, measured
Systolic harnesses
Systolic timing results
Systolic resource results
Legacy examples
Register mapped simple function
Understanding Vitis Register Maps
Python model
System simulation
Sequential execution
Vitis HLS Code Generation
C and RTL Simulation
Streaming polynomial
Protocol and interfaces
Why this contract
The error path
Decisions your spec must make
Python Golden Model
HLS Code Generation
C-Sim Functional Verification
C-Synth Resource Estimation
RTL Cosim Timing Verification
AXI4-Stream Timing Analysis
Histogram with shared memory
Understanding AXI Memory-Mapped
Python model
Python Simulation
Vitis HLS Code Generation
C and RTL Simulation
Viewing Timing and Bursts
Toy vector programs
CG as a vector program
CG on the vector unit, timing at RTL
A matched filter as a vector program
The matched filter on the vector unit, timing at RTL
Evaluation
Simulation speed
Simulation speed: memcpy
Simulation speed: the SSR FFT
Simulation speed: the processor model
Simulation speed: the systolic engine
Simulation speed: CG on the vector unit
Simulation speed: the matched filter on the vector unit
Agent skills
Agent skills: onboarding
Agent skills: data schemas
Agent skills: HLS kernel bodies
Agent skills: kernels
Agent skills: devices
Agent skills: pipelines
Agent skills: systems
Agent skills: shared kernels
Timing fidelity
Timing fidelity: the stream blocks
Timing fidelity: os_filterbank
Agentic design-space exploration
Future
AI-Assisted Hook Completion
AI-Assisted Planning
Design Analysis Automation
Vivado IPI Backend
Search Waveflow
Notes: keep it short.