Docsity

Deriving the Exclusive OR Gate using a Boolean Table, Assignments of Computer Architecture and Organization

Toggle sidebar
bg1
CSCI 463/__ Assignment 04 Due: 02/23/07 (Fri)
Springl-2007 (100 points)
Chapter 3
Boolean Algebra and Digital Logic
Chapter Objectives
Boolean Algebra and Digital Logic is a classic presentation of digital logic and how it relates to Boolean
algebra. This chapter covers both combinational and sequential logic in sufficient detail to allow reader s
to understand the logical makeup of more complicated MSI (medium scale integration) circuits (such as
decoders). More complex circuits, such as buses and memory, are also included. Optimization and
kMaps (Karnaugh Maps) are in a special "Focus On" section.
Boolean Algebra.
Boolean algebra is a very natural way to represent digital information, and thus is an important concept
to study if one wishes to understand computers. The common Boolean functions (AND, OR and NOT)
should be covered, as well as Boolean (Truth) Table and Boolean identities.
Logic Gates.
Boolean algebra allows us to represent expressions in an abstract form.
Digital circuits are built using logic gates, the basic building blocks for digital systems.
It is important to understand how Boolean expressions are physically implemented.
Digital Components.
The complexity of a Boolean expression (and its corresponding implementation)
has a direct impact on the complexity of the resulting digital circuit. Therefore, it is important to
understand how Boolean algebra relates to digital components.
Combinational Circuits.
Combinational circuits represent a large portion of the actual components used in
today's machines. Adders, decoders, multiplexers, and parity checkers are just a few examples.
Understanding these simple circuits goes a long way toward understanding the overall system.
Sequential Circuits.
These circuits allow the computer to retain, or remember, values.
Clocks are used to synchronize these circuits. SR, JK and D flip-flops can be used to
build a large number of components, particularly registers and memory.
Note: In addition to the Boolean Identities (see Table 3.5, p.113),
you are expected to understand and to be fluent in both proving and applying
the following (where stands for Exclusive OR)stands stands for Exclusive OR)for stands for Exclusive OR)Exclusive stands for Exclusive OR)OR):
1) De Morgan=s Laws
2) x=y + xy= = stands for Exclusive OR)x stands for Exclusive OR) stands for Exclusive OR)y
3) x=y= + xy = stands for Exclusive OR)(x stands for Exclusive OR) stands for Exclusive OR)y)=
4) x + x' y = x + y (See Exercise 16, p.125)
x + x'y = x(y + y') + x'y
= xy + xy' + x'y
= xy + xy' +x'y +xy
= x(y + y') + y(x' + x)
= x(1) + y(1)
= x + y
1
pf3
pf4
pf5

Partial preview of the text

Download Deriving the Exclusive OR Gate using a Boolean Table and more Assignments Computer Architecture and Organization in PDF only on Docsity!

CSCI 463/__ Assignment 04 Due: 02 / 23 /0 7 (Fri)

Springl-2007 (100 points)

Chapter 3

Boolean Algebra and Digital Logic

Chapter Objectives

Boolean Algebra and Digital Logic is a classic presentation of digital logic and how it relates to Boolean algebra. This chapter covers both combinational and sequential logic in sufficient detail to allow readers to understand the logical makeup of more complicated MSI (medium scale integration) circuits (such as decoders). More complex circuits, such as buses and memory, are also included. Optimization and kMaps (Karnaugh Maps) are in a special "Focus On" section.

Boolean Algebra.

Boolean algebra is a very natural way to represent digital information, and thus is an important concept to study if one wishes to understand computers. The common Boolean functions (AND, OR and NOT) should be covered, as well as Boolean (Truth) Table and Boolean identities.

Logic Gates.

Boolean algebra allows us to represent expressions in an abstract form. Digital circuits are built using logic gates, the basic building blocks for digital systems. It is important to understand how Boolean expressions are physically implemented.

Digital Components.

The complexity of a Boolean expression (and its corresponding implementation) has a direct impact on the complexity of the resulting digital circuit. Therefore, it is important to understand how Boolean algebra relates to digital components.

Combinational Circuits.

Combinational circuits represent a large portion of the actual components used in today's machines. Adders, decoders, multiplexers, and parity checkers are just a few examples. Understanding these simple circuits goes a long way toward understanding the overall system.

Sequential Circuits.

These circuits allow the computer to retain, or remember, values. Clocks are used to synchronize these circuits. SR, JK and D flip-flops can be used to build a large number of components, particularly registers and memory.

Note: In addition to the Boolean Identities (see Table 3.5, p. 113 ),

you are expected to understand and to be fluent in both proving and applying

the following (where  stands for Exclusive OR):

1 ) De Morgan=s Laws

2) x=y + xy= = x  y

3) x=y= + xy = (x  y)=

  1. x + x' y = x + y ( See Exercise 16, p.125) x + x'y = x(y + y') + x'y = xy + xy' + x'y = xy + xy' +x'y +xy = x(y + y') + y(x' + x) = x(1) + y(1) = x + y

CSCI 463/__ Assignment 04 Name:__________________,__________

Spring-20 07 (100 points) (Last: spell) (First)

  1. As an example for Combinational Circuits, our text describes the Half-Adder (pp. 1 24 -1 25 ). Follow this description to construct the Half-Subtractor. Step 1 Boolean Table Step 2 Boolean Equations for: Step 4 Boolean Diagram for Half-Subtractor: (B: Borrow, D: Difference) x y | B D B =

0 0 | D = 0 1 | Step 3 Minimize B and D above: 1 0 | B = 1 1 | D =

  1. For the Full-Adder, where x, y, and z are input bits, C is the carry, and S is the sum: Step 1 Boolean Table Step 2 Boolean Equations for: x y z | C S C = ------------- 0 0 0 | S = 0 0 1 | Step 3 Minimize C and S in Step 2 , showing your work : 0 1 0 | C = 0 1 1 | 1 0 0 | 1 0 1 | S = 1 1 0 | 1 1 1 | Step 4 Boolean Diagram for Full-Adder, using Half-Adders as modules: