II-YEAR-III-SEM-CS8352-DIGITAL-PRINCIPLES-AND-SYSTEM-DESIGN-min
II-YEAR-III-SEM-CS8352-DIGITAL-PRINCIPLES-AND-SYSTEM-DESIGN-min
II-YEAR-III-SEM-CS8352-DIGITAL-PRINCIPLES-AND-SYSTEM-DESIGN-min
Question Bank
M1 To excel in teaching and learning, research and innovation by promoting the principles of
scientific analysis and creative thinking
To equip students with values, ethics and life skills needed to enrich their lives and enable
M3
them to meaningfully contribute to the progress of society
M4 To prepare students for higher studies and lifelong learning, enrich them with the practical
and entrepreneurial skills necessary to excel as future professionals and contribute to
Nation’s economy
Problem analysis: Identify, formulate, review research literature, and analyze complex
PO2 engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences.
PO5 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.
The engineer and society: Apply reasoning informed by the contextual Knowledge to
PO6 assess societal, health, safety, legal and cultural issues and the consequent
responsibilities relevant to the professional engineering practice.
Ethics: Apply ethical principles and commit to professional ethics and responsibilities
PO8
and norms of the engineering practice.
Life-long learning: Recognize the need for, and have the preparation and ability to
PO12 engage in independent and life-long learning in the broadest context of technological
change.
Vision of Department
To emerge as a globally prominent department, developing ethical computer professionals, innovators and
entrepreneurs with academic excellence through quality education and research.
Mission of Department
To create computer professionals with an ability to identify and formulate the engineering
M1
problems and also to provide innovative solutions through effective teaching learning process.
M3 To produce engineers with good professional sKills, ethical values and life skills for the
betterment of the society.
PEO2 To apply core-analytical Knowledge and appropriate techniques and provide solutions to
real time challenges of national and global society
PEO3 Apply ethical Knowledge for professional excellence and leadership for the betterment of
the society.
PEO4 Develop life-long learning skills needed for better employment and entrepreneurship
SYLLABUS
Number Systems - Arithmetic Operations - Binary Codes- Boolean Algebra and Logic Gates -
Theorems and Properties of Boolean Algebra - Boolean Functions - Canonical and Standard Forms -
Simplification of Boolean Functions using Karnaugh Map - Logic Gates – NAND and NOR
Implementations.
Analysis and Design of Asynchronous Sequential Circuits – Reduction of State and Flow Tables –
Race-free State Assignment – Hazards.
RAM – Memory Decoding – Error Detection and Correction - ROM - Programmable Logic Array –
Programmable Array Logic – Sequential Programmable Devices.
TEXT BOOK:
1. M. Morris R. Mano, Michael D. Ciletti, “Digital Design: With an Introduction to the Verilog HDL,
VHDL, and SystemVerilog”, 6th Edition, Pearson Education, 2017.
REFERENCES:
Number Systems - Arithmetic Operations - Binary Codes- Boolean Algebra and Logic Gates - Theorems
and Properties of Boolean Algebra - Boolean Functions - Canonical and Standard Forms - Simplification
of Boolean Functions using Karnaugh Map - Logic Gates – NAND and NOR Implementations.
PART – A
CO Mapping : CO202.1
S. Question Blooms Competenc PO
N Taxanom e
o. y Level
1 Find the Octal equivalent of the hexadecimal number
PO1, PO2,
DC.BA. (May/June 2016) BTL-5 Evaluating
PO3
2 What is meant by multilevel gates networks?(May/June BTL-1 Remember PO1
2016) ing
3 Discuss the NOR operation with a truth table. BTL-1 Remember PO1
(Nov./Dec. 2015) ing
4 Write short notes on weighted binary codes. (Nov./Dec. BTL-1 Remember PO1
2015) ing
5 Convert (126)10 to Octal number and binary number. BTL-1 Remember PO1
(Nov./Dec. 2015) ing
6 Prove the following using Demorgan’ theorem BTL-1 Remember PO1
[(X+Y)’+(X+Y)’]’= X+Y (May 2015) ing
12 Realize XOR gate using only 4 NAND gates. (Dec 2013) Understan
BTL-2 PO1, PO2
ding
13 Realize JK flip flop using D flip flop. (Dec 2013) BTL-1 Remember PO1
ing
14 Convert the following hexadecimal numbers into BTL-1 Remember PO1
decimal numbers: ( Dec 2012) ing
a)263, b)1C3
15 What is the significance of BCD code. ( Dec 2012) BTL-1 Remember PO1
ing
16 Simplify the expression: X = (A’+B)(A+B+D)D’. BTL-1 Remember PO1
ing
17 Convert (11001010)2 into gray code. BTL-1 Remember PO1
ing
b) Convert a Gray code 11101101 into binary code.
18 State & prove De-Morgan’s theorem. BTL-1 Remember PO1
ing
19 Describe the canonical forms of the Boolean function. BTL-1 Remember PO1
ing
20 Describe the importance of don’t care conditions. BTL-1 Remember PO1
ing
21 What is a prime implicant? BTL-1 Remember PO1
ing
25 Plot the expression on K-map: F (w,x,y) =∑m (0, 1, 3, 5, BTL-1 Remember PO1
6) + d (2, 4). ing
UNIT II
CCOMBINATIONAL LOGIC
Combinational Circuits – Analysis and Design Procedures - Binary Adder-Subtractor - Decimal Adder -
Binary Multiplier - Magnitude Comparator - Decoders – Encoders – Multiplexers - Introduction to HDL –
HDL Models of Combinational circuits.
PART – A
CO Mapping : CO202. 2
S. Question Blooms Competence PO
N Taxanom
o. y Level
1 Design the combinational circuit with 3 inputs and 1 BTL-1 Remembering PO1
output. The output is 1 when the binary value of the
input is less than 3. The output is 0 otherwise.
(May/June 2016)
4 Write the Data flow description of a 4-bit Comparator. BTL-1 Remembering PO1
(April/May 2015)
7 Write the data flow description of a 4-bit comparator. BTL-1 Remembering PO1
(May 2015)
8 Implement a full adder with 4×1 multiplexer. (May BTL-1 Remembering PO1
2015)
9 Implement the following Boolean function using 8:1 BTL-1 Remembering PO1
multiplexer F(A,B,C)= ∑m(1,3,5,6)(Dec 2014)
13 Obtain the truth table for BCD to Excess-3 code BTL-1 Remembering PO1
converter. (Dec 2013)
14 Write the stimulus for 2 to 1 line MUX. (June 2012) BTL-1 Remembering PO1
15 Distinguish between a decoder and a demultiplexer. BTL-1 Remembering PO1
(June 2012)
16 Design a 2-bit binary to gray code converter. BTL-1 Remembering PO1
17 Draw the 4 bit Gray to Binary code converter. BTL-1 Remembering PO1
18 Draw the 4 bit Binary to Gray code converter. BTL-1 Remembering PO1
19 Distinguish between combinational logic and sequential BTL-1 Remembering PO1
logic.
20 Implement half Adder using NAND Gates. BTL-1 Remembering PO1
22 Give the truth table for half adder and write the PO1,
expression for sum and carry. PO2,
BTL-5 Evaluating
PO3,
PO4
23 Mention the different type of binary codes. BTL-1 Remembering PO1
PART B
1 Implement the following Boolean function with 4 X 1
multiplexer and external gates. Connect inputs A and B to
the selection lines. The input requiremnts for the four data
lines will be a function of variables C and D these values are PO1,
obatined by expressing F as a function of C and D for each BTL-5 PO2,
Evaluating
four cases when AB = 00, 01, 10 and 11. These functions PO3,
PO4
may have to be implemented with external gates. F(A, B, C,
D) = Σ (1, 2, 5, 7, 8, 10, 11, 13, 15). (May/June 2016)
2 Design a full adder with x, y, z and two outputs S and C. The BTL-6 Creating PO1,
circuits performs x+y+z, z is the input carry, C is the output PO2,
carry and S is the Sum. PO3
(May/June 2016)
5 (a) Design 2-bit magnitude comparator and write a verilog BTL-2 Understanding PO1,
HDL code. (Dec 2015) PO2
10
Construct a 4 to 16 line decoder with an enable input using F(W,X,Y, Understanding PO1,
Z)= ∑m PO2
five 2 to 4 line decoders with
(0,1,3,4,8,
enable inputs. (June 2012) 9,15).
PART – A
CO Mapping : CO202. 3
S. Question Blooms Competence PO
No Taxanom
. y Level
1 State the excitation table of JK Flip Flop. BTL-1 Remembering PO1
(May/June 2016)
2 What is the minimum number of flip flops needed to BTL-1 Remembering PO1
build a counter of modulus 8? (May 2016)
3 Write short notes on propagation delay. (Nov./Dec. BTL-1 Remembering PO1
2015)
4 Draw the diagram of T flip flop and discuss its working. BTL-1 Remembering PO1
(Nov./Dec. 2015)
5 Give the block diagram of master-slave D flip- flop. BTL-1 Remembering PO1
(May 2015)
7 How many states are there in 3-bit ring counter? What PO1,
are they? (Dec 2014) BTL-5 Evaluating PO2,
PO3
8 With reference to a JK flip-flop, what is racing? BTL-1 Remembering PO1
(June/Dec 2014)
9 What are Mealy and Moor machines? (Dec 2014) BTL-1 Remembering PO1
10 Write the characteristics table and equation of JK flip BTL-1 Remembering PO1
flop. (June 2014)
11 Write any two applications of shift registers. (June 2014) BTL-1 Remembering PO1
12 Write the HDL code for up-down counter using BTL-1 Remembering PO1
behavioral model. (Dec 2013)
13 Show D flip-flop implementation from a J-K flip-flop. BTL-1 Remembering PO1
(Dec 2013)
14 Give the truth table for J-K flip-flop. BTL-1 Remembering PO1
24 How many flip flops are required to realize MOD 50 BTL-1 Remembering PO1
counter? (Dec 2012)
PART B
1 Design a modulo 5 synchronous counter using JK Flip Flop BTL-6 Creating PO1,
and implement it. Construct its timing diagram. PO2,
PO3
(May/June 2016)
2 Design a binary counter using T flip flops to count in the BTL-6 Creating PO1,
following sequences: PO2,
(i) 000, 001, 010, 011, 100, 101, 111, 000 PO3
3 Design three bit synchronous counter with T flip flop and PO1,
draw the diagram. (Nov./ Dec 2015) BTL-5 Evaluating PO2,
PO3
4 Design a sequence detector that detects a sequence of three BTL-6 Creating PO1,
or more consecutive 1’s in a string of bits coming through PO2,
an input line and produces an output whenever this sequence PO3
is detected. (Nov./ Dec 2015)
6 i) A sequential circuit with two D flip-flops A and B, one BTL-6 Creating PO1,
input x and one output z is specified by the following PO2,
next-state and output equations: PO3
(April/May 2015)
A(t+1)= A′+B, B(t+1)=B′x, z=A+B′
(1) Draw the logic diagram of the circuit
(2) Draw the state table
(3) Draw the state diagram of the circuit
ii) Explain the difference between a state table,
characteristics table and excitation table.
7 (a) Design a MOD-10 synchronous counter using JK flip- BTL-6 Creating PO1,
flops. Write execution table and state table. (Dec 2014) PO2,
(b) i) A sequential circuit with two D flips- flops A and B, PO3
one input x, and one output z is specified by the following
next state and output equations:
A (t+1) = A’+B, B(t+1)= B’x, z=A+B’.
(1) Draw the logic diagram of the circuit. (2) Derive the
state table (3) Draw the state diagram of the circuit. (May
2015)
11 Implement T flipflop using D flipflop and JK flipflop using BTL-6 Creating PO1,
D flipflop. (June 2014) PO2,
PO3
12 Design a sequential circuit by the following state diagram
using T-flip flops. (Dec 2013)
PO1,
BTL-5 Evaluating PO2,
PO3
13 Design a synchronous counter with the following sequence: PO1,
0,1,3,7,6,4 and repeats. (Dec 2013) BTL-5 Evaluating PO2,
PO3
14 2. i) Write behavioural VHDL Description of 8 bit shift
register with direct reset.
PO1,
ii)What is the difference serial and parallel transfer? Explain BTL-5 Evaluating PO2,
how to convert parallel data to serial and serial data to PO3
parallel. What type of register is needed? (Dec 2012)
COMBINATIONAL LOGIC
PART – A
CO Mapping : CO202.4
S. Question Blooms Competenc PO
N Taxanom e
o. y Level
Define the critical race and non critical race. (May/June BTL-1 Rememberi PO1
2016) ng
What are the types of hazards? (June 2014) BTL-1 Rememberi PO1
ng
What are the types of hazards? (May/June BTL-2 Understand PO2
2014) ing
PART B
1 Discuss in detail the procedure for reducing the flow table
with an example. (May/June 2016) PO1,PO2,
BTL-5 Evaluating
PO3
Explain about hazards in digital systems. (May 2015) BTL-2 Understand PO2
ing
Analyze the following clocked sequential circuit and obtain BTL-6 Creating PO1,PO2,
the state equations and state diagram. PO3
(Nov./Dec. 2015)
(a) Explain the Race- free state assignment procedure. BTL-6 Creating PO1,PO2,
PO3
(b) Reduce the number of states in the following state
diagram. Tabulated the reduced state table and Draw the
reduced state diagram. (May 2015)
a a b 00
b c d 00
c a d 00
d e f 01
e a f 01
f g f 01
g a f 01
8 Design a synchronous counter using JK-flip flop to count the BTL-6 Creating PO1,PO2,
following sequence 7, 4, 3, 15, 0, 7, (Dec 2014) PO3
10 (i) What is the objective of state assignment in asynchronous BTL-6 Creating PO1,PO2,
circuit? Explain race-free state assignment with an example. PO3
(Dec2013)
ii) Discuss about static, dynamic and essential hazards in
asynchronous sequential circuits.
PART – A
CO Mapping : CO202.5
S. Question Blooms Competence PO
N Taxanom
o. y Level
1 Draw the waveforms showing static 1 hazard? BTL-1 Remembering PO1,PO2
(May/June 2016)
4 How to detect double error and correct single error? BTL-2 Understanding PO1
(May 2015)
6 What is a volatile memory? Give example. (Dec 2014) BTL-1 Remembering PO1,PO2
10 Distinguish EEPROM and flash memory. (Dec 2013) BTL-1 Remembering PO1,PO2
11 What is the difference between PROM and PLA? BTL-1 Remembering PO1,PO2
15 What are the major drawbacks of the EEPROM? BTL-1 Remembering PO1
16 Distinguish between EPROM and EEPROM BTL-1 Remembering PO1
18 How many data inputs, data outputs and address BTL-1 Remembering PO1
inputs are needed for a 1024 *4 ROM?
19 Describe the basic functions of ROM and RAM. BTL-2 Understanding PO1,PO2
20 How long will it take to erase UV erasable EPROM BTL-2 Understanding PO1,PO2
completely?
21 What is Configurable Logic Block? BTL-1 Remembering PO1
22 Give the different types of RAM. BTL-1 Remembering PO1
23 What is dynamic RAM cell? Draw its basic structure. BTL-2 Understanding PO1,PO2
PART B
1 Implement the switching functions. BTL-6 Creating PO1,
PO2, PO3
Z1=ab’d’e+a’b’c’d’e’+bc+de
Z2=a’c’e
Z3=bc+de+c’d’e’+bd
F1=AB′+AC+A′BC′
F2=(AC+BC)′
7 Design a BCD to Excess-3 code converter and implement BTL-6 Creating PO1,
using suitable PLA. (Nov/Dec2014) PO2, PO3
PART A
S. Question
N
o
1 Find the Octal equivalent of the hexadecimal number DC.BA. (May/June 2016)
A number of gates cascaded in series between a network input and output is referred to as the number
of levels of gets. Don’t count inverters as a level. Figure shows 4 level networks.
This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate. The outputs of all
NOR gates are low if any of the inputs are high.
Weighted binary codes are those binary codes which obey the positional weight principle. Each
position of the number represents a specific weight. Several systems of the codes are used to express
the decimal digits 0 through 9.
6 Prove the following using Demorgan’ theorem [(X+Y)’+(X+Y)’]’= X+Y (May 2015)
= [(X+Y)’+(X+Y)’]’
= X+Y’’. X+Y’’
= (X+Y). (X+Y)
= X+Y
The duality theorem states that starting with a Boolean relation we can drive another Boolean relation
by changing OR operation i.e., + sign to an and operation i.e., dot and vice versa. Complement any 0
and 1appearing in the expression i.e., replacing contains 0 and 1 by 1 and o respectively
Proof:
AB+A’C+BC = AB+A’C+BC.1
=AB+A’C+BC(A+A)
= AB+A’C+ABC+A’BC
= AB(1+C) + A’C(1+B)
= AB+A’C
(10101.1100 1101)2=(253.315)8
14 Convert the following hexadecimal numbers into decimal numbers: ( Dec 2012)
(i) Any large decimal number can be easily converted into corresponding binary number
(i) A person needs to remember only the binary equivalents of decimal number from 0 to 9.
Conversion from BCD into decimal is also very easy.
16 Simplify the expression: X = (A’+B)(A+B+D)D’.
X = (A‘+B)(A+B+D)D‘ = (AA‘+A‘B+A‘D+AB+BB+BD)D‘
X = (0 +A‘B +A‘D+AB+B + BD)D‘
X = (A‘D + B(A‘ + A + 1 + D))D‘ = (A‘D + B)D‘
X = A‘DD‘+ BD‘= 0 + BD‘
X = BD‘
A B AB (AB)’ A‘ B‘ A’+B’
0 0 0 1 1 1 1
0 1 0 1 1 0 1
1 0 0 1 0 1 1
1 1 1 0 0 0 0
b) (A+B)‘ = A‘B‘
0 0 0 1 1 1 1
0 1 1 0 1 0 0
1 0 1 0 0 1 0
1 1 1 0 0 0 0
19 Describe the canonical forms of the Boolean function.
a) Sum of minterms: Combination of minterms using OR operation.
Minterm (standard product) is a combination of n variables using AND operation for the function of n
variables.
Example for function of two variables A & B: F = A‘B + AB = m1 + m3 F = ∑m(1,3)
Maxterm (standard sum) is a combination of n variables using OR operation for the function of n
These don‘t care conditions can be used on a map to provide further simplification of the Boolean
expression.
00 01 11 10
A
1 1 0 0
0
0 1 3 2
0 0 1 1
1
4 5 7 6
(ii) Maxterm(standard sum) is a combination of n variables using OR operation for the function of n
variables. Possible maxterms for a function of two variables A & B: A+B, A+B‘, A‘+B, A‘+B‘
23 Minimize the function using K-map: F=∑m(1,2,3,5,6,7).
BC
A 00 01 11 10
0 1 1 1
0 Quad (2,3,6,7) = B
0 1 3 2 Quad (1,3,5,7) = C
1 0 1 1 1
4 5 7 6 F=B+C
To simplify the Boolean expression that in canonical form, Karnaugh map is used.
A Universal gates are NAND and NOR, they are called so because using these codes any logical gate
or logical expression can be derived.
PART B
1 Reduce the expression using Quine McCluskey's method F(x1, x2, x3, x4, x5) = ∑m (0, 2, 4, 5, 6, 7, 8,
10, 14, 17, 18, 21, 29, 31) + ∑d (11, 20, 22) (May/June 2016)
2 Simplify the following switching functions using Quine McCluskey's tabulation method and realize
expression using gates F(A,B,C,D) = Σ(0,5,7,8,9,10, 11, 14,15). (Nov/Dec 2015)
3 Simplify the following switching functions using Karnaugh map method and realize expression using
gates F(A,B,C,D) = Σ(0,3,5,7,8,9,10,12,15). (Nov/Dec 2015)
4 (a) Express the following function in sum of min-terms and product of max-terms F(X,Y,Z)=X+YZ
(May 2015)
(b) convert the following logic system into NAND gates only. (May 2015)
5 Simply the following Boolean expression in (i) sum of product (ii) product of sum using k-map
AC’+B’D+A’CD+ABCD (May 2015)
(ii) plot the following Boolean function in k-map and simplify it. F(w,x,y,z) =
∑m(0,1,2,4,5,6,8,9,12,13,14). (Dec2014)
7 Simply the function F(w,x,y,z)= ∑m(2,3,12,13,14,15) using tabulation method .Implement the
simplified using gates.(Dec2014)
8 Minimize the expression using quineMccluskey(tabulation) F=∑m(0,1,9,15,24,29,30) +∑d(8,11,31).
method (June 2014)
9 Simplify the following functions using K-map technique (June 2014)
10 Simplify the given boolean function in POS form using K-map and draw the logic diagram using
Only NOR gates F(A,B,C,D)= ∑m (0,1,4,7,8,10,12,15)+d(2,6,11,14). (Dec2013)
ii)Convert 78.510 into binary.
iii)Find the dual and complement of the following Boolean expression Xyz’+x’yz+z(xy+w).
Combinational Circuits – Analysis and Design Procedures - Binary Adder-Subtractor - Decimal Adder -
Binary Multiplier - Magnitude Comparator - Decoders – Encoders – Multiplexers - Introduction to HDL –
HDL Models of Combinational circuits.
PART – A
S. Question
N
o
1 Design the combinational circuit with 3 inputs and 1 output. The output is 1 when the binary
value of the input is less than 3. The output is 0 otherwise. (May/June 2016)
2 Define Combinational circuits. (May/June 2016)
A combinational logic circuit consists of logic gates whose output is determined by the combination of
current inputs.
3 Draw the truth table of half adder. (Nov./Dec. 2015)
output ALTB,AGTB,AETB;
assign ALTB=(A<B),
AGTB=(A>B),
AETB=(A= =B);
end module
9 Implement the following Boolean function using 8:1 multiplexer F(A,B,C)= ∑m(1,3,5,6)(Dec
2014)
12 Draw the truth table and circuit diagram of 4 to 2 encoder. (Dec 2013)
13 Obtain the truth table for BCD to Excess-3 code converter. (Dec 2013)
input A,B,S;
output O;
end module
2. The demultiplexer is the circuit that The decoder accepts a set of binary inputs
receives information on a single line and activates only the output that
and transmits this information on one corresponds to that input number.
of many output lines.
22 Give the truth table for half adder and write the expression for sum and carry.
A half adder is a logical circuit that performs an addition operation on two binary digits. The half
adder produces a sum and a carry value which is both binary digits. The drawback of this circuit
is that in case of a multibit addition, it cannot include a carry. S=A B, C=A.B
(ii)A person needs to remember only the binary equivalents of decimal number from 0 to 9.
PART – B
1 Design a modulo 5 synchronous counter using JK Flip Flop and implement it. Construct its timing
diagram. (May/June 2016)
2 Design a binary counter using T flip flops to count in the following sequences:
(i) 000, 001, 010, 011, 100, 101, 111, 000
(ii) 000, 100, 111, 010, 011, 000 (May/June
2016)
Design three bit synchronous counter with T flip flop and draw the diagram. (Nov./ Dec
3 2015)
4 Design a sequence detector that detects a sequence of three or more consecutive 1’s in a string of bits
coming through an input line and produces an output whenever this sequence is detected. (Nov./ Dec
2015)
5 Consider the design of 4-bit BCD counter that counts in the following way: (April/May 2015)
0000,0010,0011,….,1001 and back to 0000
(iv) Draw the state diagram
(v) List the next state table
(vi) Draw the logic diagram of the circuit
6 Design and implement a 8241 to gray code converter. Realize the converter using only NAND gates
(Dec 2014)
7 Design a circuit that converts 8421 BCD code to Excess-3 (June 2014)
(b) Implement the following using 8 to 1 multiplexer. (June 2014)
10 Construct a 4 to 16 line decoder with an enable input using five 2 to 4 line decoders with
11 Design a BCD to 7 segment decoder and implement it by using basic gates. (Dec 2012)
12 2. Discuss the need and working principle of Carry Look ahead adder. (Dec 2012)
Sequential Circuits - Storage Elements: Latches , Flip-Flops - Analysis of Clocked Sequential Circuits -
State Reduction and Assignment - Design Procedure - Registers and Counters - HDL Models of Sequential
Circuits.
PART – A
S. Question
No
1 State the excitation table of JK Flip Flop. (May/June 2016)
2 What is the minimum number of flip flops needed to build a counter of modulus 8? (May
2016)
3 Flip Flops
3 Write short notes on propagation delay. (Nov./Dec. 2015)
Propagation delay is the amount of time it takes for the head of the signal to travel from the sender to
the receiver.
4 Draw the diagram of T flip flop and discuss its working. (Nov./Dec. 2015)
The T flip flop has two possible values. When T = 0, the flip flop does a hold. A hold means that the
output, Q is kept the same as it was before the clock edge. When T = 1, the flip flop does a toggle,
which means the output Q is negated after the clock edge, compared to the value before the clock
edge.
7 How many states are there in 3-bit ring counter? What are they? (Dec 2014)
Three states-001,010,100
(ii) the output is complemented again and again if the pulse duration of the clock signal is greater than
the signal propagation delay of the JK flipflop for this particular input combination (J=K=1).(iii) there
is a race between 0 and 1 within a single clock pulse.this condition of the JK FF is called race-around
condition or racing.
Mealy machine: The output depends on both the present state of the flip-flops and on the inputs.
Moore machine: The output depends only on the present state of the flip-flops.
10 Write the characteristics table and equation of JK flip flop. (June 2014)
11 Write any two applications of shift registers. (June 2014)
12 Write the HDL code for up-down counter using behavioral model. (Dec 2013)
18 What is the minimum number of flip-flops needed to build a counter of modulus 60?
Modulus N <2k , where k is the number of flip-flops
Modulus 60 < 26 = 64, k = 6
19 What is a universal shift register?
(i) A register may operate in any of the following five modes
(ii)If a register can be operated in all the five possible ways, it is known as Universal Shift Register
1. Output depends only on the past values of Output depends on the present and past
input.
values of input.
2. Feedback path is not used in combinational Feedback path is used for sequential
circuits. circuits.
3. Memory element is not present 1. Memory element is present.
4. Clock is not used in this circuit. 2. Clock is used in sequential circuits.
5. Examples: adder, subtractors, code
3. Examples: flip-flops,counters,registers,etc
converters, comparators, Mux,etc
22 Give difference between latch and flip-flop.
Latch Flip-Flops
24 How many flip flops are required to realize MOD 50 counter? (Dec 2012)
6 flip flops
The output depends on both the present state of the flip-flops and on the inputs.
26 What is a state diagram?
(i) State diagram is the graphical representation of state table of sequential logic circuits.
(ii)In the state diagram, a state is represented by a circle and the transition between states is indicated
by directed lines connecting the circles.
(iii)The directed lines are labeled with two binary numbers separated by a slash. The input value
during the present state is labeled first and the number after the slash gives the output during the
present state.
A finite state machine (or finite automation) is an abstract model describing the synchronous
sequential machine and its spatial counter, part, the iterative network
28 What do you meant by the term state reduction problem?
The reduction of the number of flip-flops in a sequential circuit is referred to as the state – reduction
problem. State – reduction algorithms are concerned with procedures for reducing the number of states
in a state table while keeping the external input – output requirements unchanged.
PART – B
1 Design a modulo 5 synchronous counter using JK Flip Flop and implement it. Construct its timing
diagram. (May/June 2016)
2 Design a binary counter using T flip flops to count in the following sequences:
(i) 000, 001, 010, 011, 100, 101, 111, 000
(ii) 000, 100, 111, 010, 011, 000 (May/June
2016)
3 Design three bit synchronous counter with T flip flop and draw the diagram. (Nov./ Dec
2015)
4 Design a sequence detector that detects a sequence of three or more consecutive 1’s in a string of bits
coming through an input line and produces an output whenever this sequence is detected. (Nov./ Dec
2015)
5 Consider the design of 4-bit BCD counter that counts in the following way: (April/May 2015)
0000,0010,0011,….,1001 and back to 0000
(vii) Draw the state diagram
(viii) List the next state table
(ix) Draw the logic diagram of the circuit
6 i) A sequential circuit with two D flip-flops A and B, one input x and one output z is specified by the
following next-state and output equations: (April/May 2015)
A(t+1)= A′+B, B(t+1)=B′x, z=A+B′
(4) Draw the logic diagram of the circuit
(5) Draw the state table
(6) Draw the state diagram of the circuit
ii) Explain the difference between a state table, characteristics table and excitation table.
7 (a) Design a MOD-10 synchronous counter using JK flip-flops. Write execution table and state table.
(Dec 2014)
(b) i) A sequential circuit with two D flips- flops A and B, one input x, and one output z is specified by
the following next state and output equations:
A (t+1) = A’+B, B(t+1)= B’x, z=A+B’.
(1) Draw the logic diagram of the circuit. (2) Derive the state table (3) Draw the state diagram of the
circuit. (May 2015)
9 (i) How race condition can be avoided in a flip flops? (Dec 2014)
(ii) Realize the sequential circuit for the state diagram show below. (Dec 2014)
Implement T flipflop using D flipflop and JK flipflop using D flipflop. (June 2014)
Design a sequential circuit by the following state diagram using T-flip flops. (Dec 2013)
Design a synchronous counter with the following sequence: 0,1,3,7,6,4 and repeats. (Dec 2013)
2. i) Write behavioural VHDL Description of 8 bit shift register with direct reset.
ii)What is the difference serial and parallel transfer? Explain how to convert parallel data to serial and
serial data to parallel. What type of register is needed? (Dec 2012)
Using D flip flops, design a synchronous counter which counts in the sequence,
000,001,010,011,100,101,110,111,000
Analysis and Design of Asynchronous Sequential Circuits – Reduction of State and Flow Tables – Race-free
State Assignment – Hazards.
PART – A
S. Question
N
o
1 Define the critical race and non critical race. (May/June 2016)
Critical race in asynchronous circuits occur between two signals that are required to change at the same
time when the next stable state is dependent on the delay paths in the circuit.
Non Critical race The final stable state does not depend on the change order of state variables.
Lockout condition is that condition wherein a counter gets onto a forbidden state and rather than
coming out of it to another acceptable state or initial state, the counter switches to another forbidden
state and gets stuck up in the cycle of forbidden states only.
The counter should be provided with an additional circuit. This will force the counter from an unused
state to the next state as initial state. It is not always necessary to force all unused states into an initial
state. This frees the circuit from the Lock out condition
A critical race condition occurs when the order in which internal variables are
changed determines the eventual state that the state machine will end up in.
4 What is race condition? (Nov./Dec. 2015)
Two or more binary state variables will change value when one input variable changes
Variable.
2 Memory elements are clocked flip-flops Memory elements are unclocked flip-flops
FF values and does not change if input absence of clock, asynchronous circuits
changes while clock pulse is inactive are faster than synchronous circuits.
path.
Critical race in asynchronous circuits occur between two signals that are required to change at the same
time when the next stable state is dependent on the delay paths in the circuit
Hazards are unwanted switching transients that may appear at the output of a circuit because different
paths exhibit different propagation delays. Hazards occur in combinational circuits, where they may
cause a temporary false output value. When this condition occurs in asynchronous sequential circuits, it
may result in a transition to a wrong stable state. Steps must be taken to eliminate this effect.
9 Difference between fundamental mode circuits and pulse-mode circuits. (Dec 2013)
Fundamental Mode Circuit
(i) The input variables change only when the circuit is stable.
(ii) Only one input variable can change at a given time
(iii) Inputs are levels and not pulses.
(ii) The width of the pulses is long enough for the circuit to respond to the input.
(iii) The pulse width must not be so long that it is still present after the new state is reached and cause a
faulty change of state.(iv) No two pulses should arrive at the input lines simultaneously.
14 Why is the pulse mode operation of asynchronous sequential circuits not very popular?
Because of the input variable pulse width restrictions, pulse mode circuits are difficult to design. For
this reason the pulse mode operation of asynchronous sequential circuits is not very popular.
Dynamic hazard causes the output to change three or more times when it should change from 1 to 0 or
from 0 to 1
16 What is ASM chart?
i) Algorithmetic State Machine (ASM) chart is a special type of flow chart suitable for describing the
sequential operation in a digital system. (ii)A state machine is another term for a sequential circuit,
which is the basic structure of a digital system. (iii) The ASM chart is composed of three basic
elements: the state box, the decision box and the conditional box.
The merger diagram is a graph in which each state is represented by a dot placed along the
circumference of a circle. Lines are drawn between any two corresponding dots that form a compatible
pair. All possible compatibles can be obtained from the merger diagram by observing the geometrical
patterns in which states are connected to each other.
In the multiple row assignment each state in the original flow table is replaced by two or more
combinations of state variables. The state assignment map shows the multiple row assignment that can
be used with any four- row flow table.
The maximal compatible is a group of compatibles that contains all the possible combinations of
compatible states. The maximal compatible can be obtained from a merger diagram.
The method of making race free assignment by adding extra rows in the flow table is sometimes
referred to as Shared Row method
PART - B
1 Discuss in detail the procedure for reducing the flow table with an example. (May/June 2016)
2 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. (May/June 2016)
3 Design a serial adder using a full adder and a flip flop. (Nov./Dec. 2015)
5 Analyze the following clocked sequential circuit and obtain the state equations and state diagram.
(Nov./Dec. 2015)
6 (a) Explain the Race- free state assignment procedure.
(b) Reduce the number of states in the following state diagram. Tabulated the reduced state table and
Draw the reduced state diagram. (May 2015)
a a b 00
b c d 00
c a d 00
d e f 01
e a f 01
f g f 01
g a f 01
8 Implement the switching function F=∑m(1,3,5,7,8,9,14,15) by a static hazard free two level AND OR
gate network. (June 2014)
9 A synchronous sequential circuit is described by the following excitation and output function
Y=X1X2+(X1+X2)Y, Z=Y. (i) Draw the logic diagram of the circuit. (ii) derive the transition table and
output map.(iii) describe the behavior of the circuit. (Dec 2014)
10 Design a synchronous counter using JK-flip flop to count the following sequence 7, 4, 3, 15, 0, 7, (Dec
2014)
11 Design an asynchronous sequential circuit with inputs x1 and x2 and one output z. Initially and at any
time if both the inputs are 0, output is equal to 0. When x1 or x2 becomes 1, z becomes 1. When second
input also becomes 1, z=0; the output stays at 0 until circuit goes back to initial state.
(Dec 2013)
12 (i) What is the objective of state assignment in asynchronous circuit? Explain race-free state assignment
with an example. (Dec2013)
ii) Discuss about static, dynamic and essential hazards in asynchronous sequential circuits.
13 Give the design Procedure for asynchronous sequential circuit. (Dec 2012)
RAM – Memory Decoding – Error Detection and Correction - ROM - Programmable Logic Array –
Programmable Array Logic – Sequential Programmable Devices
PART - B
S. Question
N
o
1 Draw the waveforms showing static 1 hazard? (May/June 2016)
Programmable Logic Array (PLA) is a programmable logic device with a Programmable AND array
and a programmable OR array. PLA can be used to implement complex logic circuits. It uses
conventional symbol. It is more flexible than PAL
4 How to detect double error and correct single error? (May 2015)
Single Bit Error Correction using parity bits. Double Bit Error Detection, which is somehow related to
the even or odd parity of the bit sequence.
EEPROM PROM
Reusable the programmable One time programmable
Electrically erasable Not erasable
Programmed in place (no need to remove Using external for programming device
from circuit board)
Volatile memory means that any storage memory location can be accessed to read or write operation.
RAM is volatile memory, so data will lost if power is switched off.
An ASIC (application-specific integrated circuit) is a microchip designed for a special application, such
as a particular kind of transmission protocol or a hand-held computer.
Architecture: PAL
(i) PLA (Programmable Logic Array) is a Programmable Logic device with a programmable AND
array and Programmable OR array.(ii) PLA can be used to implement complex logic circuits.(iii) It is
more economical to use PLA rather than PROM to implement logic circuits that have more number of
don‘t care conditions in order to reduce number of gates.
(i)COST: In EEPROM, the erasing and programming of an EEPROM can be done in circuit.(Without
using separate UV light source and special PROM programmer unit). Because of this on-chip support
circuitry the EEPROM is available with more cost.
(ii) DENSITY: The high level integration of the EEPROM occupies more space. For example, 1-Mbit
EEPROM requires about twice as much silicon as a 1-Mbit EPROM.
Memory Memory
2 Placing the EPROM chip under a Applying electrical signal erases the stored
18 How many data inputs, data outputs and address inputs are needed for a 1024 *4 ROM?
No. of data inputs and outputs = 4*1024 =210
No of address inputs = 10
19 Describe the basic functions of ROM and RAM.
ROM: Read only memory is used to store information permanently. The information cannot be altered.
RAM: Random Access Memory is used to store information. The information can be read form it and
the new information can be written into the memory.
PLDs: Programmable logic devices are the special type of IC‘s used by the USE and are programmed
before use Different type of logic functions can be implemented using a single programmed IC chip of
PLD‘s. PLD s can be reprogrammed because these are based on re-.writable memory technologies fuse
links are used to programmed the PLD b the user according to the type of PLD to be manufactured.
28 A seven bit Hamming code is received as 1111110. What is the correct code?
C1=1 C2=1 C4=1
PART - B
1 Implement the switching functions.
Z1=ab’d’e+a’b’c’d’e’+bc+de
Z2=a’c’e
Z3=bc+de+c’d’e’+bd
F1=AB′+AC+A′BC′
F2=(AC+BC)′
4 Implement the following function using PAL F1 (A, B, C) = Σ(1, 2, 4, 6); F2 (A, B, C) = Σ(0, 1, 6, 7);
F3 (A, B, C) = Σ(1, 2, 3, 5, 7). (Nov/Dec
2015)
5 . Design a combinational circuit using ROM that accepts a three bit binary number and outputs a binary
number and outputs a binary number equal to the square of the input number. (Nov/Dec
2015)
7 Design a BCD to Excess-3 code converter and implement using suitable PLA. (Nov/Dec2014)
10 The following messages have been coded in the even parity hamming code and transmitted through a
noisy Channel. Decode the messages, assuming that at most a single error has occurred in each code
word.