DCD Handout
DCD Handout
DCD Handout
HANDOUT
On
1
Vision
To be a pioneer in electrical and electronics engineering education and research, preparing
students for higher levels of intellectual attainment, and making significant contributions to
profession and society
Mission
To impart quality education in electrical and electronics engineering in dynamic learning
environment and strive continuously for the interest of stake holders, industry and society.
To create an environment conducive to student-centered learning and collaborative research.
To provide students with knowledge, technical skills, and values to excel as engineers and
leaders in their profession.
1. Apply the knowledge of circuit design, analog & digital electronics to the field of
2. Analyze, design and develop control systems, industrial drives and power systems
2
HANDOUT ON DIGITAL CIRCUITS
Class & Sem. : II B.Tech – II Semester Year : 2019-20
Branch : EEE Credits : 3
Name of the staff: B. Mahesh Babu/ V.Prathab Babu/ Ch.Trinayani
======================================================================
1. Brief History and Scope of the Subject
Digital circuits are circuits that handle digital signals – discrete bands of analog levels –
rather than by continuous ranges (as used in analogue electronics). All levels within a
band of values represent the same numeric value and are represented by two voltage
bands: one near a reference value (typically termed as "ground" or zero volts), and the
other a value near the supply voltage. These correspond to the "false" ("0") and "true"
("1") values of the Boolean domain respectively, named after its inventor, George Boole,
yielding binary code. Digital electronic circuits are used to implement complex logic
blocks such as ALU, UART, Bus Interfaces, and Memories etc.
2. Pre-Requisites
Mathematics
3. Course Objectives:
To familiarize with the concepts of different number systems and Boolean algebra
To introduce the design techniques of combinational, sequential logic circuits.
To give a model of combinational and sequential circuits using HDLs.
3
Types of PLD’s: PROM, PAL, PLA, Basic structure of CPLD and FPGA,
Advantages of FPGA’s. Introduction to Verilog - Structural Specification of Logic
Circuits, Behavioral Specification of Logic Circuits, Hierarchical Verilog Code.
UNIT - VI: Digital Design Using HDLs
Verilog for combinational circuits - conditional operator, if-else statement, case
statement, for loop; using storage elements with cad tools-using verilog constructs
for storage elements, blocking and non-blocking assignments, non-blocking
assignments for combinational circuits, flip-flop with clear capability, using
verilog constructs for registers and counters.
4
Reduction of state tables using Partition technique.
3
1
UNIT – 5: Programmable Logic Devices & HDL
Types of PLD’s: PROM, PAL, PLA 2
Basic structure of CPLD 1 1
Basic structure of FPGA, Advantages of FPGA’s. 1
Introduction to Verilog - Structural Specification of Logic
1
Circuits,
1
Specification of Logic Circuits, 2
Behavioral Hierarchical Verilog Code. 1
UNIT – 6: Digital Design Using HDLs
Verilog for combinational circuits - conditional operator 1
if-else statement, case statement, for loop; 2
1
using storage elements with cad tools 1
using verilog constructs for storage elements 1
blocking and non-blocking assignments 2
non-blocking assignments for combinational circuits 1
2
flip-flop with clear capability 1
using verilog constructs for registers and counters 1
Total No. of Periods: 56 14
6. Course Outcomes:
Upon successful completion of the course, the students will be able to
Design various logic circuits using Boolean laws.
Design combinational and sequential logic circuits.
Gain the knowledge of PLDs.
Develop digital circuits using HDL Course Content.
7. Program Outcomes:
Graduates of the Electrical and Electronics Engineering Program will have ability to
1. Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals and an engineering specialization for the solution of complex
engineering problems.
2. Problem analysis: Identify, formulate, research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering
problems and design system components or processes that meet the specified needs with
appropriate consideration for public health and safety, and cultural, societal, and
environmental considerations.
4. Conduct investigations of complex problems: Use research-based knowledge and
research methods including design of experiments, analysis and interpretation of data,
and synthesis of t h e information to provide valid conclusions.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and
Modern engineering and IT tools, including prediction and modeling to complex
engineering activities, with an understanding of the limitations.
5
6. The engineer and society: Apply reasoning informed by the contextual knowledge to
assess societal, health, safety, legal, and cultural issues and the consequent
responsibilities relevant to the professional engineering practice.
7. Environment and sustainability: Understand the impact of the professional
engineering solutions in societal and environmental contexts, and demonstrate the
knowledge of, and need for sustainable development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities
and norms of the engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or
leader in diverse teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with
the engineering community and with the society at large, such as, being able to
comprehend and write effective reports and design documentation, make effective
presentations, and give and receive clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of
the engineering and management principles and apply these to one’s own work, as a
member and leader in a team, to manage projects and in multidisciplinary environments.
12. Life-long learning: Recognizes the need for, and have the preparation and ability to
engage in independent and life-long learning in the broadest context of technological
change.
8. Mapping of Course Outcomes with Program Outcomes:
PO PO PO PO PO PO PO PO PO PO11 PO1 PO1 PSO PSO
1 2 3 4 5 6 7 8 9 0 1 2 1 2
CO
1 3 3 3 3 3 2 2 2 2 3
CO
2 3 3 3 3 2 2 2 2 2 3
CO
3 3 3 2 2 2 2 2
CO
4 3 3 3 3 2 2 2 2 2 3
9. Prescribed Text Books
1.M. Morris Mano, “Digital Design”, 3rd Edition, PHI. (Unit I to IV).
2.Stephen Brown and Zvonko Vranesic, “Fundamentals of Digital Logic withVerilog
Design”, 3rd Edition, McGrawHill (Unit V, VI)
10. Reference Books:
1. Charles H. Roth, Jr, “Fundamentals of Logic Design”, 4th Edition, Jaico Publishers.
2. Zvi Kohavi and Niraj K.Jha, “Switching and Finite Automata Theory, 3rd Edition,
Cambridge University Press, 2010.
3.Samir Palnitkar, “Verilog HDL: A Guide to Digital Design and Synthesis”,
2ndEdition, Prentice Hall PTR.
4.D.P.Leach, A.P.Malvino, “Digital Principles and Applications”, TMH, 7th Edition.
11. URLs and Other E-Learning Resources
http://www.electronics-tutorials.ws/logic/logic_1.html
http://nptel.iitm.ac.in/video.php?courseId=1005
6
http://nptel.iitm.ac.in/courses/Webcourse-contents/IIT-
%20Guwahati/digital_circuit/frame/index.html
http://www.scribd.com/doc/16066166/Logic-Gates-Experiment-1
http://richardbowles.tripod.com/dig_elec/chapter1/chapter1.htm
http://www.piclist.com/images/ca/ualberta/phys/www/http/~gingrich/phys395/notes/n
ode129.html
http://www.doc.ic.ac.uk/~ih/teaching/lectures/comparch/logic/adder/
http://msbte.com/docs/labmanual/Diploma%20in%20Engineering/Third
%20Semester/Principales%20of%20Digital%20Techniques%20(9040)
http://www.scribd.com/doc/18737197/Full-Adder-Experiment-5
http://www.gyte.edu.tr/dosya/102/dersler/elm321/Lab1.pdf
http://www.ece.rice.edu/~kmram/elec326/Notes/notes-326-set8.pdf
http://www.doc.ic.ac.uk/~nd/surprise_96/journal/vol1/cwl3/article1.html
http://verticalhorizons.in/shift-registers-in-digital-electronics/
12. Digital Learning Materials:
14. Tutorials:
Tutorial classes will be conducted to clear the doubts, to solve previous question papers,
to solve some additional problems and to take special care of weak students.
UNIT-1
Assignment-Cum-Tutorial Questions
A. Questions testing the remembering / understanding level of students
7
I) Objective Questions
1) The _____ or ________ of a number system indicates the number of
unique symbols used in that system.
2) The highest decimal number that can be represented with 10 binary digits is
(A) 512 (B) 1023 (C) 1024 (D) 211-1
3) Let (A2C) 16 = (X) 8. Then X is
(A) 7054 (B) 6054 (C) 5154 (D) 5054
4) The eight bit 2’s complement form of (-23)10 is _____.
5) 4-bit 2’s complement representation of a decimal number is 1000. The number is
(A) +8 (B) 0 (C) -7 (D) -8
6) The 2’s complement representation of -17 is
(A) 101110 (B) 101111 (C) 111110 (D) 110001
7) How many bits are in an ASCII character?
(A) 16 (B) 8 (C) 7 (D) 14
8) A binary number's value changes most drastically when the ________ is changed.
9) Decimal 11 in BCD is ________.
(A) 00001011 (B) 00001100 (C) 00010001 (D) 00010010
10) The two types of parity are ________ and ________.
11) For a code to be an error detecting code, the minimum hamming distance between two
code words must be ________.
12) The parity of the binary number 11011001 is
(A) Even (B) odd (C) same as the number of zeros (D) none
13) Every logical operation in a Boolean expression represents a ----------
2) A+AB+ABC+ABCD+ABCDE+---- =
(A) 1 (B) A (C) A+AB (D) AB
14) Boolean expression for the output of XNOR logic gate with inputs A and B is
(A). AB’ + A’B (B) (AB)’ + AB (C).(A’ + B)(A + B’) (D) (A’ + B’)(A + B)
15) The number of cells in a 6- variable K-map is ----
(A) 6 (B) 12 (C) 36 (D) 64
16) The bunch of 1’s on the K-map which from a 2-square, 4-square. Etc. is called a -
17) The number of adjacent cells each cell in an n variable K-map can have is
(A) n-1 (B) n (C) n+1 (D) 2n
18) The NAND-NAND realization is equivalent to
(A) AND –NOT realization (B) AND – OR realization
(C) OR - AND realization (D) NOT – OR realization
19) If and only if all of the inputs are on, the output will be off. This is called ---------
(A) NAND (B) NOR (C) X-OR (D) OR
20) Match the following
1) DeMorgan’s law A) A (A + B) = A
2) Distributive law B) A+1=1
3) Identity law C) (A+B)’=A’.B’
4) Redundancy Law D) A + (B C) = (A + B). (A + C)
8
10) The Boolean expression A+BC in reduced form is
(A) AB+BC (B) (A+B)(A+C) (C) (A+C)B (D) AB
11) Which of the following expressions is in the sum-of-products (POS) form?
(A) (X + Y).(Z + W) (B) X+Y+ZW (C) XY+ZW (D) XY + Z+W
12) Derive the Boolean expression for the logic circuit shown below
9
The correct match of P Q R S is
(A) 5 7 4 2 (B) 6 3 1 2 (C) 6 7 1 3 (D) 5 3 4 2
6) The range of signed decimal numbers that can be represented by 6-bit 1’s complement
number is
(A) -31 to +31 (B) -63 to +63 (C) -64 to +63 (D) -32 to +31
7) Which of the following is an invalid BCD code?
(A) 0011 (B) 1101 (C) 0101 (D) 1001
8) Convert the 127decimal number to BCD.
(A) 011100100001 (B) 111010001 (C) 001010111 (D) 000100100111
9) The binary-coded decimal (BCD) system can be used to represent each of the 10 decimal
digits as an:
(A) 4-bit binary code (B) 8-bit binary code (C) 16-bit binary code (D) ASCII code
10) For 2-bit error detecting, the minimum hamming distance must be
(A) 1 (B) 2 (C) 3 (D) 4
11) The number of parity bits in a 12-bit hamming code is
(A) 4 (B) 5 (C) 6 (D) 8
II) Descriptive Questions
1) Convert the following numbers with the given radix to decimal.
i) (334)5 ii) (12345)7 iii) (768)9
2) Solve
i) (AD012)16 = (X)5 ii) (5.204)10 = (X)3
3) Perform the following
a) (137.64)10 = ( )6 = ( )2
b) (1111.1011)2= ( )8=( )16
4) Subtract (0001.1110)2 from (0011.1001)2 using 2’s complement method.
5) If A = -57 and B = +38, then represent A and B in 8-bit 2’s complement.
Find (i) A + B (ii) A - B using 2’s complement method.
6) Perform the following operations using r-1’s complement arithmetic:
i) (+43)10 − (−53)10. ii) (+346.56)10 − (+456.78)10.
7) Convert (1101) binary code to gray code with detailed steps?
8) Perform the addition of the following XS-3 codes
(i) 109 + 778 (ii) 204.6 + 185.56
9) Represent the unsigned decimal numbers 351 and 986 in BCD, and then show the steps
necessary to form their sum.
10) Generate the Hamming code for the given 11 bit message 10001110101.
11) Detect and correct errors if any in the Hamming codes and write the correct code
(i) 1100110 (ii) 0011101
12)State and prove Demorgan’s theorem.
10
13) Show that both NAND gate and NOR gate are universal gates.
14) Draw the logic circuits for the realization of basic operations using only NOR
gates.
15) Simplify the following three variable Boolean expression using karnaugh map
method.
Y= ABC’ +A’B’C’+ABC+AB’C’.
16) Using K-Map simplify the following Boolean function
F=A’BC+ABC’+ABC+AB’C’
17) What is a code converter? Explain the principle of binary to gray and gray to
binary.
18) Explain the process of minimization of Boolean function using tabular method.
19) Describe the procedure of reducing Boolean expression with don’t cares using
tabular method
B2. Question testing the ability of students in applying the concepts.
I) Objective Questions
1. For the circuit shown below, the output F is given by
11
6.
13
4) Represent numeric digits 0 to 9 atleast in any two self complementing codes
12) The subtraction of a binary number Y from another binary number X, done by adding 2's
compliment of Y to X, results in a binary number without overflow. This implies that the result
is
A. Negative and is in normal form GATE-1987
14
B. Negative an is in 2’s compliment form
C. Positive and is in normal form
D. Positive and is in 2's compliment form
13) The output of the combinational circuit given below is GATE-16
(C) (D)
19) The number of product terms in the minimized sum of product expression obtained through
the following karnaugh map (where d indicates don’t care conditions). GATE-06
1 0 0 1
0 D 0 0
0 0 D 1
0 0 0 1
(A)2 (B)3 (C)4 (D)5
20) The boolean expression for the truth table shown is GATE-05
A B C F
0 0 0 0
0 0 1 0
0 1 0 0
15
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 1
1 1 1 0
(A) (B)
(C) (D)
21) . The Boolean expression is equivalent to GATE-04
(A) (B)
(C) (D)
22) The BDC code for a decimal number 874 is: IES-2013
A. (100001110100) BCD B. (010001111000) BCD
C. (100001000111) BCD D. (011110000100) BCD
23) The decimal equivalent of binary number 10110.11 is: IES-2013
A. 16.75 B. 20.75 C. 16.50 D. 22.75
24) A seven -bit Hamming code is received as 1111101. What is the correct code? IES-2013
A. 1101111 B. 1011111 C. 1111111 D. 1111011
25) Hexadecimal conversion of decimal number 227 will be: IES-2013
A. A3 B. E3 C. CC D. C3
27)The minimum number of NAND gates required to implement A +AB+ABC is: IES-2014
(A) 0 (B) 1 (C) 4 (D) 7
28) The logic function f(A, B, C, D) = (A+BC) (B+ CD) can be expressed to IES-2013
A) AB+BC+AC’D+BCD B) AB+AB’+ACD+BCD’
C) AB+A’B’+A’CD+BC’D D) AB’+AB’+ACD’+BCD
29) The logic function (A+ B) can be expressed in terms of min terms as: IES-2012
A) AB+BA B) A’B+B’A+A’B’ C) A’B+AB D) AB+BA’
30) A3- Variable truth table has a High output for the inputs: 010, 011 and 110. IES-2011
The Boolean expression for sum of product (SOP) can be written as:
A) AB+BC (B) AB’+BC’ C) A’B’+BC D) AB+B’C’
16
UNIT-2
Assignment-Cum-Tutorial Questions
A. Questions testing the remembering / understanding level of students
I) Multiple Choice Questions:
1. A full subtractor circuit requires ________.
A. Two inputs and two outputs B. Two inputs and three outputs
C. Three inputs and one output D. Three inputs and two outputs
2. A de multiplexer has ________.
A. One data input and a number of selection inputs, and they have several outputs
B. One input and one output
C. Several inputs and several outputs
D. Several inputs and one output
3. How many outputs are on a BCD decoder?
A.4 B.16 C.8 D.10
4. A decoder converts ________.
A. Non coded information into coded form B. Coded information into non coded form
C. HIGHs to LOWs D. LOWs to HIGHs
5. Parallel Adders are
A. Combinational logic circuits B. Sequential logic circuits
C. Both of the above D. None of the above
6. A Full Adder can be realized using
A. One half adder, two OR gates B. Two half adders, one OR gate
C. Two half adders, two OR gates D. Two half adders, one AND gate
7. In which of the following adder circuits is the carry ripple delay is eliminated?
A. Half adder B. Full adder C. Parallel adder D. Carry-look-ahead-adder
8. Which logic gate is a basic comparator?
A. NOR gate B. NAND gate C. X-OR gate D. X-NOR gate
9. A multiplexer is also known as
A. A data accumulator B. A data restorer C. A data selector D. A data distributor
10. Which logic device is called a distributor?
A. Multiplexer B. Demultiplexer C. Encoder D. Decoder
II) Descriptive Questions
17
1. Define combinational logic? Write the design procedure for combinational circuits.
2. Explain the operation of half adder? Realize full adder using logic gates.
3. Explain the operation of half subtractor? Realize full subtractor using logic gates.
4. Discuss the functional principle of 4-bit ripple carry adder. what is its major disadvantage?
5. What is decoder? Draw the logic diagram of 3 to 8 line decoder and explain its operation.
6. What is the difference between encoder and priority encoder? Give the implementation of a
4-bit priority encoder?
7. Discuss how four bit excess - 3 adder circuit is designed. Explain its operation.
8. Discuss how four bit BCD adder circuit is designed. Explain its operation.
9. Briefly describe the concept of look-ahead carry generation with respect to its use in adder
circuits.
10. Draw the circuit diagram of a 4-bit adder/subtractor and briefly describe its functional
principle.
11. Implement the following function with 8 to 1 multiplexer:
f ( w, x, y, z ) w x yz w x y z w y
18
6. The logic function implemented by the circuit below is (ground implies a logic “0”)
1. Realize the logic expression given below using a (i) 8:1 MUX (ii) 16:1 MUX
f=∑ m (0,1,3,5,8,11,12,14,15)
2. Design a 32:1 multiplexer using two 16:1 and 2:1 multiplexers.
3. Implement the following multiple output combinational logic circuit using a 4 to 16 decoder:
F1=∑ m (0,1,4,7,12,14,15) F2=∑ m (1,3,6,9,12) F3=∑ m (2,3,7,8,10)
F4=∑ m (1,3,5)
4. Implement the full adder sum and carry functions with decoder and multiplexers.
5. Implement the following 2:1 multiplexer
a) and gate b) or gate c) not gate d) ex-or gate
6. Develop a 3-to-8 line decoder using NOR gates only, and draw its logic diagram.
19
7. A combinational circuit is defined by the equations
f l = AB + A’B’C’
f2 = A + B + C’
f3 = A’B + AB’
Design a circuit which will implement these three equations using a decoder and NAND
gates external to the decoder.
C. Questions testing the analyzing / evaluating ability of students
1. Design a combinational circuit that detects an error in the representation of a decimal
digit in BCD. The output of the circuit must be equal to logic 1 when the inputs contain
any one of the six unused bit combinations in the BCD code.
2. A combinational circuit is defined by the following three functions F1 = x’y’+xyz’, F2 =
x’+y, F3=xy+x’y’. Design the circuit with a decoder and external gates.
3. A logic function has four inputs A, B. C and D that will produce output 1 whenever two
adjacent input variables are 1’s. Treat A and D are also adjacent. Implement this logic
function using 8 x 1 and 4 x 1 multiplexers.
4. Obtain logical functions to design decimal to octal using priority encoder.
D. GATE/IES Questions
1) The output Y of a 2 bit comparator is logic 1whenever 2-bit input A is greater than 2-bit input
B. The no. of combinations for which the output is logic 1 is GATE-2012
A. 4 B. 6 C. 8 D.10
2) The logic function implemented by the circuit below is (ground implies a logic ‘0’)
GATE-2011
A. F= Σm(0,1,3,5,9,10,14) B. F= Σm(2,3,5,7,8,12,13)
C. F= Σm(1,2,4,5,11,14,15) D. F= Σm(2,3,5,7,8,9,12)
20
4) In the following circuit X is given by GATE-2007
A. X=AB’C’+A’BC’+A’B’C+ABC. B. X= AB’C’+A’BC’+A’B’C+ABC
C. X=AB +BC+AC D. X=A’B’+B’C’+A’C’
5) The Boolean function f implemented in figure using two input multiplexers is GATE-2005
7) The circuit shown in figure below has 4 boxes each described by inputs P, Q, R and outputs
Y, Z with Y= P Q R; Z=RQ+ P’R+Q P’. The circuit acts as a
GATE-2003
21
A. AB’C+ABC’ B. ABC+AB’C’ C. A’BC+A’B’C’ D. A’B’C+A’BC’
9) The minimum number of 2 to 1MUX requires to realize a 4 to 1 MUX are GATE 2004
A. 1 B. 2 C. 3 D. 4
12) In the TTL circuit in figure below s2 to s0 are select lines and x7 and x0 are input lines . s0 and
x0 are LSB’s. The output Y is GATE-2001
A. indeterminate B. A⊕B C. (A⊕B)’ D. C’(A⊕B) + C(A⊕B)’
22
A.0 B.1 C. A’B+AB’ D. (AB)’.(AB)’
16) The logic realized by the circuit shown in figure is: GATE-1992
A. F=A.C B. F=A+C C. F=B.C D. F=B+C
23
UNIT-3
Assignment-Cum-Tutorial Questions
A. Questions testing the remembering / understanding level of students
I) Objective Questions
1. A sequential logic circuit
A) Must contain flip-flops B) may contain flip-flops
C) does not contain flip-flops D) contain latches
2. A sequential circuit does not use clock pulses. It is
A) an asynchronous sequential circuit B) a synchronous sequential circuit
C) a counter D) a shift register
3. The basic memory element in a digital circuit
A) consists of a NAND gate B) consists of a NOR gate
C) is a flip-flop D) is a shift register
4. A flip-flop can store
A) one bit of data B) two bits of data
C) tree bits of data D) any number of bits of data
5. The characteristic equation of a J-K flip-flop is
A) B)
C) D)
6. The characteristic equation of a D flip-flop is
A) B)
C) D)
7. A shift register using flip-flops is called a
A) dynamic shift register B) flip-flop shift register
C) static shift register D) buffer shift register
8. The transparent latch is
A) an S-R flip-flop B) a D flip-flop
C) a T flip-flop D) a J-K flip flop
9. A universal register
A) accepts serial input B) accepts parallel input
C) gives serial and parallel D) is cable of all of the above
24
10. What are shift register counters? Draw Ring Counter and explain the operation with Truth
Table.
II) Problems
1. Design a 3 bit synchronous up/down counter using JK flip-flop.
2. Design a mod 7 asynchronous counter using JK flip-flop.
3. Design a mod 12 synchronous counter using T flip-flop.
4. Design a BCD up/down counter using SR flip-flop.
5. Design a J-K counter that goes through states 2,4,5,7,2,4,……
6. Convert D flip-flop to SR flip-flop.
7. Convert T flip-flop to JK flip-flop.
25
2) Design a synchronous counter that counts as 000, 010, 101, 110, 000, 010 … Ensure that the
un used states of 001, 011, 100 and 111 go to 000 on the next clock pulse. Use J-K flip-flops.
3) Find a modulo-6 gray code using k-map and design the corresponding counter.
4) The content of a 4 bit shift register is initially 1101. The register is shifted six times to the
right, with the serial input being 101101 what is the content of the register after each shift?
D. GATE/IES Questions
1) A synchronous counter counts the sequence 0-1-0-2-0-3 and then repeats. The minimum
number of J-K flip-flops required to implement this counter is GATE-2016
A) 1 B) 2 C) 4 D) 5
A) 0110110…
B) 0100100…
C) 011101110…
D) 011001100…
3) The outputs of the two flip-flops Q 1, Q2 in the figure shown are initialized to 0, 0. The
sequence generated at Q1 upon application of clock signal is
GATE-2014
26
A) 01110…
B) 01010…
C) 00110…
D) 01100…
A) Toggle flip-flop
B) JK flip-flop
C) SR flip-flop
D) Master-Slave D flip-flop
5) When the output Y in the circuit below is ‘1’ . It implies that data has GATE-2011
6) Assuming that the all flip-flops are in reset condition initially, the count sequence observed
at QA in the circuit shown is GATE-2010
27
A) 0010111….
B) 0001011….
C) 0101111….
D) 0110100….
7) For the circuit shown, the counter state (Q1Q0) follows the sequences GATE-2007
A) 00,01,10,11,00,……
B) 00,01,10,00,01,……
C) 00,01,11,00,01,……
D) 00,10,11,00,10,……
8) Two D flip-flops are to be connected as a synchronous counter as shown below, that goes
through the following Q1 Q0 sequence 00→01→11→10→00→……………
The inputs D0 and D1 respectively should be connected as GATE-2006
12) The ripple counter shown in the given figure is works as a GATE -1999
A) Mod-3 up counter
B) Mod-5 up counter
C) Mod-3 down counter
D) Mod-5 down counter
13) In the figure shown is A=1 and B=1, the input B is now replaced with a sequence
101010…., the output X and Y will be IES-2005
29
UNIT-4
Assignment-Cum-Tutorial Questions
A. Questions testing the remembering / understanding level of students
I) Objective Questions
1. The sequential machine is another name of ______.
2. The sequential circuit in which the output depends only on the present state of the flip-flop is
called a ______circuit.
3. The sequential circuit in which the output depends only on the present state of the flip-flop as
well as on the present input is called a ______ circuit.
4. State diagram can also be called as ________.
5. The next state part of the state table is called the ________ table.
6. The process of assigning the states of a physical device to the states of a sequential machine is
known as _______.
7. __________ states are states whose functions can be accomplished by other states.
1) In a sequential circuit design, state reduction is done for designing the circuit with
A. a minimum number of flip flops B. a minimum number of gates
C. a minimum number of gates and memory elements D. none of the above
2) A sequential circuit with 10 states will have
A. 10 flip flops B. 5 flip flops C. 4 flip flops D. 0 flip flops
3) In general, a sequential logic circuit consists of
A. only flip flops B. only gates
30
C. flip flops and combinational logic circuits D. only combinational logic circuits
4). Reduction of flip-flops in a sequential circuit is referred to as
A.Reduction B. State reduction C. Next state D. Both a and b
5). M flip-flops produces
A. 2^m-1 states B. 2^1 states C. 2^m+1 states D. 2^m states
6) Two states are said to be equal if they have exactly same
A. Inputs B. Next state C. Output D. Both a and b
7). A State which has no outgoing arcs is called a __________ state.
8) ________ outputs provide additional flexibility in state reduction.
5. Design a sequential circuit with minimum hardware to produce the output when the input
data stream contains 1010 pattern. ( consider overlapping pattern is not allowed)
6. Design a sequential circuit with minimum hardware to produce the output when the input
data stream contains 1010 pattern. (consider overlapping pattern is allowed)
7. Convert the following Mealy FSM to Moore FSM.
31
8. For the state diagram given below obtain the following:
(Assume your own inputs and outputs according to the state diagram)
i) State table
ii) Next state and output functions
iii) Sequential circuit using logic gates and T-flip-flops.
1. Design a finite state machine (FSM) for a counter that counts through the 3-bit prime
numbers downwards. Assume the counter starts with initial prime value set to 010 as its first
3 bit prime number. You need to provide the state transition table and the state transition
diagram. Assume that the state is stored in three D-FFs.
2. Design a 2-input 2-output synchronous sequential circuit which prduces an output Z=1,
whenever any of the fllowing input sequence-1101,1011, or 1001- occurs. The circuit resets
to the initial state after a 1 output is generated.
3) Construct Moore machine whose output is 1 if the last five inputs were 11010 using JK flip-
flops.
4) Simplify the state table given in the figure below.
32
UNIT-5
Assignment-Cum-Tutorial Questions
A. Questions testing the remembering / understanding level of students
I) Objective Questions
2. A ________ PLD consists of a programmable array of AND gates that connects to a fixed
array of OR gates and is usually OTP.
3. By adding an OR gate to a simple programmable logic device (SPLD) the foundation for a
________ PLD is made possible.
6. Which of the following logic families has the shortest propagation delay?
A. CMOS
B. BiCMOS
C. ECL
D. 74SXX
8. Special handling precautions should be taken when working with MOS devices. Which of the
following statements is not one of these precautions?
A. All test equipment should be grounded.
B. MOS devices should have their leads shorted together for shipment and storage.
33
C. Never remove or insert MOS devices with the power on.
D. Workers handling MOS devices should not have grounding straps attached to their wrists.
34
A. Only gates B. Only flip flops C. Both a and b D. None of the above
5. Which among the following statement/s is/are not an/the advantage/s of Programmable Logic
Devices (PLDs)?
A. Short design cycle B. increased space requirement
C. Increased switching speed D. All of the above
6. Which of the following digital IC logic families is most susceptible to static discharge?
A. RTL B. ECL C. MOS D. TTL
7. Which of the following output levels would not be a valid LOW for a TTL gate?
A. 0.3 V B. 0.5 V C. 0.2 V D. All are valid.
8. The lower transistor of a totem-pole output is OFF when the gate output is
35
9. Explain with neat diagram interfacing of a TTL gate driving CMOS gates,
C. Questions testing the analyzing / evaluating ability of students
D. GATE/IES Questions
1) Figure given below shows the internal schematic of a TTL AND-OR-Invert (AOI) gate. For
the inputs shown in the given figure, the output Y is GATE-2004
A. 0 B. 1 C. AB
D. (AB)’
2) The output of the 74 series of
TTL gates is taken from a BJT in
GATE- 2003
A. Totem pole and Common Collector configuration
B. Either Totem pole or Open Collector configuration
C. Common Base configuration
D. Common Collector configuration
3) Commercially available ECL gates uses two ground lines and one negative power supply in
order to GATE-1999
A. Reduce power dissipation
B. Increase fan-out
C. Reduce loading effect
D. Eliminate the effect of power line glitches or the biasing circuit
4) The noise margin of a TTL gate is about GATE-1998
A. 0.2 volts B. 0.4 volts C. 0.6 volts D. 0.8 volts
5) In standard TTL, the 'Totem pole' stage refers to GATE-1997
A. Multi emitter input stage B. Phase splitter
C. Output buffer D. Open collector output stage
6) Schottky clamping is resorted in TTL gates GATE-1996
A. To reduce propagation delay B. To increase noise margins
C. To increase packing density D. To increase fan-out
7) In the output stage of a standard TTL, have a diode between the emitter of the pull-up
transistor and the collector of the pull-down transistor The purpose of the diode is to isolate the
output node from the power supply Vcc.[TRUE/FALSE] GATE-1994
36
8) The figure shows the circuit of a gate in the Resistor Transistor Logic (RTL) family.
The circuit represents a GATE-1992
a. NAND b.
AND c. NOR d. OR
9) Among the digital 1C families, ECL, TTL and CMOS, which one of the following is correct?
A. ECL has more propagation delay GATE-1987
B. TTL has the largest tan-out
C. CMOS has the biggest noise margin
D. TTL has the lowest power consumption
10) For a logic family, given that GATE-1987
VOH is the minimum output high level voltage.
VOL is the maximum output low level voltage.
VIH is the minimum acceptable input low level voltage.
VIL is the maximum acceptable input low level voltage.
Then the correct relationship is
A. VIH>VOH>VIL>VOL
B. VOH>VIH>VIL>VOL
C. VIH>VOH>VOL>VIL
D. VOH>VIH>VOL>VIL
11) In standard TTL, the 'totem pole' refers to: IES-2012
A. Multi-emitter input stage
B. The phase splitter
C. Open collector output stage
D. The output buffer
12) CMOS logic families are associated with: IES-2012
1. Low power dissipation
2. High noise immunity
3. Low Fan-cut
4. Comparatively high logic voltage swing
A. 1, 2 and 4 only
B. 1, 2 and 3 only
C. 2, 3 and 4 only
D. 1, 2, 3 and 4
13) In standard TTL, the 'totem pole' refers to: IES-2012
A. Multi-emitter input stage '
B. The phase splitter
C. Open collector output stage
D. The output buffer
37
14) The switching speed of ECL is very high, because the transistors: IES-2013
A. are switched between cut-off and saturation region
B. are switched between active and saturation region
C. are switched between active and cut off region
D. may operate in any of the three regions
15) Which one of the following statements is correct? IES-2013
A. PROM contains a programmable AND array and a fixed OR array
B. PLA contains a fixed AND array and a programmable OR array
C. PROM contains a fixed AND array and programmable OR array
D. PLA contains a programmable AND array and a programmable OR array
38