Inferensys

Glossary

Streaming Architecture

An FPGA dataflow design pattern where data is processed as a continuous sequence of samples using deep pipelines, achieving minimal processing latency for real-time IQ sample classification.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
REAL-TIME DATAFLOW DESIGN

What is Streaming Architecture?

A hardware design pattern that processes continuous data sequences through deep pipelines to achieve minimal latency.

Streaming architecture is an FPGA dataflow design pattern where data is processed as a continuous, unbounded sequence of samples through deeply pipelined computational stages, achieving deterministic, minimal processing latency for real-time IQ sample classification. Unlike batch processing, it eliminates memory round-trips by forwarding results directly between processing elements.

This architecture maps naturally to signal processing pipelines, where each functional block—such as a digital down-converter, filter, or neural network layer—operates concurrently. By leveraging ping-pong buffers and operator fusion, the design sustains maximum throughput, enabling modulation classifiers to keep pace with high-bandwidth RF front-ends on resource-constrained edge hardware.

DATAFLOW DESIGN PATTERNS

Key Features of Streaming Architectures

Streaming architectures process IQ samples as a continuous, unbounded sequence through deeply pipelined FPGA data paths, eliminating frame-based buffering to achieve deterministic, ultra-low latency for real-time automatic modulation classification.

01

Deep Pipelining

A spatial computing paradigm where the entire signal processing chain is decomposed into discrete, concurrently executing stages. Each clock cycle advances data one stage forward, enabling initiation intervals of 1 and throughput of one sample per clock. For modulation classifiers, this means a new IQ sample enters the FFT or filter stage while previous samples simultaneously occupy the neural network inference layers downstream. The pipeline depth determines end-to-end latency, measured in clock cycles from ADC sample to classification decision, while the initiation interval governs maximum throughput.

< 1 µs
Per-Sample Latency
1 sample/clock
Initiation Interval
02

Backpressure Handling

A flow control mechanism that prevents data loss when downstream processing stages cannot accept new input. Using AXI4-Stream TREADY/TVALID handshaking, upstream modules stall automatically when a consumer asserts backpressure. In modulation classification pipelines, this occurs when a complex neural network layer requires multiple cycles to compute a result. The architecture propagates stall signals backward through the entire pipeline, ensuring no FIFO overflow and maintaining deterministic data integrity without requiring software intervention or dynamic scheduling.

0
Dropped Samples
03

Dataflow Graphs

A directed acyclic graph representation where nodes are computational kernels and edges are streaming FIFO channels. Tools like Vitis HLS and hls4ml automatically synthesize these graphs from C++ or Python descriptions. For RF inference, a typical graph includes:

  • Preprocessing: DC offset correction, IQ imbalance compensation
  • Feature Extraction: FFT, cyclostationary analysis
  • Neural Network: Convolutional layers, activation functions
  • Decision Logic: Argmax, confidence thresholding Each node executes independently, enabling task-level parallelism across the entire modulation recognition chain.
5-20
Typical Graph Nodes
04

Ping-Pong Buffering

A double-buffering technique using two memory banks that alternate between write and read roles. While one buffer accumulates incoming IQ samples, the other feeds previously collected data to the processing pipeline. This decouples data acquisition from computation, allowing the FPGA to overlap DMA transfers from the ADC with neural network inference. For streaming modulation classifiers, ping-pong buffers eliminate the throughput gap between bursty input and continuous processing, ensuring the pipeline never stalls waiting for data. The technique is essential when interfacing with JESD204B high-speed converter interfaces.

2
Memory Banks
100%
Duty Cycle Utilization
05

Operator Fusion

A graph-level optimization that merges consecutive operations into a single hardware kernel to eliminate intermediate memory transactions. In streaming modulation classifiers, common fusions include:

  • Conv2D + BatchNorm + ReLU: Folding normalization parameters into convolution weights
  • MaxPool + Activation: Combining pooling and non-linearity in one pass
  • Dense + Softmax: Computing class probabilities without storing the raw logits Fusion reduces off-chip DRAM bandwidth and minimizes pipeline bubbles, directly improving the frames-per-second throughput of real-time signal classification systems.
3-5x
Bandwidth Reduction
06

Deterministic Latency

Unlike GPU or CPU architectures where cache misses and thread scheduling introduce jitter, FPGA streaming pipelines guarantee cycle-accurate, fixed latency from input to output. Every IQ sample traverses exactly the same number of pipeline registers and logic stages. For time-critical applications like electronic warfare or dynamic spectrum access, this determinism enables precise time-of-arrival estimation and synchronous decision-making. The total latency equals the sum of all pipeline stage latencies, computable at compile time through static timing analysis.

±0 cycles
Latency Jitter
Compile-time
Latency Known
STREAMING ARCHITECTURE

Frequently Asked Questions

Explore the core concepts of FPGA dataflow design for real-time IQ sample classification, where continuous processing pipelines eliminate frame-based latency.

A streaming architecture is an FPGA dataflow design pattern where IQ samples are processed as a continuous, unbounded sequence through a deep pipeline of computational stages, rather than being buffered into discrete frames. In this paradigm, each sample propagates through the logic fabric with deterministic latency, and new samples enter the pipeline on every clock cycle. This approach directly maps the feed-forward nature of neural network inference—convolution, activation, pooling—onto spatially distributed hardware resources. By eliminating the overhead of external memory round-trips and frame assembly, streaming architectures achieve the minimal theoretical processing latency, making them essential for real-time automatic modulation classification in electronic warfare and dynamic spectrum access applications where microsecond-level decisions are critical.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.