Digital Logic Circuits - Computer Science Department - Stony Brook ...
Recommend Documents
2003 to 2005. • Graded bi-weekly assignments in undergraduate Mathematics (
MATH110, MATH111) and Computer Science (CSCI112, CSCI212) courses.
Statements with Multiple Quantifiers in Tarski's World. . For all triangles x,
there is a square y such that x and y have the same color. TRUE. (c) 2010 ...
Parallel Prefix Sum (Scan). Klaus Mueller. Computer Science Department. Stony
Brook University. Code examples: GPU Gems Chapter 39. Parallel Prefix Sum ...
Dec 16, 2013 ... (c) Paul Fodor (CS Stony Brook). Textbooks. Head First Object Oriented Design
and Analysis by Brett. McLaughlin, Gary Pollice, David West.
Wei LIU. First year PhD Student. Department of Computer Science. Stony Brook
University. Stony Brook, NY, 11794, USA. Phone: (+1)412-425-2340. E-mail: ...
tals, financial trading firms, and major IT companies, such as Google, Facebook and Amazon, all ... to provide good response times to users; these response time targets .... if future hardware reduces this setup time to 10 seconds, we see that ...
AFFORDABLE EXCELLENCE Stony. Brook is one of the 25 best values in public
colleges, according to Kiplinger. On the cover: Science and engineering ...
planar wave propagation, spiral creation, the breakup of spirals into more ... of
nonlinear differential equations, describing in great detail the underlying biologi-.
[18] A.V. Goldberg and J.D. Hartline. Competitiveness via consensus. Symposium on Discrete Algorithms. (SODA), pp. 215-222, 2003. [19] A.V. Goldberg, J.D. ...
Computer Science (CSE). Major and Minor in Computer Science. Department of
Computer Science, College of Engineering and Applied Sciences. Chairperson:
...
mations, such as the transition from solid to liquid or the qual- itative decay of ... the amount of energy the material absorbs can be controlled via user-provided ...
Banach algebra of all bounded complex-valued functions on ... theorem and an application about disjointness in ... The maximal ideal space of a G-algebra B is.
physics, and the other was to treat for number theorists the representation-theoretic input to Wiles's proof of Fermat's Last Theorem. It is tempting to think of the ...
under review are the authors' contributions to this effort. Both books ..... ing product of the commutator subgroup and the identity component of the center. The ..... of coordinates and does everything with them except call them a manifold.
Research of the first author partially supported by a sloan Fellowship and NSF ..... Definition 1.7: (1) Let 1-1, (called the mass norm) denote the norm on APE' ...
A basic character is a character of the form. inaSAN M( ... imaginary linear functional on the Lie algebra of A. Every basic ... simple roots by ei-ee-ez, ez-e4, ezte4.
scalar multiples of. (1.la) f(x) f(x .... we expect it to be unique up to a scalar for most z. ... In short, for (o, z) to give a representation of the complementary series,.
CRM Summer School Course on. REPRESENTATIONS OF REAL REDUCTIVE GROUPS. Edited by: A.W. KNAPP. Department of Mathematics. State University ...
F (g)f(x) = (bx + d)f((ax + c)/(bx + d)). Finite-dimensional representations of G are fully reducible. Unitary representations. The irreducible unitary representations ...
we shall do here is to announce a simple formula for all the minimal. K-types of the .... Here 1 is a maximally compact -stable Cartan subalgebra of g and is of the ...
understanding that g(a) is a positive restricted root, and let PA ... Here Pa corresponds to t = n+t. For o trivial .... and p(u n pº) are orthogonal to every root in Az.
27 Aug 2004 ... Usually—and throughout this book—where are just two such values. ... Voltage,
the electrical potential between a point in the circuit and a com- .... This device is
an example of a digital logic gate, and there are several points.
Dec 22, 2009 - Mathematica and MATLAB can be exploited in that implementation,. Ð Provide a set of working tools and ap
Digital Logic Circuits - Computer Science Department - Stony Brook ...
Application: Digital Logic Circuits. Analogy between the operations of switching
devices and the operations of logical connectives. 2. Binary digits (bits): we ...
The Logic of Compound Statements Application: Digital Logic Circuits CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215
Application: Digital Logic Circuits Analogy between the operations of switching devices and the
operations of logical connectives
Binary digits (bits): we will use the symbols 1 and 0 instead of “on” (“closed” or True) and “off” (“open” or False) 2
(c) Paul Fodor (CS Stony Brook)
Black Boxes and Gates Combinations of signal bits (1’s and 0’s) can be transformed
into other combinations of signal bits (1’s and 0’s) by means of various circuits
An efficient method for designing
complicated circuits is to build them by connecting less complicated black box circuits: NOT-,AND-, and OR-gates. 3
(c) Paul Fodor (CS Stony Brook)
4
(c) Paul Fodor (CS Stony Brook)
Combinational Circuits Rules for a Combinational Circuit: Never combine two input wires. A single input wire can be split partway and used as input for
two separate gates. An output wire can be used as input. No output of a gate can eventually feed back into that gate. Examples:
5
(c) Paul Fodor (CS Stony Brook)
Determining Output for a Given Input
Inputs: P = 0 and Q = 1
6
(c) Paul Fodor (CS Stony Brook)
Constructing the Input/Output Table for a Circuit
List the four possible combinations of input signals, and find
the output for each by tracing through the circuit.
7
(c) Paul Fodor (CS Stony Brook)
The Boolean Expression Corresponding to a Circuit
Trace through the circuit from left to right:
What is the result?
8
(c) Paul Fodor (CS Stony Brook)
The Boolean Expression Corresponding to a Circuit
Trace through the circuit from left to right:
The result is: exclusive OR
9
(c) Paul Fodor (CS Stony Brook)
Recognizer A recognizer is a circuit that outputs a 1 for exactly one
particular combination of input signals and outputs 0’s for all other combinations. Example:
10
(c) Paul Fodor (CS Stony Brook)
The Circuit Corresponding to a Boolean Expression 1. Write the input variables in a column on the left side of the diagram 2. Go from the right side of the diagram to the left, working from the outermost part of the expression to the innermost part Example: (∼P ∧ Q) ∨ ∼Q
11
(c) Paul Fodor (CS Stony Brook)
Find a Circuit That Corresponds to an Input/Output Table 1. Construct a Boolean expression with the same truth table identify each row for which the output is 1 and construct an and expression that
produces a 1 for the exact combination of input values for that row
P∧Q∧R P∧ ∼Q ∧ R P∧ ∼Q ∧ ∼R Result: (P ∧ Q ∧ R) ∨ (P∧ ∼Q ∧ R) ∨ (P∧ ∼Q∧ ∼R) disjunctive normal form
12
(c) Paul Fodor (CS Stony Brook)
Find a Circuit That Corresponds to an Input/Output Table 2. Construct the circuit for: (P ∧ Q ∧ R) ∨ (P∧ ∼Q ∧ R) ∨ (P∧ ∼Q∧ ∼R)
13
(c) Paul Fodor (CS Stony Brook)
Equivalent Combinational Circuits
Two digital logic circuits are equivalent if, and only if, their input/output tables are identical.
14
(c) Paul Fodor (CS Stony Brook)
Simplifying Combinational Circuits
1. Find the Boolean expressions for each circuit. 2. Show that these expressions are logically equivalent. ((P ∧ ∼Q) ∨ (P ∧ Q)) ∧ Q
15
≡ (P ∧ (∼Q ∨ Q)) ∧ Q
by the distributive law
≡ (P ∧ (Q ∨ ∼Q)) ∧ Q
by the commutative law for ∨
≡ (P ∧ T) ∧ Q
by the negation law
≡P∧Q
by the identity law.
(c) Paul Fodor (CS Stony Brook)
NAND and NOR Gates A NAND-gate is a single gate that acts like an AND-gate
followed by a NOT-gate it has the logical symbol: | (called Sheffer stroke)
P | Q ≡ ∼(P ∧ Q)
A NOR-gate is a single gate that acts like an OR-gate followed
by a NOT-gate it has the logical symbol: ↓ (called Peirce arrow)
P ↓ Q ≡ ∼(P ∨ Q)
16
(c) Paul Fodor (CS Stony Brook)
Rewriting Expressions Using the Sheffer Stroke Any Boolean expression is equivalent to one written entirely
with Sheffer strokes or entirely with Peirce arrows P ≡ (P P) by the idempotent law for ≡P|P by definition of |. P
17
Q ≡ ( (P Q)) by the double negative law Q) by De Morgan’s laws ≡ ( P ≡ ((P | P) (Q | Q)) by the above P≡P|P ≡ (P | P) | (Q | Q) by definition of |