Retiming
Retiming is the technique of moving the structural location of latches or registers in a digital circuit to improve its performance, area, and/or power characteristics in such a way that preserves its functional behavior at its outputs.[src] Retiming was first described by Charles E.[src] Leiserson and James B.[src] Saxe in 1983.[src] The technique uses a directed graph where the vertices represent asynchronous combinational blocks and the directed edges represent a series of registers or latches (the number of registers or latches can be zero).[src] Each vertex has a value corresponding to the delay through the combinational circuit it represents.[src] After doing this, one can attempt to optimize the circuit by pushing registers from output to input and vice versa - much like bubble pushing.[src] Two operations can be used - deleting a register from each input of a vertex while adding a register to all outputs, and conversely adding a register to each input of vertex and deleting a register from all outputs.[src] In all cases, if the rules are followed, the circuit will have the same functional behavior as it did before retiming.[src]
Retiming is the technique of moving the structural location of latches or registers in a digital circuit to improve its performance, area, and/or power characteristics in such a way that preserves its functional behavior at its outputs.[src] Retiming was first described by Charles E.[src] Leiserson and James B.[src] Saxe in 1983.[src] The technique uses a directed graph where the vertices represent asynchronous combinational blocks and the directed edges represent a series of registers or latches (the number of registers or latches can be zero).[src] Each vertex has a value corresponding to the delay through the combinational circuit it represents.[src] After doing this, one can attempt to optimize the circuit by pushing registers from output to input and vice versa - much like bubble pushing.[src] Two operations can be used - deleting a register from each input of a vertex while adding a register to all outputs, and conversely adding a register to each input of vertex and deleting a register from all outputs.[src] In all cases, if the rules are followed, the circuit will have the same functional behavior as it did before retiming.[src] ==Formal description== The initial formulation of the retiming problem as described by Leiserson and Saxe is as follows.[src] Given a directed graph G:=(V,E) whose vertices represent logic gates or combinational delay elements in a circuit, assume there is a directed edge e:=(u,v) between two elements that are connected directly or through one or more registers.[src] Let the weight of each edge w(e) be the number of registers present along edge e in the initial circuit.[src] Let d(v) be the propagation delay through vertex v .[src] The goal in retiming is to compute an integer lag value r(v) for each vertex such that the retimed weight w_r(e):=w(e)+r(v)-r(u) of every edge is non-negative.[src] There is a proof that this preserves the output functionality.[src] ===Minimizing the clock period with network flow=== The most common use of retiming is to minimize the clock period.[src] A simple technique to optimize the clock period is to search for the minimum feasible period (e.g.[src] using binary search).[src] The feasibility of a clock period T can be checked in one of several ways.[src] The linear program below is feasible if and only if T is a feasible clock period.[src] Let W(u,v) be the minimum number of registers along any path from u to v (if such a path exists), and D(u,v) is the maximum delay along any path from u to v with W(u,v) registers.[src] The dual of this program is a minimum cost circulation problem, which can be solved efficiently as a network problem.[src] The limitations of this approach arise from the enumeration and size of the W and D matrices.[src] ===Minimizing the clock period with MILP=== Alternatively, feasibility of a clock period T can be expressed as a mixed-integer linear program (MILP).[src] A solution will exist and a valid lag function r(v) will be returned if and only if the period is feasible.[src] ===Other formulations and extensions=== Alternate formulations allow the minimization of the register count and the minimization of the register count under a delay constraint.[src] The initial paper includes extensions that allow the consideration of fan-out sharing and a more general delay model.[src] Subsequent work has addressed the inclusion of register delays, load-dependent delay models, and hold constraints.[src] ==Problems== Retiming has found industrial use, albeit sporadic.[src] Its primary drawback is that the state encoding of the circuit is destroyed, making debugging, testing, and verification substantially more difficult.[src] Some retimings may also require complicated initialization logic to have the circuit start in an identical initial state.[src] Finally, the changes in the circuit's topology have consequences in other logical and physical synthesis steps that make design closure difficult.[src] ==Alternatives== Clock skew scheduling is a related technique for optimizing sequential circuits.[src] Whereas retiming relocates the structural position of the registers, clock skew scheduling moves their temporal position by scheduling the arrival time of the clock signals.[src] The lower bound of the achievable minimum clock period of both techniques is the maximum mean cycle time (i.e.[src] the total combinational delay along any path divided by the number of registers along it).[src] ==See also== Logic synthesis Electronic design automation ==Notes== ==References== ==External links== Presentation on retiming from MIT A Safe and Complete Gate-Level Register Retiming Algorithm[src]
46 sentences · 46 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Retiming." encyclopegia.org, 2026, https://encyclopegia.org/wiki/retiming. Accessed 30 November 2026.
Chicago
"Retiming." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/retiming.
APA
encyclopegia.org. (2026). Retiming. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/retiming
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON