EC3352 Digital System Design
EC3352 Digital System Design
EC3352 Digital System Design
PART – A
UNIT - I
DIGITAL FUNDAMENTALS
ii. The complement of a sum term is equal to the product of the complements.
(A + B)' = A'B'
= (A′.B′).C′
[(A+B)+C] ′ = A′B′C′
5. Convert 0.35 to equivalent hexadecimal number.
(0.35)10 = (0.599)16
6. Convert Y=A+BC′+AB+A′BC into canonical form.
Given Y=A+BC′+AB+A′BC
Y=A(B+B′)(C+C′)+(A+A′)BC′+AB(C+C′)+A′BC
Y=ABC+ABC′+AB′C+AB′C′+ABC′+A′BC′+ABC+ABC′+A′BC
Y=ABC+ABC′+AB′C+AB′C′+A′BC′+A′BC
A sum term containing all the variables of the function in either complemented or
uncomplemented form is called a max term.
8. Prove that the logical sum of all min terms of a Boolean function of 2 variables is 1.
Consider two variables as A and B. For two variables A and B minterms are:
A′B′,A′B,AB′,AB. The logical sum of these minterms are given by
F= A′B′+A′B+AB′+AB
= A′(B′+B)+A(B′+B) (B′+B=1)
= A′(1)+A(1) (A′+A=1)
F=1
Hence it is to be proved.
9. Show that a positive logic NAND gate is a negative logic NOR gate.
Truth table for positive logic NAND gate and negative logic NOR gates are same and
hence a positive logic NAND gate is negative logic NOR gate.
10. Simplify the following Boolean Expression to a minimum number of literals.
(BC′+A′D)(AB′+CD′)
F=(BC′+A′D)(AB′+CD′)
=BC′AB′+BC′CD′+A′DAB′+A′DCD′ (A.A′=0)
= AB B′C′+BCC′D′+AA′ B′D+A′CDD′
F=0
F=x′+xy+xz′+xy′z′
= x′+x(y+z′+y′z′) (A+A′B=A+B)
= x′+y+z′+y′z′
= x′+y+z′(1+y′) (1+A′=1)
F = x′+y+z′
12. Implement the given function using NAND gates F(x,y,z)= Σm(0,6).
F(x,y,z)=x′y′z′+xyz′
= W′XZ′+W′XYZ+WX+XY′Z
=X(W′Z′+W′YZ+W+Y′Z)
= X(W′Z′+W+Z(Y′+W′Y))
= X(W′Z′+W+Z(Y′+ Y )( Y′+W′))
= X(W′Z′+W+Z( Y′+W′))
= X(W′Z′+W+ZY′+W′Z)
= X(W′(Z′+Z)+W+ZY′)
+W+ZY′)
= X(1+ZY′)=X.1
F =X
UNIT - 2
COMBINATIONAL CIRCUIT DESIGN
Difference = A′B+AB′=A⊕B
Borrow = A′B
3 What is an 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.
4 List few applications of multiplexer.
Data Selector.
Implement combinational logic circuit.
Time multiplexing systems
Frequency multiplexing systems.
D/A and A/D converter
Data acquisition systems.
5 Design a half subtractor using basic gates.
Difference=A′B+AB′=A⊕B
Borrow=A′B
Demultiplexer Decoder
It has n inputs
1 data input
Definition 2^n outputs
2^n outputs
It has n control inputs
9 Give the logic expression for sum and carry in full adder circuit.
SUM = (A⊕B)⊕CIN
CARRY = AB+BCIN+A CIN
10 Give examples for combinational circuit.
i. Adders
ii. Subtractors
iii. Multiplexers
iv. Demultiplexers
v. Encoders
vi. Decoders
14. Realize the Boolean function using appropriate multiplexer F(A,B,C)= Σ (0,1,3,7)
It is slower
parallel
adder:
Parallel adder uses registers with parallel load capacity
It is faster
Time required for addition does not depend on number of bits
Excluding the registers, the parallel adder is a purely combinational circuit
16. Construct a two-4-bit parallel adder/subtractor using Full Adders and XOR
gates.
17. Convert a two-to-four line decoder with enable input to 1X4 Demultiplexer
1. Mention any two differences between the edge triggering and level
triggering.
Level Triggering:
1) The input signal is sampled when the clock signal is either HIGH or LOW.
2) It is sensitive to Glitches.
Example: Latch.
Edge Triggering:
1) The input signal is sampled at the RISING EDGE or FALLING EDGE of the
clock signal.
2) It is not-sensitive to Glitches.
Example: Flipflop.
Decades, with additional decoding and control logic, give the equivalent of a
divide-by N counter system, where N can be made equal to any number.
Application:
Microprocessor.
Traffic light controller.
Street light controller.
c) In Moore machines, more logic may be necessary to decode state into outputs
– more gate delays after.
1. In this type of counter flipflop are connected in such a way that output of
first flip-flop drives the clock for next flip-flop.
Synchronous counter:
1. In this type there is no connection between output of first flip-flop and
clock input of the next flip-flop.
2. All the flip-flop are clocked simultaneously.
3. Design involves complex logic circuit as number of states increases.
When the input to the JK flip-flop is j=1 and k=1, the race around condition occurs,
i.e it occurs when the time period of the clock pulse is greater than the propagation
delay of the flip flop.
the output changes or toggles in a single clock period. If it toggles even number of
times the output is same but if it toggles odd number of times then the output is
complimented.
To avoid race around condition we cant make the clock pulse smaller than
the propagation delay so we use
12. A 4-bit binary ripple counter is operated with clock frequency of 1KHz. What is
the output frequency of its third Flip flop?
The output frequency of third flip-flop
is: ½3 = 1/8KHz.
14. Design a 3-bit ring counter and find the mod of the designed counter.
15. Define latches.
Latch is a simple memory element, which consists of a pair of logic gates with their
inputs and outputs inter connected in a feedback arrangement, which permits a single
bit to be stored.
In synchronous circuits the input are pulses (or levels and pulses) with certain
restrictions on pulse width and circuit propagation delay. Therefore synchronous
circuits can be divided into clocked sequential circuits and uncklocked or pulsed
sequential circuits.
In a clocked sequential circuit which has flip-flops or, in some instances, gated
latches, for its memory elements there is a (synchronizing) periodic clock connected
to the clock inputs of all the memory elements of the circuit, to synchronize all
internal changes of state
UNIT- 4
A circuit which has no hazard like static-0-hazard and static-1-hazard is called hazard
free digital circuit.
The state table representation of a sequential circuit consists of three sections labelled
present state, next state and output. The present state designates the state of flip-flops
before the occurrence of a clock pulse. The next state shows the states of flip-flops
after the clock pulse, and the output section lists the value of the output variables
during the present state.
The unwanted switching transients (glitches) that may appear at the output of a circuit
are called Hazards.
A state diagram is a type of diagram used in computer science and related fields
to describe the behaviour of systems. State diagrams require that the system
described is composed of a finite number of states; sometimes, this is indeed the
case, while at other times this is a reasonable abstraction. Many forms of state
diagrams exist, which differ slightly and have different semantics.
The unwanted switching transients (glitches) that may appear at the output of a
circuit are called Hazards.
Static-0-Hazard
Static-1-Hazard
UNIT - 5
MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
The memory expansion can be achieved in two ways: by expanding word size and
expanding memory capacity.
Limitations:
1. Memory capacity upto 16Mbytes.
Static RAM:
Access time is less.
Fast operation.
Dynamic Ram
It consumes less power.
Cost is low.
PLA:
Both AND and OR arrays are programmable and Complex
Costlier than PAL
PAL:
AND arrays are programmable OR arrays are fixed
Cheaper and Simpler
Data outputs are the logic functions and the address lines are the logic function
inputs.
When an input (or address) is presented, the value stored in the specified memory
location appears at the data outputs.
Each data output represents the correct value for its logic function
4. Compare Dynamic RAM with Static RAM.
Code converters
PROM
PLA
PAL
GAL
low and fixed (two gate) propagation delays (typically down to 5 ns),
simple,
low-cost (free),
Design tools.
9. What is PAL?
PAL is programmable array logic, PAL consists of a programmable AND array and a
fixed OR array with output logic.
Access time is the maximum specified time within which a valid new data is put on
the data bus after an address is applied.
Cycle time is the minimum time for which an address must be held stable on the
address bus in read cycle.
non-volatile memory
13. Draw the logic diagram of a static RAM cell and Bipolar cell.
The memory which cannot hold the data when power is turned off is known as
volatile memory.
The memory which can hold the data when power is turned off is known as non-
volatile memory
Higher speed.
16. Draw an active-high tri-state buffer and write its truth table.
0 X Z
1 0 0
1 1 1
b. Because of this features a larger number of three state gate output can be
connected with wires to form a common line without endangering loading
effects.