Docsity

Midterm Exam Solutions - Digital Systems Design | ECE 465, Exams of Digital Systems Design

Toggle sidebar
bg1
ECE 465 Midterm Solutions, S'09
Shantanu Dutt
1 (a)
In the above example, PIiαβγ is an EPI for fα. Further, all the MTs it covers in fβ and fγ are covered by other PIs, PIkβ
and PIjγ, that are EPIs or pseudo-EPIs for fβ and fγ, respectively. Thus it is not necessary to include PIiαβγ in fβ’s and
fγ’s expressions (although there is no hardware cost for having PIiαβγ in their expressions). If we include PIiαβγ in the
expressions for fβ and fγ, that would be cases of unnecessary sharing of a PI (PIiαβγ).
Pseudo EPI for fβ
EPI for fγ
EPI for fα
fγ
fβ
fα
PIk β
PIlβ
PIjγ
PIi α β γ
Singleton
column
Singleton
column after PIl
is eliminated
Singleton
column
C
pf3
pf4
pf5

Partial preview of the text

Download Midterm Exam Solutions - Digital Systems Design | ECE 465 and more Exams Digital Systems Design in PDF only on Docsity!

ECE 465 Midterm Solutions, S'

Shantanu Dutt

1 (a)

In the above example, PI (^) iαβγ^ is an EPI for fα. Further, all the MTs it covers in fβ and fγ are covered by other PIs, PI (^) kβ and PI (^) jγ, that are EPIs or pseudo-EPIs for fβ and fγ , respectively. Thus it is not necessary to include PI (^) iαβγ^ in fβ ’s and fγ ’s expressions (although there is no hardware cost for having PIiαβγ^ in their expressions). If we include PI (^) iαβγ^ in the expressions for fβ and fγ , that would be cases of unnecessary sharing of a PI (PI (^) iαβγ).

Pseudo EPI for fβ

EPI for fγ

EPI for fα

fα fβ fγ

PI (^) k

PI (^) l

PI (^) j

PI (^) i

Singleton column

Singleton column after PI (^) l is eliminated

Singleton column

C

(b) Vdd

Vdd

fβ

c

R

R R R Pii=a’c

fα fγ

x y z

a

Figure 1.2 PLA programming without using rule 7 (c)

Vdd

Vdd

fβ

c

R

R R R Pii=a’c

fα fγ

x

a

Figure 1.3: PLA programming using rule 7

Continuing the previous example, we saw that using PI (^) iαβγ^ in fβ and fγ is a case of unnecessary PI sharing. However, if we do that, then the PI (^) i line (as an example, PI (^) i is shown here to be a’c ) needs to drive an extra two transistors gates (transistors y and z) compared to not including PIi in fβ and fγ. It will thus increase the capacitor loading on the PIi line and it’s delay will thus increase (delay of a PI line= R * C total , where C total is the total capacitor load on the PI line ).

As shown by the example in part (b), unnecessary PI sharing results in increased delays on PI lines of such PIs (those that are unnecessarily shared). Application of Rule 7 can avoid unnecessary PI sharing, since rule 7 allows a PI to be used in a function only when it becomes an essential or pseudo-essential PI or when it is used to break a cyclic PI. Rule 7 can thereby keep delay on each multi-function PI lines to be a minimum, as these lines will now only drive transistors in the OR plane/array for functions in which it is only included by necessity.

It the above example, PI (^) i will not be included in fβ and fγ if rule 7 is used and the delay of its line will reduce compared to the PLA programming shown in Figure 1.2. Figure 1.3 shows the new PLA programming using rule 7.

2 (b)

4-bit RCA 8-bit RCA

S 7 -S 0

C (^) in

S 11 -S 8

4-bit RCA

Cin=

Cin=

2: MUX

4-bit RCA

4-bit Sum 8-bit Sum

4-bit Sum 4-bit Sum

2: MUX

Select

Select

C (^12)

C

12

C (^12)

C (^) out

C (^0) out

C (^1) out

S 15 -S

4-bit Sum

C (^8)

Two critical paths (of the same delay)

4-bit Sum

Figure 2.2: Adder circuit (c) As shown in Figure 2.2, a 12-bit RCA of the LS 12-bits and the two 4-bit RCAs of the MS 4-bits perform in parallel. Therefore, their overall delay will be the maximum of these two modules’ delays. In this case, the 12-bit RCA will have a higher delay and their overall delay will be 12*10=120 nsec. The critical path is the carry chain path (Cin to Cout) through all 12 FAs of the 12-bit RCA, and each FA imposes 10 nsec delay.

After the 12-bit RCA completes, the two MUXs (for the Sum and Cout bits) get their select inputs from the carry-out bit C 12 generated by the 12-bit RCA, and take an additional 2 nsecs to connect their appropriate inputs to their outputs (both the MUXes process their inputs in parallel)

Thus the total delay of the above partially speculative (i.e., partial carry-select) adder = 120+2 = 122 nsec.

(d) 16-bit RCA delay = 16*10=160 nsec. Again, the critical path goes via the carry chain, through all FAs. Thus, the partially speculative 16-bit adder delay is less than that of a 16-bit RCA.

f ( A , B , C , D )= ∑ m ( 0 , 5 , 8 , 10 , 12 , 14 ) +∑ d ( 4 , 7 , 13 , 15 )

AD

group

11 X X

01 1 X

00 1 X 1 1

AB

CD

A’D group

A’D (B)

A’D’ group

A’D’ (C’)
AD’

group

AD’ (1)