15.01.2013 Views

U. Glaeser

U. Glaeser

U. Glaeser

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FIGURE 10.45 Max-timing diagrams for nonoverlapping dual-phase, latch-based design.<br />

a transparent period is created between adjacent pipeline stages, eliminating the possibility of races.<br />

Notice that the insertion of a complementary latch, while driven by the need to slow fast signals, ends<br />

up slowing down max paths also. Although, in principle, a dual-phase design is race free, clock skew<br />

may still cause min-timing problems. The clock phases may be nonoverlapping or fully complementary.<br />

The timing requirement of a nonoverlapping dual-phase, latch-based design is discussed below. A dualphase<br />

complementary design is treated later on as a special case.<br />

Max-timing<br />

Because a signal in a max path has to go through two latches in a dual-phase latch-based design the Dto-Q<br />

latency of the latch is paid twice in the cycle. This is shown in the timing diagram of Fig. 10.45.<br />

The max-timing constraint in a dual-phase design is therefore given by<br />

© 2002 by CRC Press LLC<br />

CK A<br />

CK B<br />

D 1<br />

Q 1<br />

D 1 ′<br />

Q 1′<br />

D 1 ″<br />

Q 1 ″<br />

T ON<br />

Transparent<br />

Opaque Transparent<br />

TSETUP THOLD TSETUP THOLD T DQ<br />

T MAX<br />

(10.17)<br />

The above equation remains still valid under the presence of clock skew. By comparing it against Eq.<br />

(10.2), it is evident that as a result of the middle latch insertion the pipeline overhead (2T DQ) becomes<br />

twice as large as in the single-latch design.<br />

Time Borrowing<br />

Time borrowing does not get affected either by the insertion of the complementary latch. Maximum<br />

time borrowing is still given by Eq. (10.9), or by Eq. (10.14) in the presence of clock skew.<br />

Min-timing<br />

Min-timing is the most affected by the introduction of the complementary latch. As pointed out earlier, the<br />

complementary latch insertion is a solution to relax the min-timing requirement of a latch-based design.<br />

Figure 10.46 provides a timing diagram illustrating how a dual-latch design prevents races. Clock CKA and CKB are nonoverlapping clock phases, with TNOV being the nonoverlapping time. With reference to<br />

Fig. 10.44, the input D2 to the sending latch is assumed to be blocked. After a CK-to-Q and a Tmin delay,<br />

signal D′ 2 arrives at the middle latch while it is still opaque. Therefore, D′ 2 gets blocked until CKB transitions and the latch becomes transparent. A CK-to-Q delay later, signal Q′ 2 transitions. If the<br />

nonoverlapping time is long enough, the Q′ 2<br />

transition satisfies the hold time of the sending latch. The<br />

same phenomenon happens in the second half of the stage.<br />

T CYC<br />

Opaque<br />

T DQ<br />

Tmax < TCYC – 2TDQ T MAX ′

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!