This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Finite-state machine with datapath" – news · newspapers · books · scholar · JSTOR (December 2013) (Learn how and when to remove this template message)

A finite-state machine with datapath (FSMD) is a mathematical abstraction that is sometimes used to design digital logic or computer programs.

An FSMD is a digital system composed of a finite-state machine, which controls the program flow, and a datapath, which performs data processing operations.

FSMDs are essentially sequential programs in which statements have been scheduled into states, thus resulting in more complex state diagrams.

Here, a program is converted into a complex state diagram in which states and arcs may include arithmetic expressions, and those expressions may use external inputs and outputs as well as variables.

FSMs do not use variables or arithmetic operations/conditions, thus FSMDs are more powerful than FSMs.

The FSMD level of abstraction is often referred to as the register-transfer level.

An FSMD is equivalent to a Turing machine in power.