CSA

zhaozj2021-02-17  43

1.1 AIM of this Assignment

To show how the inputs to an adder circuit may be modified to make the resulting circuit Perform Other Useful functions.

1.2outline circuit of the device

The Figure BELOW Shows A Multi-Bit Adder Having Inputs A (A Number), B (A Number), And C0 (a Single Bit). The Adder Forms An Output, F, WHERE F = a Plus B Plus C0. T IS Also a Number, And Cin, M1 and M0 Are Each Single Bits. Two Logic Circuits Generate Outputs B And C0 AS Shown.

Adder

A b

C0

Fly

Logic

Logic

M1

M2

A

T

Cin

(Figure 1)

2.1 Task

Obtain Boolean Expressions for The Two Logic Circuits Such That The Output F is According To The Following Table. Here, BI (Ti, M1, M0) and C0 (CIN, M1, M0).

M1 M0

Fly

0 0

A plus t

0 1

A minus t

1 0

A - 1

1 1

A 1

(Table 1.1)

Here, f = a Plus B Plus C0. While Bi = (Ti, M1, M0) and C0 (CIN, M1, M0), We can finish table 1.1 Like Below. F = a plus bi and C.

M1 M0

Fly

BI

C0

0 0

A plus t

Ti

0

0 1

A minus t

NOT TI

1

1 0

A - 1

1

0

1 1

A 1

0

1

(Table 1.2)

I) a logic expression That Relates Bit Bi To Bit Ti and M1 and M0.

From frame 1.1, we can see:

Here,

M1 M0 Ti Bi

0 0 0 0

0 0 1 1

0 1 0 1

0 1 1 0

1 0 0 1

1 0 1 1

1 1 0 0

1 1 1 0

(Table 1.3)

From the table1.3, we can draw a map for function bi

.

BI

M1

Ti

M0

0

1

0

1

1

0

0

1

(Table 1.4)

From The Table 1.4, Here Boolean Expression for Bi.

Bi = m1m0 ' TIM0' Ti'm1'm0

(Ti '= not Ti,

M1 '= NOT M1,

M0 '= NOT M0.)

Here, WE CAN Prove It: M1M0 '

TIM0 '

Ti'm1'm0

M1 M0

Fly

BI

0 1

Ti 1

Ti '1 0

0 0

A plus t

Ti

0 1

Ti 0

Ti '1 1

0 1

A minus t

NOT TI

1 1

Ti 1

Ti '0 0

1 0

A - 1

1

1 0

Ti 0

Ti '0 1

1 1

A 1

0

(Table 1.5)

II) a Logic Expression That Relate C0 TO CIN AND M1 AND M0.

While C0 (CIN, M1, M0), WE KNOW THAT C0 Depends ON CIN AND M1 And M0. From the figure 1.1, We can See:

M1 M0 CIN C0

0 0 0 0

0 0 1 0

0 1 0 1

0 1 1 1

1 0 0 0

1 0 1 0

1 1 0 1

1 1 1 1

(Table 1.7)

From The Table 1.7, We can Draw A Map for Function C0.

C0

M1

Cin

M0

0

1

1

0

0

1

1

0

(Table 1.8)

From The Table 1.8, We Find The Boolean Expression for C0:

C0 = m0.

Here We CAN Prove It:

M1 M0

Fly

C0

0 0

A plus t

0

0 1

A minus t

1

1 0

A - 1

0

1 1

A 1

1

3.1 Conclusion:

In this assignment, we mainly aim on how an adder circuit maybe modified to obtain different function. By finding out the logical expression of Bi and C0, we can see how F relates to the states of inputs M1, M0, Ti and C0. F = A (M1M0 ' TIM0' Ti'm1'm0) M0.

转载请注明原文地址:https://www.9cbs.com/read-30676.html

New Post(0)