Sei sulla pagina 1di 3

Digital Logic Design (CS302)

Assignment # 01

Name: Yasir Waseem


ID: BC190200549

Questions No 01 Marks (10)

Perform Arithmetic operations (+, -,*, /) on following floating-point numbers by manipulating


their mantissa and exponent parts.

Number 1 = 502.1

Number 2 = 23.7

Solution:

Addition

Number 1 = 5.021 x 102

Number 2 = 0.237 x 102

Number 1 + Number 2 = 5.021x102+0.237x102 = 5.258 x102

Subtraction

Number 1 = 5.021 x 102

Number 2 = 0.237 x 102

Number 1 - Number 2 = 5.021x102 - 0.237x102 = 4.784 x102

Addition

Number 1 = 5.021 x 102

Number 2 = 0.237 x 102

Number 1 * Number 2 = 5.021x102 * 0.237x102

Adding exponent parts

(5.021 * 0.237) x102+2 = 1.189977 x 104


Division

Number 1 = 5.021 x 102

Number 2 = 0.237 x 102

Number 1 * Number 2 = 5.021x102 / 0.237x102

Subtracting exponent parts

(5.021 / 0.237) x102-2 = 21.186 x 100

In scientific notation 2.1186 x 101

Questions No 02 Marks (05)

Add 19 and -29 using 2’s complement method.

Solution:

19 = 10011

29 = 11101

1’s complement 00010

2’s complement 00010 + 1 = 00011

10011

+ 00011

10110

MSB is 1 shows its –ve signed number

Taking 2’s complement of 0110 to get value

1’s complement 1001

2’s complement 1001 + 1 = 1010

Answer -10
Questions No 03 Marks (05)

A CMOS circuit is developed whose capacitance of internal power dissipation is 250 µF,
capacitance of attached load is 470 µF and frequency of output signal is 50 Hz. You are required
to find total dynamic power dissipation of the given circuit if its supply voltage is 25 volts.

Solution:

Total Dynamic Power dissipation of a CMOS circuit is


PD = PT + PL
Where:
PT is the internal power dissipation of the gate
PL is the external power dissipation due to the external capacitive load
PD = CPD.VDD2.f + CL.VDD2.f
PD = (CPD+ CL).VDD2.f
CPD is the internal power dissipation capacitance
C L is the external load dissipation capacitance
V DD is the supply voltage
F is the transition frequency of the output signal

We have:

CPD = 250 x 10-6 F


CL = 470 x 10-6 F
VDD = 25 volts
f = 50 Hz
PD = (250 x 10-6 + 470 x 10-6) x 252 x 50
PD = (720 x 10-6) x 31250
PD = 22.5 Watts

Potrebbero piacerti anche