Convert Gray Code 101011 Into Its Binary Equivalent. Gray Code: 1 0 1 0 1 1 Binary Code: 1 1 0 0 1 0
Convert Gray Code 101011 Into Its Binary Equivalent. Gray Code: 1 0 1 0 1 1 Binary Code: 1 1 0 0 1 0
UNIT-1
1. Define binary logic?
Binary logic consists of binary variables and logical operations. The variables are Designated by the
alphabets such as A, B, C, x, y, z, etc., with each variable having only two distinct values: 1 and 0. There
are three basic logic operations: AND, OR, and NOT.
De Morgan suggested two theorems that form important part of Boolean algebra. They are,
1) The complement of a product is equal to the sum of the complements. (AB)' = A' + B
2) The complement of a sum term is equal to the product of the complements. (A + B)' = A'B'
Duality property states that every algebraic expression deducible from the postulates Of Boolean algebra
remains valid if the operators and identity elements are interchanged. If the dual of an algebraic
expression is desired, we simply interchange OR and AND operators and replace 1's by 0's and 0's by
1's.
i) Karnaug map ii) Tabular method or Quine Mc-Cluskey method iii) Variable entered map technique
i) Generally it is limited to six variable map (i.e) more then six variable involving expression are not
reduced.
ii) The map method is restricted in its capability since they are useful for simplifying only Boolean
expression represented in standard form
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
A karnaugh map or k map is a pictorial form of truth table, in which the map diagram is made up
of squares, with each squares representing one minterm of the function.
In some logic circuits certain input conditions never occur, therefore the Corresponding output never
appears. In such cases the output level is not defined, it can be either high or low. These output levels are
indicated by ‘X’ or‘d’ in the truth tables and are called don’t care conditions or incompletely specified
functions
If a min term is covered by only one prime implicant, the prime implicant is said to be essential
A prime implicant is a product term obtained by combining the maximum possible number of adjacent
squares in the map.? Logic gates are the basic elements that make up a digital system. The electronic
gate is a circuit that is able to operate on a number of binary inputs in order to perform a particular
logical function.
Bipolar Unipolar Saturated Non Saturated PMOS NMOS CMOS RTL Schottky TTL ECL DTL I I
C TTL
What are its advantages? The NAND and NOR gates are called as the universal gates. These gates are
used to perform any type of logic application
Totem pole outputs cannot be connected together because such a connection might produce
excessive current and may result in damage to the devices.
Y = (A + B) (A + C’) (B' + C’) Y = (A + B) (A + C’) (B' + C’) = (AA' + AC +A'B +BC) (B' + C') [A.A'
= 0] = (AC + A'B + BC) (B' + C’) = AB'C + ACC' + A'BB' + A'BC' + BB'C + BCC' = AB'C + A'BC'
19. Reduce A (A + B) A (A + B) = AA + AB = A (1 + B) [1 + B = 1] = A.
20. Reduce A'B'C' + A'BC' + A'BC A'B'C' + A'BC' + A'BC = A'C'(B' + B) + A'B'C = A'C' + A'BC [A +
A' = 1] = A'(C' + BC) = A'(C' + B) [A + A'B = A + B]
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
PART-B
1. a) Simplify the following expressions and implement them with two level
NAND gate circuits:
i) AB, +ABD+ ABD, + A,CD +AtsC ii) BO+BCD+AB,CD [ Nov 2017]
2. b) Simplify the following expressions in (1) sum of the products and (2)
products of the sums
3. (i) x'z' * y'z' * yz,* xy ii) AC+BD+A’CD+ABCD iii) (A'+ 3'+ D') (A + B'+ C') (A'+
B + D) (B + C'+ D') [Nov 2017]
4. Using tabulation method simplify the boolean
function:F(w,x,y,z)=∑(1,2,3,5,9,12,14,15 ) which has the don’t care
conditionsd(4,8,11) [May 2017]
5. Simplify the following expression
y=m1+m3+m4+m7+m8+m9+m10+m11+m12+m14 using(i)K map (i)
tabulation method.
6. (i) State and prove DeMorgan’s theorem. [May 2016]
(ii) Describe with short notes on negative and positive logic.[May 2016]
10.
ii)XYZ+XYZ’+X’Y
iii)AB’+ABD+ABD’+A’C’D’+A’BC’
iv)BD+BCD’+AB’C’D’
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
Unit-II
When logic gates are connected together to produce a specified output for certain specified combinations
of input variables, with no storage involved, the resulting circuit is called combinational logic.
The problem definition determines the number of available input variables & required O/P variables.
Assigning letter symbols to I/O variables Obtain simplified Boolean expression for each O/P. Obtain the
logic diagram.
The logic circuit that performs the addition of two bits is a half adder. The circuit that performs
the addition of three bits is a full adder
4. Define Decoder?
A decoder is a multiple - input multiple output logic circuit that converts coded inputs into coded
outputs where the input and output codes are different.
A decoder is a combinational circuit that converts binary information from n input lines to a maximum of
2n out puts lines.
6. Define Encoder?
An encoder has 2n input lines and n output lines. In encoder the output lines generate the binary code
corresponding to the input value.
A priority encoder is an encoder circuit that includes the priority function. In priority encoder, if 2 or more
inputs are equal to 1 at the same time, the input having the highest priority will take precedence.
8. Define multiplexer?
Multiplexer is a digital switch. If allows digital information from several sources to be routed onto a
single output line
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
A comparator is a special combinational circuit designed primarily to compare the relative magnitude
of two binary numbers.
The sum and carry outputs of any stage cannot be produced until the input carry occurs, this leads to
a time delay in the addition process. This delay is knows as carry propagation delay.
A BCD adder is a circuit that adds two BCD Digits and produces a sum digit also in BCD
seven segment displays are used to give a visual indication of the outputs states.
A parity bit is used for the purpose of detecting errors during transmission of binary
The circuits that generators the parity in the transmitter is called a parity generators.
The circuits that checks the parity in the receiver is called a parity checker.
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
Part B - 16 Marks
22 With neat diagram explain BCD subtractor using 9’s and 10’s complement method [Nov 2009]
23 Design a BCD to 7 segment decoder. [May 2009]
24 With a suitable block diagram explain the operation of BCD adder. [May 2009]
25 Draw and explain the working of a carry-look ahead adder. [Dec 2008]
Construct a full adder circuit and write a HDL program module for the same. [May 2008/ May 2007]
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
UNIT-III
The sequential circuits are classified on the basis of timing of their signals into two types. They
are Synchronous sequential circuit. 2) Asynchronous sequential circuit.
The basic unit for storage is flip flop. A flip-flop maintains its output state either at 1 or 0
until directed by an input signal to change its state.
There are various types of flip flops. Some of them are mentioned below they are, _RS flip-flop
_SR flip-flop _D flip-flop _JK flip-flop _T flip-flop
When R input is low and S input is high the Q output of flip-flop is set. When R input is high and S
input is low the Q output of flip-flop is reset. When both the inputs R and S are low the output does
not change When both the inputs R and S are high the output is unpredictable.
When R input is low and S input is high the Q output of flip-flop is set. When R input is high and S input
is low the Q output of flip-flop is reset. When both the inputs R and S are low the output does not
change. When both the inputs R and S are high the output is unpredictable.
In D flip-flop during the occurrence of clock pulse if D=1, the output Q is set and if D=0, the output is
reset.
When K input is low and J input is high the Q output of flip-flop is set. When K input is high and J input
is low the Q output of flip-flop is reset. When both the inputs K and J are low the output does not change
When both the inputs K and J are high it is possible to set or reset the flip-flop (ie) the output toggle on
the next positive clock edge.
T flip-flop is also known as Toggle flip-flop. When T=0 there is no change in the output. When T=1
the output switch to the complement state (ie) the output toggles.
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
In JK flip-flop output is fed back to the input. Therefore change in the output results change in the input.
Due to this in the positive half of the clock pulse if both J and K are high then output
toggles continuously. This condition is called ‘race around condition’.
The problem of race around condition can solved by edge triggering flip flop. The term edge triggering
means that the flip-flop changes state either at the positive edge or negative edge of the clock pulse and
it is sensitive to its inputs only at this transition of the clock.
A master-slave flip-flop consists of two flip-flops where one circuit serves as a master and the other as a
slave.
A register is a group of flip-flops flip-flop can store one bit information. So an n-bit register has a
group of n flip-flops and is capable of storing any binary information/number containing n-bits.
The binary information in a register can be moved from stage to stage within the register or into or out
of the register upon application of clock pulses. This type of bit movement or shifting is essential for
certain arithmetic and logic operations used in microprocessors. This gives rise to group of registers
called shift registers.
There are five types. They are, _Serial In Serial Out Shift Register _Serial In Parallel Out Shift Register
_Parallel In Serial Out Shift Register _Parallel In Parallel Out Shift Register _Bidirectional Shift Register
In sequential circuits the output variables dependent not only on the present input variables but they also
depend up on the past history of these input variables.
Combinational circuits Sequential circuits Memory unit is not required Memory unity is required Parallel
adder is a combinational circuit Serial adder is a sequential circuit
The information stored in the memory elements at any given time define.s the present state of the
sequential circuit.
The present state and the external inputs determine the outputs and the next state of the sequential circuit.
PART B
6. Design of 4-bit BCD counter with the logic diagram. [Nov 2016]
7. Implement the Boolean function with a 4x1 mux and external gates.connect inputs A and B to the
selection lines.The input requirements for the four data lines will be a function of variables C and D
these values are obtained by expressing F as a function of variables C and D for each of the four
cases when AB=00,01,10,11.The functions may have to be implemented
F(A,B,C,D)=∑(1,2,5,7,8,10,11,13,15).
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
[May 2016]
14. Design a sequential circuit using RS flip flops the state table given below using minimum number
of flip flops. [Nov 2012]
Present state Next state Output
a a b 0 0
b c d 0 0
c a d 0 0
d e f 0 1
e a f 0 1
f a f 0 1
15. (i) Draw a 4-bit ripple counter with D flip flops. (6)
(ii) Write the HDL for the above circuit. (10) [May 2012]
16. Design the sequential circuit specified by the state diagram using JK flip flop. [May 2012]
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
20. What is the aim of state reduction? Reduce the given state diagram and prove that the both state diagrams
are equal.
[May 2010]
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
UNIT-IV
Final stable state depends on the order in which the state variable changes -race condition is harmful
4. What are the steps for the design of asynchronous sequential circuit?
Construction of primitive flow table -reduction of flow table -state assignment is made -realization of
primitive flow table
5. What is hazard?
The merger graph is defined as follows. It contains the same number of vertices as the state table
contains states. A line drawn between the two state vertices indicates each compatible state pair. It two
states are incompatible no connecting line is drawn.
The states are said to be incompatible if no line is drawn in between them. If implied states
are incompatible, they are crossed & the corresponding line is ignored
It is defined as a flow table which has exactly one stable state for each row in the table. The design
process begins with the construction of primitive flow table. 34. What are the types of
asynchronous circuits? 1. Fundamental mode circuits 2. Pulse mode circuits
13. What are races?
When 2 or more binary state variables change their value in response to a change in an input variable,
race condition occurs in an asynchronous sequential circuit. In case of unequal delays, a race
condition may cause the state variables to change in an unpredictable manner.
The delay elements provide a short term memory for the sequential circuit. The present state and next
state variables in asynchronous sequential circuits are called secondary variables.
A pulse mode asynchronous machine has two inputs. If 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. Write down the state table for the machine
.
PART - B
1. Explain about the designing of Asynchronous sequential circuits with example. [Nov 2017/May
2017]
2. What ate Hazards and its types ? How can you d.esign a hazard free circuit, explain with example ?
[Nov 2017]
3. Explain the different types of hazards in asynchronous combinational and sequential circuits [May
2017]
4. Discuss in detail the procedure for reducing the flow table with an example . [May 2016]
5. Design an asynchronous sequential circuit with 2 inputs X and Y and with one output Z Wherever
Y is 1,inout 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 2016]
6. Explain the steps for the design of asynchronous sequential circuits. [Nov 2016]
7. Explain the types of hazards in combinational and sequential circuits and also demonstrate a
hazard and its removal with example. . [Nov 2016]
8. Design a binary countr using TFF to count in the following sequences (i)
000,001,010,011,100,101,111,000 (ii) 000,100,111,010,011,000 [May 2016]
9. Design a modulo 5 synchronous counter using JK flipflop and construct its timing diagram. [May
2016]
10. Design a serial adder using full adder and flipflop [Nov 2015]
11. Implement the switching function F = ∑ m(1,3,5,7,8,9,14,15) by a static hazard free 2 level AND-
OR gate network. May 2013 & May 2014]]
12. Explain the types of hazards in digital circuits [May 2013]
13. Explain the steps for the design of asynchronous sequential circuits. [May 2013]
14. Write detailed notes on hazards in combinational circuits and sequential circuits [Nov 2012]
15. Write a detailed note on race free state assignment. [Nov 2012,Nov 2011]
16. Design an asynchronous sequential circuit that has 2 inputs X2 and X1 and one output Z.When
X1 =0,the output Z is 0.The first change in X2 that occurs while X1 is 1 will cause output Z to be
1.The output Z will remain 1 until X1 returns to0. [May 2012]
17. Find a circuit that has no static hazards and implements the Boolean function
i. F(A,B,C,D) = ∑m (1,3,5,7,8,9,14,15) [May 2012]
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
18. With suitable design example explain ASM chart. [Nov 2011]
19. Determine whether the following circuit has a static hazard or not,if yes,design a hazard free logic
for the same input and output relation.
[May 2011]
20. Find a static and dynamic hazard free realization for the following function using [Nov 2010]
(i) NAND gates (ii) NOR gates
21. With suitable example and diagram explain the hazards in combinational and sequential logic
circuits. [May 2010]
22. With necessary example and diagram explain the concept of reduction of state and flow tables.
[May 2010]
23. 13. (i)Design a comparator.
24. (ii)Design a non sequential ripple counter which will go through the states
i. 3,4,5,7,8,9,10,3,4………………..draw bush diagram also [Nov2009]
25. 14. (i)Design a parity checker.
26. (ii)Design a sequential circuit with JK flip-flop. [Nov2009]
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
UNIT-V
1. Explain ROM
A read only memory (ROM) is a device that includes both the decoder and the OR gates within a
single IC package. It consists of n input lines and m output lines. Each bit combination of the input
variables is called an address. Each bit combination that comes out of the output lines is called a word.
The number of distinct addresses possible with n input variables is 2n.
3. Explain PROM.
PROM (Programmable Read Only Memory) It allows user to store data or program. PROMs use the
fuses with material like nichrome and polycrystalline. The user can blow these fuses by passing around
20 to 50 mA of current for the period 5 to 20μs.The blowing of fuses is called programming
of ROM. The PROMs are one time programmable. Once programmed, the information is
stored permanent.
4. Explain EPROM.
EPROM(Erasable Programmable Read Only Memory) EPROM use MOS circuitry. They
store 1’s and 0’s as a packet of charge in a buried layer of the IC chip. We can erase the
stored data in the EPROMs by exposing the chip to ultraviolet light via its quartz window
for 15 to 20 minutes. It is not possible to erase selective information. The chip can be
reprogrammed.
5. Explain EEPROM.
EEPROM (Electrically Erasable Programmable Read Only Memory) EEPROM also use MOS
circuitry. Data is stored as charge or no charge on an insulated layer or an insulated floating gate
in the device. EEPROM allows selective erasing at the register level rather than erasing all the
information since the information can be changed by using electrical signals.
6. What is RAM?
Random Access Memory. Read and write operations can be carried out. 7. Define ROM
A read only memory is a device that includes both the decoder and the OR gates within a single
IC package
In a ROM, each bit combination of the input variable is called on address. Each bit combination
that comes out of the output lines is called a word.
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
PROM is Programmable Read Only Memory. It consists of a set of fixed AND gates
Connected to a decoder and a programmable OR array.
PLA is Programmable Logic Array (PLA). The PLA is a PLD that consists of a
Programmable AND array and a programmable OR array.
PAL is Programmable Array Logic. PAL consists of a programmable AND array and a fixed
OR array with output logic
III SEM CSE & IT CS 8351 DIGITAL PRINCIPLES AND SYSTEM DESIGN
PART –B
1. Explain about error detection and correction using hamming codes. [Nov 2017]
2. Explain in detail about the Programmable LogicArray, programmable Array Iogic. [Nov
2017]
3. Design a 16bit RAM array (4*4 RAM) and explain its operation. [May
2017]
4. Explain the following a.ASIC b.FPGA [May
2017]
Draw a neat sketch showing implementation of Z1=ab’d’e + a’b’c’e + bc + de,Z2=
a’c’e,Z3=bc+de+c’d’e+bd and Z4=a”c”e + ce using a 5*8*4 PLA [May
2016]
B(x,y,z) = ∑m(0,1,6,7)
C(x,y,z) = ∑m(2,6)
6. Discuss the concept of working and applications of semiconductor memories. [Nov 2016]
7. Implement the following function using PLA [May 2014 & May 2012]
A(x,y,z) = ∑m(1,2,4,6)
B(x,y,z) = ∑m(0,1,6,7)
C(x,y,z) = ∑m(2,6)
8. 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 codeword.
(i) 1001001
(ii) 0111001
(iii) 1110110
(iv) 0011011
[May
2014]
Z2= a’c’e’
Z3= bc+de+c’d’e’+bd
(ii) Implement them in the PLA using no more than four terms. [May
2010]
14. Explain the operation of DRAM with suitable diagram. Also explain how Read/Write
operations are performed in DRAM with timing diagram.
[May 2009]
15. Write the comparison between PROM,PLA and PAL {Nov 2009]
16. What is micro programmed control unit? Explain the different types of ROM. (8)[May 2008]
17. Using ROM, implement a combinational circuit which accepts a 3 bit number and generates
an output binary number equal to the square of the input number. [Dec
2007]
18. What are the advantages of PLA over ROM?Explain the internal construction of PLA. [May
2007]
19. A combinational circuit is defined by the functions
F1(A,B,C)=Σ(3,5,6,7)