DSD Module 1
DSD Module 1
PRAKASH
Asst. Professor(Sr.), SENSE,
VIT Chennai
During a given day, the temperature does not go from, say, 80 to 81 instantaneously; it changes
over a continuous range of values
Digital Circuits
Process discrete values
Suppose recording temperature reading every hour, sampled values representing the
temperature at discrete points in time (every hour) over a 24-hour period.
Easy to design
Information storage is easy
For digital systems, two level or binary values are the most commonly
used values.
undefine
tities . Logic 0
t
There are seven logic gates: NOT, AND, OR, NAND, NOR, XOR, XNOR
A logic gate truth table shows each possible input combination to the
gate with the resultant output
MODULE-1 ECE102L-DIGITAL SYSTEM DESIGN 12
NOT GATE
Boolean Algebra uses its own set of rules or laws which are used to
define and reduce Boolean expressions
This will result with fewest literals and thus less gates in final
implementation
The variables used in Boolean Algebra only have one of two possible
values, a logic “0” and a logic “1”
Examples:
1. Dual of ABC’+A’BC+ABC is (A+B+C’)(A’+B+C)(A+B+C)
2. Dual of XYZ+X’YZ’+Y’Z=1 is (X+Y+Z)(X’+Y+Z’)(Y’+Z)=0
To derive the Boolean expression for a given logic circuit, begin at the
left-most inputs and work toward the final output, writing the expression
for each gate.
Truth table shows the output for all possible values of the input variables
can be developed.
The procedure requires that you evaluate the Boolean expression for all
possible combinations of values for the input variables.
The first step is to list all the possible input variable combinations of 1’s
and 0’s in binary sequence.
Next apply the inputs to the circuit and find the output, enter it in the
output column of truth table.
MODULE-1 ECE102L-DIGITAL SYSTEM DESIGN 36
BOOLEAN EXPRESSION FOR A LOGIC CIRCUIT
Which will give A‘ since B+B'=1. To utilize this concept of B+B'=1 easily
Gray code is used in K-Map.
8. There should be as few groups as possible, as long as this does not contradict any of the
previous rules.
1) Plot the K-map and place 1’s in those cells corresponding to the 1’s in the sum of product
expression. Place 0’s in the other cells.
2) Check for octets and quads of adjacent 1’s even if it contains some 1’s that have already
been encircled. While doing this make sure that there are minimum number of groups.
3) Check for those 1’s which are adjacent to only one other 1 and encircle such pairs.
4) Check the K-map for adjacent 1’s and encircle those 1’s which are not adjacent to any
other 1’s. These are called isolated 1’s.
5) Form the simplified expression by summing product terms of all the groups.
F = yz+ xz’
F = z’+ xy’’
Example-3:
F = A’C + A’B + AB’C + BC
= A’C (B+ B’) + A’B (C+ C’) + AB’C + BC (A+ A’)
= A’BC+ A’B’C + A’BC + A’BC’ + AB’C + ABC + A’BC
= A’BC+ A’B’C + A’BC’ + AB’C + ABC
= m3+ m1+ m2+ m5+ m7
= ∑ m (1, 2, 3, 5, 7)
F = C + A’B
Example-2: Y (A, B, C, D)= ∑ m (7, 9, 10, 11, 12, 13, 14, 15)
Example-4:
F = A’B’C’+ B’CD’+ A’BCD’+ AB’C’
= A’B’C’ (D+ D’) + B’CD’ (A+ A’) + A’BCD’+ AB’C’ (D+ D’)
= A’B’C’D+ A’B’C’D’+ AB’CD’+ A’B’CD’+ A’BCD’+ AB’C’D+ AB’C’D’
= m1+ m0+ m10+ m2+ m6+ m9+ m8
= ∑ m (0, 1, 2, 6, 8, 9, 10)
Logic diagram
B=F+S+ED
For a POS expression in standard form, 0 is placed on the Karnaugh map for
each sum term in the expression & the cells that do not have a 0 are the cells
for which the expression is 1.
Steps for the POS K-mapping process.
Step 1: Determine the binary value of each sum term in the standard POS
expression. This is the binary value that makes the term equal to 0.
Step 2: As each sum term is evaluated, place 0 on the Karnaugh map in
the corresponding cell.
Step3: Other procedure are similar to SOP K-map method
F = (A+C’).(A’+B’)
F = (A). (B+C’)
F = (B+D).(B+C’).(A+C’+D’).
(A’+B’+C+D’)
F = (A’+B’).(C’+D’).(B’+D)
F = (A+B).(B+C+D’).(A+C’+D).(A’+B’+C+D).(A’+B’+C’+D’)
F = (B+D’).(A’+C).(A+C’+D)
NAND and NOR gates are referred to as universal logic gates because we
can create any Boolean expression using ONLY NOR or ONLY NAND gates.
Digital circuits are more frequently constructed using NAND and NOR gates
than with AND and OR gates because of
Low cost and easy to fabricated
Small die size and small delay
Fast and Low power consumption
MODULE-1 ECE102L-DIGITAL SYSTEM DESIGN 81
NAND GATE AS UNIVERSAL LOGIC GATE
By DeMorgan's Law
F= [(A.B)’.(C.D)’.E’]’ = AB + CD + E
F = [((C.D)’.B’)’.A]’.(B.D’)’]’ = A(B+CD)+BD’
In TTL, logic gates are constructed around the BJT and resistors
Advantages:
TTL has a strong drive capability
It is least susceptible to electrical damage
Lesser immune to noise when compared to ECL
Fastest saturation compared to DTL
74xx or 74Nxx: Standard TTL
Disadvantages:
74Lxx: Low Power TTL
74Hxx: High Speed TTL
High power dissipation compared to CMOS 74Sxx: Schottky TTL
74LSxx: Low Power Schottky TTL
Occupy more space 74ASxx: Advanced Schottky TTL
74ALSxx: Advanced Low Power Schottky TTL
Expensive compared to MOSFET 54xx : Military grade IC
TTL NOT gate TTL NOT gate with input as “HIGH” TTL NOT gate with input as “LOW”
INPUT Q1 Q2 Q3 Q4 D1 D2 OUTPUT
LOW ON OFF ON OFF FB FB HIGH
HIGH OFF ON ON ON RB FB LOW
Reference: https://www.allaboutcircuits.com/textbook/digital/chpt-3/not-gate/
MODULE-1 ECE102L-DIGITAL SYSTEM DESIGN 94
TRANSISTOR-TRANSISTOR LOGIC (TTL) – NAND GATE
TTL 2-INPUT NAND Gate TTL 2-INPUT NAND Gate with Q1 as Diodes
Reference: https://www.allaboutcircuits.com/textbook/digital/chpt-3/ttl-nand-and-gates/
TTL 2-INPUT NOR Gate TTL 2-INPUT NOR Gate with Q1 as Diodes
Reference: https://www.allaboutcircuits.com/textbook/digital/chpt-3/ttl-nor-and-or-gates/
Reference: https://www.technocrazed.com/3-5-ttl-nand-and-and-gates