Skip to content

Synchronous Data Flow

A fixed-token-rate actor graph whose channel balance and feasible periodic execution can be analyzed before it runs.

Version
v1 · 2026-10-17 · History
Domain-specific #
14326
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomain
Dataflow Models of Computation → Computer Science & Software Engineering
Aliases
SDF, Synchronous dataflow

Core Idea

Synchronous data flow (SDF) models computation as actors joined by directed token channels, with a fixed, known number of tokens consumed and produced at each port on every firing. Those rates permit a balance test and a search for a periodic schedule before execution. A positive balance solution alone is insufficient: initial tokens must also permit a complete firing cycle before finite channel storage follows.[1][2]

How would you explain it like I'm…

The Same-Number Factory Line

Picture a cookie factory line. The mixer always makes exactly 2 balls of dough each time, and the oven always takes exactly 3 balls each time. Because these numbers never change, you can plan the whole day ahead of time: run the mixer 3 times for every 2 oven loads. Synchronous data flow is building computer programs like that factory line.

Fixed-Count Data Workers

Synchronous data flow is a way of describing a computer program as a set of workers, called actors, connected by one-way channels that carry pieces of data, called tokens. The key rule is that every time an actor runs, it always takes in the same fixed number of tokens and always sends out the same fixed number. What it does with the data can vary, but the counts never change. Because of this, you can do arithmetic ahead of time: if one actor makes 2 tokens and the next eats 3, the first must run 3 times for every 2 runs of the second. That lets people plan the order of work before the program starts, though some setups can still get stuck.

Fixed-Rate Dataflow Scheduling

Synchronous data flow (SDF) models a streaming computation as actors connected by directed channels that carry data tokens. Its defining rule is that each time an actor fires, it consumes and produces a fixed, known number of tokens on each of its connections; its calculations may depend on the data values, but the token counts may not. This turns scheduling into token arithmetic: on an edge where A produces 2 and B consumes 3, a balanced cycle needs 3 firings of A for every 2 of B, and the same balance must hold on every edge at once. Solving these equations gives a repetition vector, how many times each actor fires per cycle. Balance is necessary but not sufficient: missing initial tokens or dependencies can still cause deadlock. When a balanced cycle can run, it can repeat forever with bounded channel memory, which is why SDF was introduced (by Lee and Messerschmitt) for multirate signal processing; the cost is that it cannot express token rates that depend on the data.

 

Synchronous data flow (SDF), introduced by Lee and Messerschmitt, is a dataflow model of computation in which a streaming program is a graph of actors connected by directed FIFO channels carrying tokens. The defining restriction is that each actor, on every firing, consumes and produces a fixed and statically known number of tokens on each port; values may vary, but rates may not. This makes multirate signal-processing programs schedulable before execution. Rates turn the graph into linear arithmetic: a topology matrix records production and consumption counts, and a positive integer repetition vector in its null space, when one exists, gives how many times each actor fires in one balanced iteration. For an edge where A produces 2 and B consumes 3, balance requires firing A three times per two firings of B. Balance is necessary but not sufficient: initial tokens and dependencies can still cause deadlock. If a complete balanced iteration can execute, its finite firing sequence repeats with bounded buffer storage, enabling compile-time scheduling, multiprocessor mapping, and buffer analysis. The cost is expressiveness: data-dependent rates and mode changes require more general models or explicit structure around separate SDF graphs.

Scope of Application

Use SDF where actor boundaries and per-firing token counts can be stated in advance:

  • Multirate signal processing: Static schedules can coordinate differing sample rates on one or more processors.[1][3]
  • HDSL2 modem simulation: Ptolemy SDF blocks modeled coding and equalization; the student report used separate startup and data simulations.[4]
  • Sobel filtering: One FPGA multiprocessor study executed a Sobel SDF graph.[5]
  • JPEG encoding: The same study executed a JPEG SDF graph under different actor placements.[5]

Clarity

Identify the actors, channels, and token counts per firing. Report separately whether the edge-balance equations have a positive repetition vector, whether a complete cycle can execute from the initial tokens, and what schedule and buffer bound were established. Fixed rates alone do not prevent inconsistency or deadlock, and “synchronous” does not require one physical clock tick for every actor.[2][1] The two application reports do not supply complete numerical rate tables.[4][5]

Manages Complexity

Fixed rates turn part of runtime scheduling into finite token accounting. For a suitable graph, a compiler can calculate relative firing counts, find a periodic order, and allocate finite channel storage.[3][2] The price is expressive power: data-dependent counts require another model or an explicit arrangement of SDF graphs.[2] The modem's split modes show one implementation limit, not a universal impossibility.[4]

Abstract Reasoning

For each channel, equate production per firing times producer repetitions with consumption per firing times consumer repetitions. Solve all edges together, then check that initial tokens allow a complete firing order. A feedback cycle may deadlock despite balanced rates. Only an executable cycle supports a repeatable schedule and finite peak channel occupancy.[2]

Knowledge Transfer

The actor, channel, fixed-rate test transfers from a multirate filter to the modem simulation and FPGA image graphs.[2][4][5] A network captures connected actors and channels but does not, by itself, supply fixed firing rates or conserved stocks. Kahn process networks add deterministic stream semantics that fixed-rate SDF alone does not guarantee. The model travels within computation where its firing and token roles remain literal.

Neighborhood in Abstraction Space

Synchronous Data Flow sits in a sparse region of the domain-specific corpus (96th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Edward A. Lee and David G. Messerschmitt, “Synchronous Data Flow,” Proceedings of the IEEE 75, no. 9 (1987): 1235–1245. UC Berkeley author-institution publication page and abstract, https://ptolemy.berkeley.edu/publications/papers/87/synchdataflow/. Source access: author-hosted abstract only. registry ↩a ↩b ↩c

[2] Thomas M. Parks, José Luis Pino, and Edward A. Lee, “A Comparison of Synchronous and Cyclo-Static Dataflow,” Proceedings of the Asilomar Conference on Signals, Systems, and Computers (1995), https://ptolemy.berkeley.edu/publications/papers/95/csdfVSsdf/csdfVSsdf.pdf. Original complete paper, sections 1–2 and 5. registry ↩a ↩b ↩c ↩d ↩e ↩f

[3] Edward A. Lee and David G. Messerschmitt, “Static Scheduling of Synchronous Data Flow Programs for Digital Signal Processing,” IEEE Transactions on Computers C-36, no. 1 (1987): 24–35. UC Berkeley author-institution publication page and abstract, https://ptolemy.berkeley.edu/publications/papers/87/staticscheduling/. Source access: author-hosted abstract only. registry ↩a ↩b

[4] Patrick Jackson and Reza Koohrangpour, HDSL2 Modem Modeling and Simulation (University of Texas at Austin EE 382C final project report, May 12, 1999), https://users.ece.utexas.edu/~bevans/courses/ee382c/projects/spring99/jackson-koohrang/finreport.pdf. Student simulation report, sections 3–4. registry ↩a ↩b ↩c ↩d

[5] Christof Schlaak, Maher Fakih, and Ralf Stemmer, “Power and Execution Time Measurement Methodology for SDF Applications on FPGA-based MPSoCs,” HIP3ES 2017, arXiv:1701.03709v1, https://arxiv.org/html/1701.03709v1. Original complete paper, sections 1, 3–4, Figure 1 and Table 2. registry ↩a ↩b ↩c ↩d