Digital Principles and System Design
Digital Principles and System Design
ALANGULAM
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
SEMESTER : III
YEAR : II
STAFF NAME
KALIMUTHU V
AP/ECE DEPT
E-MAILID:[email protected]
SUBJECT DESCRIPTION
AIM:
To provide an in-depth knowledge of the design of digital circuits and the use of
Hardware Description Language in digital system design.
OBJECTIVES:
TEXT BOOKS
REFERENCES
1. Charles H.Roth, Jr. “Fundamentals of Logic Design”, 4th Edition, Jaico Publishing
Review of binary number systems - Binary arithmetic – Binary codes – Boolean algebra
map and tabulation methods – Implementation of Boolean functions using logic gates.
Sequential circuits – Flip flops – Analysis and design procedures - State reduction and
Analysis and design of asynchronous sequential circuits - Reduction of state and flow
TEXT BOOKS
REFERENCES
1. Charles H.Roth, Jr. “Fundamentals of Logic Design”, 4th Edition, Jaico Publishing
10
Combinational circuits T1 121-122 yes
11
IV
12
Combinational circuits Analysis T1 122-124
13
14 design procedures T1 124-127
15 Circuits for arithmetic
V T1
16 operations 128-142
17
Code conversion T1 142-154 Yes
18
Introduction to Hardware Description
19 T1 112-117
VI Language (HDL)
20
Tutorial
21
22
Decoders T1 142-146
23
VII
24
encoders T1 146-148
25
26
Multiplexers and demultiplexers T1 148-154 yes
27
28 Memory and programmable
T1 268-297
30 VIII logic
31
36
Sequential circuits T1 172-177 yes
37
X
38
Flip flops T1 177-184
39
40
Analysis and design procedures T1 184-201
41
42
43 XI State reduction and
T1 201-213
44 state assignment
45
46
XII
47 Shift registers T1 223-247
48
49
Counters T1 248-263
50 XIII
51
258-
52
HDL for Sequential Circuits. T1 263,333-
53
344
54
XIV
55
Tutorial T1
56
Note:
T1- M.Morris Mano, “Digital Design”, 3rd edition, Pearson Education, 2007.
R1- Charles H.Roth, Jr. “Fundamentals of Logic Design”, 4th Edition, Jaico Publishing
UNIT I
PART A (2 Marks)
4.Define byte?
20.Express the function f(x, y, z)=1 in the sum of minterms and a product of maxterms?
31. Draw the logic diagram for the Boolean expression ((A B) C)D using
NAND gates.
1. (a) Explain how you will construct an (n+1) bit Gray code from an n bit
(A+B+C’+D) (8)
(b) using a K-Map ,Find the MSP from of F= _(0,4,8,12,3,7,11,15) +_d(5) (8)
5 (a) With the help of a suitable example ,explain the meaning of an redundant prime i
Implicant (8)
(b) Using a K-Map, Find the MSP form of F= _ (0-3, 12-15) + _d (7, 11) (8)
6 (a) Simplify the following using the Quine – McClusky minimization technique(8)
care conditions? In the above problem, will you consider any don’t care conditions?
(b) List also the prime implicants and essential prime implicants for the above case(8)
7 (a) Determine the MSP and MPS focus of F= _ (0, 2, 6, 8, 10, 12, 14, 15) (8)
12 (a) Find a Min SOP and Min POS for f = b’c’d + bcd + acd’ + a’b’c + a’bc’d
F= _ (0, 2, 3,5,7,9,11,13,14,16,18,24,26,28,30)
Draw the circuit of the minimal expression using only NAND gates
16 (a) Show that if all the gates in a two – level AND-OR gate networks are replaced by
(b) Why does a good logic designer minimize the use of NOT gates?
17 Simplify the Boolean function F(A,B,C,D) = _ m (1,3,7,11,15) + _d (0,2,5) .if don’t
care conditions are not taken care, What is the simplified Boolean function .What are
18 (a) Show that if all the gate in a two – level OR-AND gate network are replaced by
NOR gate, the output function does not change.
F2 = f(a,b,c,d) = _ (2,3,,6,7)
20 Implement the Switching function whose octal designation is 274 using NAND gates
only
21 Implement the Switching function whose octal designation is 274 using NOR gates
only
22 (a) Show that the NAND operation is not distributive over the AND operation
23 What is the advantages of using tabulation method? Determine the prime implicants
of the following function using tabulation method
F( W,X,Y,Z) = _(1,4,6,7,8,9,10,11,15)
23 (a) Explain about common postulates used to formulates various algebraic structures
24 (a) (i) Simplify the following Boolean function F together with don’t-care
minterms
tabulation method.
F(w, x, y, z)=Σ(1,4,6,7,8,9,10,11,15)
method :
27.(i) Implement Boolean expression for EXOR gate using NAND and
NOR gates.
UNIT II
COMBINATIONAL LOGIC
PART A (2 Marks)
10.What is IC?
19.What are the two types of logic circuits for digital systems?
22.What is a half-adder?
23.What is a full-adder?
24.What is half-subtractor?
25.What is a full-subtractor?
29. Perform 9’s and 10’s compliment subtraction between 18 and –24.
PART B ( 16 Marks)
2. Construct a combinational circuit to convert given binary coded decimal number into
an Excess 3 code for example when the input to the gate is 0110 then the circuit
shouldgenerate output as 1001
3. Design a combinational logic circuit whose outputs are F1 = a’bc + ab’c and
F2 = a’ + b’c + bc’
(b) Using a single 7483, Draw the logic diagram of a 4 bit adder/sub tractor
5 (a) Draw a diode ROM, which translates from BCD 8421 to Excess 3 code
8. Design a combinational circuit which accepts 3 bit binary number and converts its
9 .Derive the simplest possible expression for driving segment “a” through ‘g’ in an 8421
BCD to seven segment decoder for decimal digits 0 through 9 .Output should be
10. Write the HDL description of the circuit specified by the following Boolean function
12. (a) (i) Explain the gray code to binary converter with the necessary
diagram.
23. With neat diagram explain BCD subtractor using 9’s and 10’s
complement method.
24. (a) Design a combinational logic diagram for BCD to Excess-3 code
converter.
(ii) Write the HDL description of the circuit specified by the following
Boolean function.
y C x AB C
UNIT III
PART A (2 Marks)
3.What is decoder?
4.What is encoder?
5.Define Multiplexing?
6.What is Demultiplexer?
9.From the truth table of a half adder derive the logic equation
10. From the truth table of a half subractor derive the logic equation
11.From the truth table of a full adder derive the logic equation
21.From the truth table of a full subtractor derive the logic equation
33.Explain DRAM?
34.Explain SRAM?
38.What is VHDL?
43. What is programmable logic array? How does it differ from ROM?
1. Implement the switching function F= _(0,1,3,4,7) using a 4 input MUX and explain
2. Explain how will build a 64 input MUX using nine 8 input MUXs
3. State the advantages of complex MSI devices over SSI gates
4. Implement the switching function F(A,B,C) = _ ( ,2,4,5) using the DEMUX 74156
6. Explain how will build a 16 input MUX using only 4 input MUXs
Z1 = ab’d’e + a’b’c’e’ + bc + de ,
Z2 = a’c’e,
Z3 = bc +de+c’d’e’+bd and
10. Design a switching circuit that converts a 4 bit binary code into a 4 bit Gray code
using ROM array
11.Design a combinational circuit using a ROM ,that accepts a 3- bit number and
generates an output binary number equal to the square of the given input number
12. (a) Explain with necessary diagram a BCD to 7 segment display decoder.
PLA.
15. We have found a minimum sum of products expression for each of two
F WYXYZ
(ii) Implement them in the PLA using no more than four terms. (8)
UNIT IV
PART A (2 Marks)
19.What is counter?
24 What is up counter?
33.A counter that counts from to T is called a modulo counter. True or False.
39.What is a register?
53. Draw the excitation table and state diagram for JK and SR Flip-Flop.
54. Write down the difference between sequential and combinational circuits.
(b) Draw the schematic diagram of Master slave JK FF and input and output
8. Using SR flip flops, design a parallel counter which counts in the sequence
000,111,101,110,001,010,000 ………….
9. Using JK flip flops, design a parallel counter which counts in the sequence
000,111,101,110,001,010,000 ………….
(b) Draw as asynchronous 4 bit up-down counter and explain its working
11. (a) How is the design of combinational and sequential logic circuits possible with
PLA?
(b) Mention the two models in a sequential circuit and distinguish between them
12. Design a modulo 5 synchronous counter using JK FF and implement it. Construct its
timing diagram
13. A sequential machine has one input line where 0’s and 1’s are being incident. The
machine has to produce a output of 1 only when exactly two 0’s are followed by a ‘1’
or exactly two 1’s are followed by a ‘0’.Using any state assignment and JK
14. Using D flip –flop ,design a synchronous counter which counts in the sequence
15. Using JK flip-flops, design a synchronous sequential circuit having one and one
output. the output of the circuit is a 1 whenever three consecutive 1’s are
16. Design a binary counter using T flip – flops to count in the following sequences:
(i) 000,001,010,011,100,101,110,111,000
(ii) 000,100,111,010,011,000
19. (i) Summarize the design procedure for synchronous sequential circuit
0, 1, 2, 4, 5, 6
23. What is the aim of state reduction? Reduce the given state diagram and
Prove that the both state diagrams are equal.
UNIT V
PART A (2 Marks)
8. Define hazards.
10. Give the procedural steps for determining the compatibles used for the purpose of
20.a shift register can be operated in all possible ways then it is called as-----------
21 What is gate delay?
31. What are the steps for design of asynchronous sequential circuit?
1. What is the objective of state assignment in asynchronous circuit? Give hazard – free
3. Design an asynchronous sequential circuit with 2 inputs X and Y and with one output
Z Wherever Y is 1, input X is transferred to Z .When Y is 0; the output does not change
for any change in X.Use SR latch for implementation of the circuit
4. Develop the state diagram and primitive flow table for a logic system that has 2
inputs,x and y and an output z.And reduce primitive flow table. The behavior of the
circuit is stated as follows. Initially x=y=0. Whenever x=1 and y = 0 then z=1, whenever x
= 0 and y = 1 then z = 0.When x=y=0 or x=y=1 no change in z ot remains in the previous
state. The logic system has edge triggered inputs with out having a clock .the logic
system changes state on the rising edges of the 2 inputs. Static input values are not to
have any effect in changing the Z output 5. Design an asynchronous sequential circuit
with two inputs X and Y and with one output Z. Whenever Y is 1, input X is transferred to
Z.When Y is 0,the output does not change for any change in X.
6. Obtain the primitive flow table for an asynchronous circuit that has two inputs x,y and
one output Z. An output z =1 is to occur only during the input state xy = 01 and then if
the only if the input state xy =01 is preceded by the input sequence.
7. A pulse mode asynchronous machine has two inputs. It produces an output whenever
two consecutive pulses occur on one input line only .The output remains at ‘1’ until a
pulse has occurred on the other input line. Draw the state table for the machine.
8.(a) How will you minimize the number of rows in the primitive state table of an
incompletely specified sequential machine
(b) State the restrictions on the pulse width in a pulse mode asynchronous sequential
machine
9. Construct the state diagram and primitive flow table for an asynchronous network that
has two inputs and one output. The input sequence X1X2 = 00,01,11 causes the output
to become 1.The next input change then causes the output to return to 0.No other inputs
will produce a 1 output
(ii) Design a non sequential ripple counter which will go through the
13. With necessary example and diagram explain the concept of reduction of
ASSIGNMENT-1
2.Simplify the Boolean function F(A,B,C,D)= _(0,6,8,13,14) Together with the don’t
minterms.
ASSIGNMENT-II
F1(A,B,C)=II(0,1,3,7)
2.Draw the circuits for Decimal to BCD encoder, Octal-to-Binary encoder & Priority
encoder
ASSIGNMENT-III
AB,AC,BC&A'B'C'
ASSIGNMENT-IV
ASSIGNMENT-V