Retiming

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. Retiming was first described by Charles E. Leiserson and James B. Saxe in 1983. [http://citeseer.ist.psu.edu/context/96547/0]

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). Each vertex has a value corresponding to the delay through the combinational circuit it represents. After doing this, one can attempt to optimize the circuit by pushing registers from output to input and vice versa - much like bubble pushing. 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. In all cases, if the rules are followed, the circuit will have the same functional behavior as it did before retiming.

Formal description

The initial formulation of the retiming problem as described by Leiserson and Saxe is as follows. 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. Let the "weight" of each edge w(e) be the number of registers present along edge e in the initial circuit. Let d(v) be the propagation delay through vertex v. 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. The proof that this preserves the output functionality is present in [1] .

Minimizing the clock period with network flow

The most common use of retiming is to minimize the clock period. A simple technique to optimize the clock period is to search for the minimum feasible period (e.g. using binary search).

The feasibility of a clock period T can be checked in one of several ways. The linear program below is feasible if and only if T is a feasible clock period. 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. The dual of this program is a minimum cost circulation problem, which can be solved efficiently as a network problem. The limitations of this approach arise from the enumeration and size of the W and D matrices.

Minimizing the clock period with MILP

Alternatively, feasibility of a clock period T can be expressed as a mixed-integer linear program (MILP). A solution will exist and a valid lag function r(v) will be returned if and only if the period if feasible.

Other formulations and extensions

Alternate formulations allow the minimization of the register count and the minimization of the register count under a delay constraint. The initial paper includes extensions that allow the consideration of fan-out sharing and a more general delay model. Subsequent work has addressed the inclusion of register delays [2] , load-dependent delay models [2] , and hold constraints [3] .

Problems

Retiming has found industrial use, albeit sporadic. Its primary drawback is that the state encoding of the circuit is destroyed, making debugging, testing, and verification substantially more difficult. Some retimings may also require complicated initialization logic to have the circuit start in an identical initial state. Finally, the changes in the circuits topology has consequences in other logical and physical synthesis steps that make design closure difficult.

Alternatives

Clock skew scheduling is a related technique for optimizing sequential circuits. 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. The lower bound of the achievable minimum clock period of both techniques is the maximum mean cycle time (i.e. the total combinational delay along any path divided by the number of registers along it).

ee also

* Logic Synthesis
* Electronic Design Automation

External links

* [http://people.csail.mit.edu/devadas/6.373/lectures/l10/ Presentation on retiming from MIT]

References

#C. E. Leiserson, J. B. Saxe, "Retiming Synchronous Circuitry," Algorithmica, Vol. 6, No. 1, pp. 5-35, 1991.
#K. N. Lalgudi, M. C. Papaefthymiou, doi-inline|10.1109/43.664222|Retiming edge-triggered circuits under general delay models, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol.16, no.12, pp.1393-1408, Dec. 1997.
#M. C. Papaefthymiou, doi-inline|10.1145/288548.289060|Asymptotically efficient retiming under setup and hold constraints, IEEE/ACM International Conference on Computer-Aided Design, 1998.
#C. E. Leiserson, J. B. Saxe, "Optimizing Synchronous Systems, " Journal of VLSI and Computer Systems, Vol. 1, No. 1, pp. 41-67, 1983.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Retiming — ist ein Synchronisationsverfahren der Übertragungstechnik synchroner Telekommunikationsnetze. Es wird in der PDH und SDH , selten aber in der OTN Technik (OTN: englisch optical transport network, dt. »Optisches Transportnetz«) verwendet …   Deutsch Wikipedia

  • C-slowing — is a technique used in conjunction with retiming to improve throughput of a digital circuit. Each register in a circuit is replaced by a set of C registers (in series). This creates a circuit with C independent threads, as if the new circuit… …   Wikipedia

  • And-inverter graph — An and inverter graph (AIG) is a directed, acyclic graph that represents a structural implementation of the logical functionality of a circuit or network. An AIG consists of two input nodes representing logical conjunction, terminal nodes labeled …   Wikipedia

  • Cinnafilm — Incorporated is a software engineering company headquartered in Albuquerque, New Mexico, USA. Prior to April 2007, the company was called Digital Alchemy, LLC, and was initially a small research group. Cinnafilm uses parallel processing research… …   Wikipedia

  • Charles Leiserson — Charles Eric Leiserson ( * 12. November 1953) ist ein US amerikanischer Forscher auf dem Gebiet der Informatik. Er forscht vorallem in den Bereichen der Parallelrechner und verteilten Rechnen und praktischen Anwendungen dafür. Inhaltsverzeichnis… …   Deutsch Wikipedia

  • Leiserson — Charles Eric Leiserson ( * 12. November 1953) ist ein US amerikanischer Forscher auf dem Gebiet der Informatik. Er forscht vorallem in den Bereichen der Parallelrechner und verteilten Rechnen und praktischen Anwendungen dafür. Inhaltsverzeichnis… …   Deutsch Wikipedia

  • активная ресинхронизация — Процесс постоянного восстановления синхронизации (retiming) и регенерации данных Token Ring в каждом порту ответвления для увеличения дальности связи.  [http://www.lexikon.ru/dict/net/index.html] Тематики сети вычислительные EN active retiming …   Справочник технического переводчика

  • распределенная ресинхронизация — Процесс, посредством которого хост модуль Ethernet (например, Bay Networks System 5000) обеспечивает восстановление синхронизации (retiming) для своих сегментов. [http://www.lexikon.ru/dict/net/index.html] Тематики сети вычислительные EN… …   Справочник технического переводчика

  • Head end — may refer to: # A central control device required by some networks (e.g., LANs or MANs) to provide such centralized functions as remodulation, retiming, message accountability, contention control, diagnostic control, and access to a gateway. # A… …   Wikipedia

  • The Castle of Cagliostro — Special Edition DVD cover Kanji ルパン三世 カリオストロの城 Rōmaji Rupan Sansei: Kariosutoro no Shiro …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”