Summer 2022 _ Df
Summer 2022 _ Df
Q1 (A) List out various logic families. Also list characteristics of digital IC
(3M)
ANS
z
aa
Aw
ut
gr
Ja
Characteristics of Digital IC
1. Threshold Voltage
It is defined as that voltage at the input of a gate switch causes
a change in state of output from one logic level to other
2. Propagation Delay
𝑡 +𝑡
Propagation Delay : tp = 1 2
2
3. Fan in
ANS
Signal
A signal is defined as any physical or virtual quantity that varies with
time or space or any other independent variables
Graphically, independent variables represented by horizontal axis of X
z
– axis and depend variable is represented by vertical axis or y – axis
aa
Aw
ut
gr
independent variables
Types of Signals
1. Single Variable Signal
It depends on single independent variable. It either varies
linearly or non – linearly depending on expression of signal
Example :
S(x) = x + 5
S(x) = x2 + 5 where x is variable
S(t) = cos(ωt + ϴ) where t is variable
2. Two Variable Signal
A two variable signal varies with change in two independent
variables
Example
S(x, y) = 2x + 5y
ANS
a) F(A, B, C, D) = ∑(𝟏, 𝟑, 𝟔)
3 variables = 3 – 1 = 2 22 = 4 input supply require
z
aa
Aw
ut
gr
b) F(A, B, C) = ∏(𝟐, 𝟑, 𝟓)
Ja
ANS
1 s complement of 1101 is
0 0 1 0
+ 1
0 0 1 1
Adding
0 0 1 1
+0 0 1 1
1 0 1 0
1s complement of 1010 = 0101
0 1 0 1
z
+
0 1 1 0
1 aa
Aw
2s complement : 0110
ANS
gr
base 4
Ja
4 250 2
4 62 2
4 15 3
3 3
Fractional part = 0.5 × 4 = 2
Ans : (3322.2)4
base 8
8 250 2
8 31 7
3 3
Fractional part = 0.5 × 8 = 4
Ans : (372.4)8
ANS
Truth Table
Decimal 8 4 2 1 BCD
Digit A B C D W X Y Z
0 0 0 0 0 0 0 0 0 0
7 1 0 1 1 1 0 0 0 1
6 2 0 1 1 0 0 0 1 0
5 3 0 1 0 1 0 0 1 1
4 4 0 1 0 0 0 1 0 0
11 5 1 0 1 1 0 1 0 1
10 6 1 0 1 0 0 1 1 0
z
9 7 1 0 0 aa 1 0 1 1 1
8 8 1 0 0 0 1 0 0 0
15 9 1 1 1 1 1 0 0 1
Aw
Y = CI D + CDI Z = CI D + D
Z=D
z
aa
Aw
ut
gr
Ja
ANS
1. AND Gate
z
aa
Aw
Boolean Expression : Y = A. B
ut
2. OR Gate
gr
Boolean Expression : Y = A + B
z
aa
Aw
ut
gr
̅
Boolean Expression : Y = 𝑨
Ja
4. NAND Gate
This basic logic gate is combination of AND & NOT gates
z
aa
Aw
ut
gr
ANS
z
It is used in calculators, computers, It is used in multiple bit addition,
digital measuring devices etc aa
digital processor etc
Aw
ANS
gr
c) OR gate
Logic circuit for OR gates from NAND gate is shown in figure ( ).
z
aa
Aw
ut
gr
Ja
d) NOR gate
NOR gate can be made by inverting output of OR gate
z
aa
Aw
ut
gr
Ja
f) EX – NOR gate
z
aa
Aw
Truth Table
ut
gr
Ja
Y1 = A1A0 ̅̅̅̅
𝑩𝟎 + A0̅̅̅̅
𝑩𝟏 ̅̅̅̅
𝑩𝟎 + A1 ̅̅̅̅
𝑩𝟏
For Y2 (A = B) :
z
aa
Aw
ut
gr
Ja
For Y3 (A < B)
Y3 = ̅̅
𝑨̅̅𝟎 B1 B0 + ̅̅
𝑨̅̅𝟏 B1 + ̅̅
𝑨̅̅𝟏 ̅̅
𝑨̅̅𝟎 B0
ANS
ANS
4 – bit binary parallel adder
z
aa
4 bit parallel adder is designed using 4 Full Adder : FA0, FA1, FA2, FA3
Aw
Full Adder FA0 adds A0, B0 along with carry Cin generate sum S0 &
carry bit C1 & this carry bits connected to FA1
FA1 accepts this carry C1 & adds with its inputs A1 & B1 to generate
ut
This process continues till last full adder FA ‘n’ accepts to carry bit
Ja
Cin & adds with its input An & Bn to generate final output along with
last carry bit Cout
ANS
Minterm
Complimented or uncomplimentary form of k variable product term
is called the minterm. It means did the mean term is the product
term and the variables are its factors
Variables are in the complemented or uncomplimentary form
z
3 0 1 aa 1 ̅ 𝑩𝑪
𝑨
4 1 0 0 A𝑩̅𝑪̅
5 1 0 1 A𝑩̅𝑪
Aw
6 1 1 0 AB𝑪 ̅
7 1 1 1 ABC
ut
Maxterm
gr
ANS
z
Sequential Circuit Combinational Circuit
aa
In this memory element is also In this only logic gates are used.
Aw
used in addition to logic gates No memory element is used
In output at any instant is Output at any instant depends
dependent also on past condition only on input conditions at that
ut
ANS
The adder carry propagation delay while performing other arithmetic
operations like multiplication & division as it uses several adder or
subtraction steps
A carry look – ahead adder reduces propagation delay by introducing
more complex hardware
z
Truth Table
aa
Aw
ut
gr
Ja
ANS
J – K Flip Flop
In RS FF condition S = R = 1 is prohibited because state of output. This
is limitation of SR FF
In JK FF this limitation is removed this means that condition J = K = 1
is not prohibited
z
aa
When both J & K are at 0 level both the gates A & B are disabled
Aw
output of both gates is 0. So both S & R are also level so there is no
effect of clock signal that means that if clock is 0 level or 1 level FF
remains in level state
When J = 0 and K = 1 , state A is disabled so output so input is 0. At
ut
But if would have been when J = 0 and K = 0 gate would not have
enabled & flip flop would have remained in reset state only. In short,
FF is not in reset state when J = 0 and K = 1 resets when clock
becomes 1. It remains in reset state if it is already in reset state
Truth Table
Qn J K Qn+1
z
0 0 0 0
0
0
0
1
1
0
aa 0
1
Aw
0 1 1 1
1 0 0 1
1 0 1 0
ut
1 1 0 1
1 1 1 0
gr
Ja
̅
Qn+1 = QnJ + Qn 𝑲
ANS
Latches are basics storage elements set operate with signal levels.
Latches constructed by clock transition are Flip – Flops
Latches are local sensitive
SR Latch
They are also known as preset & clear latch. The SR latch forms
basic building blocks of all either types of flip – flops
Q QI State
1 0 Set
0 1 Reset
z
Circuit Diagram
aa
Aw
Case 1 : S = R = 1
ut
ANS
Following are two possible types of Triggering that are used in sequential
circuit
1. Level Triggering
2. Edge Triggering
1) Level Triggering
There are two levels namely Logic High & Logic Low in clock signal.
Following are two types of level triggering
a) Positive Level Triggering
b) Negative Level Triggering
Positive Level Triggering
z
If sequential circuit is operated with clock signal when it is in
aa
logic high, then that type of triggering is known as positive
level triggering
Aw
It is highlighted in above figure
ut
triggering
It is highlighted in above figure
2) Edge Triggering
There are two types of transitions that occurs in clock signal. That
means, clock signal transitions either from logic low to logic high
or logic high to logic low
Following are two types of edge triggering based on transitions of
clock signal
a) Positive Edge Triggering
b) Negative Edge Triggering
z
aa
OR Q4(C) What is race around condition? How to solve it? (7M)
Aw
then output Q will toggle as long as the clock remains high which
gr
Solution
1) Clock pulse width should be less than propagation delay i.e Tp < Δt
2) Delayed line is connected in series with the feedback connection
3) Edge Triggered JK FF is used instead of level triggered JK FF
4) JK Master Slave FF is used
z
aa
Aw
Working
When the clock pulse goes high the slave isolated J & K inputs can
ut
affect the state of the system. The slave flip flops isolated when the
gr
master flip flop to the slave flip flop and output is obtained
As the master flip flop is positive triggered inter response first and
the slave later
The master goes to the K– input of slave. When both inputs J = 0 and
K = 1 and also QI = 1. In this case the slave copies the master as clock
forces slave to reset
The master goes to the J input of slave. When both J = 1 and K = 0,
Q = 1. The clock is set to the negative transition of clock
There is a state of toggle when both J = 1 and K = 1 on negative
transition of clock slave toggles and master toggles on positive
transition of clock
Both the flip flop are disabled when both J = 0 and K = 0 and Q is
unchanged
ANS
z
aa
Aw
A digital to analog (DAC) consists of number of binary inputs and
single output
In general, number of binary inputs of DAC will be power of two
ut
Types of DACs
1) Weighted Resistor DAC
gr
2) R – 2R ladder DAC
Ja
ANS
SRAM DRAM
Constructed of tiny capacitors that Constructed of circuit similar to D
leak electricity flip – flop
Requires a recharge every few Holds its constraints as long as
milliseconds to maintains its data power is available
Inexpensive Expensive
Slower than DRAM Faster than SRAM
Can store memory bits per chip Cannot store memory bits per chip
Uses less power Uses more power
Generate less heat Generates more heat
ANS
ROM
ROM stands for Read – Only Memory. It is non volatile memory that
is used to store important information which is used to operate
system
As its name refers to read only memory we can only read programs &
data stored on it
It is also primary memory unit of computer system
It contains some electronic fuses that can be programmed for piece
of specific information
The information stored in ROM in binary format. It is also known as
z
permanent memory aa
Features
ROM is non volatile memory
Aw
Types of ROM
1) PROM : Programmable Read Only Memory
Ja
ANS
Applications of Shift Register
Shift Register is used as parallel to serial converter which converts
parallel data into serial data. It is utilized at transmitter section after
analog to digital converter ADC block
z
known as counter aa
The counter is one of widest applications flip – flop based on clock
pulse, output of counter contains predefined state. The number of
Aw
1) Up Counter
gr
2) Down Counter
Types of Counter
Ja
1) Asynchronous Counter
2) Synchronous Counter
1. Asynchronous Counter
Asynchronous Counter is asynchronous sequencing circuit. Its
main feature is that clock pulse terminals of interval. Flip – Flop
are not all connected. Therefore, flipping time of each flip – flop
is not uniform & its output may produce interfaces glitches, but
its circuit is simple
ANS
A DAC is an electronic circuit that takes in digital data as input &
transforms it into output analog signal
It is actually output voltage proportional to binary code given at DAC
input & then used to drive various circuits
z
Binary Weighted Resistors DAC
aa
It is type of DAC that transforms particular binary code into an
equivalent analog signals. If binary code given at input terminal is
Aw
altered continuously, output will change as well. This type consists of
weighted resistors whose values are kept as multiples of two &
inverted summing operational amplifier which results in output signal
ut
Working
The configuration uses summing amplifier whose output
voltage is proportional to sum of voltages applied at input
Circuit
If resistors with precise values are connected to each of input
voltage to scale gain, it starts working as DAC. All input volts are
connected in same reference voltage. So formula becomes
z
aa
Aw
ut
gr
Ja