Documente Academic
Documente Profesional
Documente Cultură
3 1 0 4
AIM
To introduce the fundamentals of Digital Circuits, combinational and sequential circuit.
OBJECTIVES
i.
To study various number systems and to simplify the mathematical
expressions
using Boolean functions simple problems.
ii.
To study implementation of combinational circuits
iii.
To study the design of various synchronous and asynchronous circuits.
iv.
To expose the students to various memory devices.
v.
To introduce digital simulation techniques for development of application
oriented logic circuit.
1. BOOLEAN ALGEBRA AND COMBINATIONAL CIRCUITS
9
Boolean algebra: De-Morgans theorem, switching functions and simplification using
K-maps & Quine McCluskey method, Design of adder, subtractor, comparators, code
converters, encoders, decoders, multiplexers and demultiplexers.
2. SYNCHRONOUS SEQUENTIAL CIRCUITS
9
Flip flops - SR, D, JK and T. Analysis of synchronous sequential circuits; design of
synchronous sequential circuits Counters, state diagram; state reduction; state
assignment.
3. ASYNCHRONOUS SEQUENCTIAL CIRCUIT
9
Analysis of asynchronous sequential machines, state assignment, asynchronous
design problem.
4. PROGRAMMABLE LOGIC DEVICES, MEMORY AND LOGIC FAMILIES 9
Memories: ROM, PROM, EPROM, PLA, PLD, FPGA, digital logic families: TTL,
ECL, CMOS.
5. VHDL
9
RTL Design combinational logic Types Operators Packages Sequential
circuit Sub programs Test benches. (Examples: adders, counters, flipflops, FSM,
Multiplexers / Demltiplexers).
L = 45 T = 15 Total = 60
TEXT BOOKS
1. Raj Kamal, Digital systems-Principles and Design, Pearson education 2 nd edition,
2007
2. M. Morris Mano, Digital Design, Pearson Education, 2006.
3. John M.Yarbrough, Digital Logic, Application & Design, Thomson, 2002.
REFERENCES
1. Charles H.Roth, Fundamentals Logic Design, Jaico Publishing, IV edition, 2002.
2. Floyd and Jain, Digital Fundamentals, 8th edition, Pearson Education, 2003.
3.John F.Wakerly, Digital Design Principles and Practice, 3rd edition, Pearson
Education, 2002.
4. Tocci, Digital Systems : Principles and aopplications, 8th Edition Pearson Education.
UNIT I
6 4 2 7 6 = (64276)8
2. Find the 1s and 2s complement of 00000000 (NOV 2007)
1s complement of 00000000=11111111
2s complement =1s+1=11111111+1=100000000
3. Express the following switching circuit in binary logic notation.(NOV 2007)
INPUT
A B C
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
OUTPUT
Y=(A+B).C
0
1
0
1
0
1
0
1
Y X XY
X+XY
X + XY = X+Y
5. What is the difference between half adder and full adder? (Nov 2007)
Half Adder
Full Adder
The logic circuit which performs The logic circuit which performs
the arithmetic sum of two bits is the arithmetic sum of three bits is
called a half adder.
called a full adder.
OUTPUT
Sum
Carry
10. Give an application each for a multiplexer and a De multiplexer. (NOV 2008)
Multiplexer circuit are used for data selection and data routing.
De multiplexers are used in Binary to Decimal decoder and it is used in
DATA transmission system with error detection.
11. State Demorgans theorem. (June 2009)
1. AB = A + B. The complement of a product is equal to the sum of the
complement.
2. A + B = A . B. The complement of a sum is equal to the product of the
complement.
1. Proof: A+B = A + B
A
A.B
A+B
2. Proof : A+B = A . B
A
A+B
A.B
12. Briefly explain the streamlined method of converting binary to decimal number
with an example. (June 2009)
Example : (11011)2 = ( )10
1 X 24 + 1 X 23 + 0 X 2 2 + 1 X 2 1 + 1 X 2 0
16 + 8 + 0
+ 2 + 1
= (27) 10
13. Give the Gray code for the binary number (1111)2 (June 2009)
(1111)2 = (1010)Gray
Digit
Decimal Hexa
16
10
67B
17
11
---------------18
12
823
19
13
---------------Ans. : (823)H
20
14
19. Express the Boolean function F = XY + XY as a product of max term. (June
2010)
X.Y X
XY XY XY+XY
0 0
0 Max term
0 1
1 0
0 Max term
1
1
F = M(0,2)
20. Differentiate combinational and sequential circuits (June 2010)
Combinational circuit
Sequential Circuit
Ans.: (11F)H
Decimal
15
16
17
18
19
20
21
22
Hexa
F
10
11
12
13
14
15
16
UNIT- II
SYNCHRONOUS SEQUENTIAL CIRCUITS
1. What is meant by triggering and what is edge triggering? (Nov 2007)
Triggering of a flip flop means changing the state of the output of flip flop
(from 0 to 1 for +ve logic and from 1 to 0 for ve logic ) by giving a clock pulse and an
input.
Another type of flip flop that synchronizes the state changes during a clock pulse
transition is edge triggered flip flop. In this type of flip flop output transitioNoccur at a
specific level of the clock pulse.
2. What is race condition? (Nov 2008)
In the JK latch, the output is feedback to the input, and therefore change in the
output results change in the input. Due to this in the positive half of the clock pulse if J
and K are both high then output toggles continuously. This condition is known as race
around condition.
3. Draw the truth table for a NOR gate RS Flip flop. (June 2007)
S
0
0
0
0
1
1
1
1
R
0
0
1
1
0
0
1
1
Qn
0
1
0
1
0
1
0
1
Qn+1
0
1
0
0
1
1
X
X
State
No change (NC)
Reset
Set
Intermediate
Present state
Qn
0
1
0
1
Next state
Q n+1
0
0
1
1
Flip-flop inputs
J
0
X
1
X
K
X
1
X
0
7.
8. A counter has 14 stable states 0000 through 1101. If the input frequency is 50
Hz. What will be the output frequency? (June 2010)
50 KHz
-------------14
3.57 KHz
9. Define sequential circuit and what are the types of sequential circuits?
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.
Synchronous sequential circuits
Asynchronous sequential circuits
10. Define flip-flop
Flip - flop is a sequential device that normally samples its inputs and changes its
outputs only at times determined by clocking signal.
11. List various types of flip-flop
S.R. latch
D latch
Clocked J.K. flip-flop
T flip-flop
12. Draw the logic diagram for SR latch using two NOR gates.
13. The following wave forms are applied to the inputs of SR latch.
Determine the Q waveform Assume initially Q = 1
Synchronous counter
Asynchronous Counter
26. Define propagation Delay
A propagation delay is the time required to change the output after application of
the input.
the
clock
34. Can you use a 7492 counter IC as a natural binary mod-12 counter? Justify
your answer.
It is not possible. The divide by 6 circuit of this counter does not follow natural
binary sequence.
35. How will you use the 7490 IC to design a symmetrical divide by 10 frequency
divider?
The divide by 5 circuit followed by divide by 2 circuit will give symmetrical
output.
36. What is the drawback of SR Flip flop and how it is minimized?
Drawbacks
of SR Flip flop is that it has intermediate state when SR = 11 and problem can be
minimized by providing complemented inputs for S & R.
37. How does a JK Flip flop differ from the SR Flip Flop in its basic operation?
In JK Flip flop when both the inputs are logic 1 the output is complement of
previous output. However, in case of SR flip flop when both the inputs are 1, the output
is intermediate.
38. Mention the application of counter.
Digital counter is useful and versatile device and it is found in many applications
such as digital clock and frequency counter.
39. How many Flip flops are required to build a binary counter that counts from 0
to 1023?
Number of flip flops required:
2n > 1023 + 1
2n > 1024
N = 10
Therefore 10 flip flops are required to build a binary counter that counts from 0 to
1023.
UNIT- III
ASYNCHRONOUS SEQUENTIAL CIRCUIT
1. What is the difference between serial and parallel transfer? What type of
register is used in each case? (Nov 2007)
Shift register are used for storage and transfer of data in a digital system.
Serial transfer
Serial shift right then out
Serial shift left then out
Parallel Transfer
Parallel shift in
Parallel shift out
The register used for serial transfer is serial in serial out shift register.
The register used for parallel transfer is parallel in parallel out shift register.
2. Define Hazard. (Nov 2008)
The unwanted switching transients that appear at the output of a circuit are called
Hazards. The hazard cause the circuit to malfunction. The main cause of hazards is
the different propagation delays at different paths.
3. What is a Mealey machine? Give an example. (Nov 2008)
When the output of the sequential network depends on both the present state of flip
flop and on the inputs the sequential circuit is called as Mealey machine. Its input
changes may affect the output of the circuit.
4. What is Saturation delay time? Explain. (June 2009)
TTL logic family are based on the saturation mode. In the saturation mode, the
transistor takes some time to come out of the saturation to switch to the cut off
mode. Since the transistors do not go into saturation, these families do not have
saturation delay time for switching operation.
5. What is a race condition? How it can be eliminated? (June 2009)
In a JK latch when J& K are both high, then the output toggles continuously and
this condition is called race condition.
This can be eliminated when an edge triggered or pulse triggered JK flip flop is
used. In this flip flop the output changes only at the positive edge or a negative
edge of the clock.
6. What is essential hazard? Give an example. (June 2009)
Partition the states into subsets such that all states in the same subsets are 3
- equivalent.
13. Define state table and total state.
For the design of sequential counters we have to relate present states and next
states. The table which represents the relationship between present states and next states
is called state table.
The combination of level signals that appear at the inputs and the outputs of the
delays is called the total state of the circuit.
14. What are the steps for the design of asynchronous sequential circuit?
Construction of a primitive flow table from the problem statement.
Primitive flow table is reduced by eliminating redundant states by using
state reduction.
State assignment is made
The primitive flow table is realized using appropriate logic elements.
15. Define primitive flow table.
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.
16. Give the comparison between state Assignment Synchronous circuits and state
assignment asynchronous circuit.
In synchronous circuit, the state assignments are made with the objective of
circuit reduction. In asynchronous circuits, the objective of state assignment is to avoid
critical races.
17. Define critical race and non critical race?
If the final stable state depends on the order in which the state variable changes,
the race condition is harmful and it is called a critical race.
If the final stable state that the circuit reaches does not depend on the order in
which the state variable changes, the race condition is not harmful and it is called a non
critical race.
18. What is a cycle?
A cycle occurs when an asynchronous circuit makes a transition through a series
of unstable states. If a cycle does not contain a stable state, the circuit will go from one
unstable to stable to another, until the inputs are changed.
19. List the different techniques used for state assignment
Shared row state assignment
One hot state assignment.
UNIT IV
PROGRAMMABLE LOGIC DEVICES, MEMORY AND LOGIC FAMILIES
1. What is a Volatile memory? Give example. (Nov 2007)
Volatile memory losses the content when the computer or hardware device losses
power.
Example : SRAM & DRAM
2. Which is faster TTL or ECL? Which requires more power to operate? (Nov
2007)
TTL logic is faster than ECL, since it uses multi emitter transistors and every
emitter is a diode this logic eliminates the use of diodes. ECL requires more power
to operate.
3. Define fan in & fan out. (Nov 2008)
Fan-in
It is said to be the number of inputs in a digital logic gate.
Example: 2 input NOR had fan-in of 2.
Fan-out
It is said to be the number of inputs in a digital logic gate.
Example: 2 input NOR has Fan-in of 2.
MOS Transistors
1. It work at low frequency.
2. Input and output impedance
matching is not possible at high
frequency.
3. Low state power dissipation.
4. Low cost.
7. Compare volatile data storage with non volatile data storage. (June 2009)
Volatile Data Storage
1. Volatile data storage losses the stored
information when the power is turned
off.
3. When tPHL and tPLH are not equal, the larger value is considered as propagation
delay.
4. The shorter the propagation delay, the higher the speed of the circuit and vice
versa.
10. What is open collector output TTL? Where is it used? (June 2010)
When the collector terminal of a transistor is kept open without any pull up
transistor the arrangement is called open collector output.
The output is taken directly from the open collector terminal of a transistor at the
output.
But, a gate with open collector will not work properly until an external resistor is
connected.
11. Explain FPGA. Give an example of such device. (June 2010).
Field programmable Gate Arrays (FPGA) provide the next generation in
the programmable logic devices. The word field in the name refers to the ability
of the gate arrays to be programmed for a specific function by the user instead of
by the manufacturer of the device. The word array is used to indicate a series of
columns and rows of gates that can be programmed by the end user.
As compared to standard gate arrays, the field programmable gate arrays
are larger devices. The basic cell structure for FPGA is some what complicated
than the basic cell structure of standard gate array. The programmable logic
blocks of FPGAs are called configurable logic blocks (CLBs).
Example: XILINUX 3000 & XILINUX 4000
12. List basic types of programmable logic devices.
Read only memory
Programmable logic Array
Programmable Array Logic
13. What are the types of ROM?
Masked ROM.
Programmable Read only Memory
Erasable Programmable Read only memory.
Electrically Erasable Programmable Read only Memory.
16. Define Speed Power Product and what is the other name for speed Power
product?
The Speed Power Product is defined as the product of Propagation delay and
average power dissipation. Its unit is Joules / Seconds
The other name for speed power product is Figure of merit.
17. For a certain IC family, propagation delay is 10ns with average power
dissipation
of 6 mW. What is the speed power product?
Solution:
SPP = propagation delay x average power dissipation.
= 10 ns x 6 mW
= 60 pico joules (pJ)
18. Give the comparison between Totem pole and Open collector Output
configuration.
Totem Pole
1. Output stage consists of pull up
transistor, diode resistor and pull down
transistor.
2. External pull up resistor is not
required.
3. Output of two gates can not be tied
together.
4. Operating speed is high.
Open Collector
Output stage consists of only pull down
transistor
External pull up resistor is required for
proper operation of gate.
Output of two gates can be tied together
using wired AND technique.
Operating speed is low.
19. What are the three types of output configuration in TTL family?
It is the maximum voltage level at a logic circuit output in the logical 0 state
under defined load conditions.
26. Define High level input current and Low level input current.
It is the current that flows into an input when a specified high-level voltage is
applied to that input.
It is the current that flows into an input when a specified low-level voltage is
applied to that input.
27. Define High level output current and low level output current.
It is the current that flows from an output in the logical 1 state under specified
load conditions.
It is the current that flows from an output in the logical 0 state under specified
load conditions.
28. List the characteristics of digital Ics
i)
ii)
iii)
iv)
v)
propagation delay
power dissipation
Fan-in
Fan-out
Noise margin
29. Define Flash memory and what is the other name for flash memory?
Flash memory is a type of constantly powered nonvolatile memory that can be
erased and reprogrammed in units of memory called blocks.
The other name is Flash RAM. But Flash memory is not useful as random access
memory because RAM needs to be addressable at the byte level.
30. Compare between PROM, PLA and PAL.
PROM
PLA
1.
AND array is fixed Both AND and OR
and OR array is arrays
are
programmable.
programmable.
2.
Cheaper and simple to Costliest and complex
use.
than PAL and PROMs.
3.
All minterms are AND array can be
decoded.
programmed to get
desired minterms.
PAL
OR array is fixed and
AND
array
is
programmable.
Cheaper and Simpler.
AND array can be
programmed to get
desired minterms.
4.
Only
Boolean Any Boolean functions
functions in standard in SOP form can be
SOP form can be implemented using PLA.
implemented
using
PROM.
UNIT V
VHDL
1. Function 2. Procedure
Only one output is possible in function.
Many outputs possible using procedure.
7. Write the syntax for FOR/GENERATE statement.
Generate_label: for identifier in range generate
[begin]
concurrent statements;
end generate[generate_label];
8. Compare signal and variable.
Variables must be declared within the process in which they are used and
are local to that process. Signals must be declared outside of a process. Signals
declared at the start of an architecture can be used anywhere within that
architecture.
9. List the syntax of WAIT UNTIL statement with example.
Wait until Boolean_ expression ;
Wait until a = b;
10. Define sensitivity list for process statement.
A process have the form
Process ( sensitivity- list)
Begin
Sequential-statements
End process;
11. Compare behavioral level, data flow level and structural level of describing a
digital system in VHDL?
Behavioral level
Structural Level
else i3;
13. Give the program structure of VHDL.
entity entityname is
---- declaring input ,output variables
---end entityname;
architecture architecturename of entityname is
---- signal declaration
begin
--------end
architecturename;
entity
architecture
----------entity
architecture
module1
entity
architecture
moduleN