Академический Документы
Профессиональный Документы
Культура Документы
Name_____________________________________________________
Roll No.___________________________________________________
Branch____________________________________________________
Batch_____________________________________________________
Printed by:
ABC PRESS • A-21/12, Naraina Indl. Area, Ph-II, New Delhi - 110 028
Tel: 011-41418676 • E-mail: mailabcpress@gmail.com • Web: abcpress.co.in
iv Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook v
Marks distribution
Continuous Evaluation (35 Marks) End semester exam 5.
(20 Marks) +
Mini Project (15 Marks) 6.
Each experiment shall be evaluated for 10 marks and End semester practical evaluation
at the end of the semester proportional marks shall be and Mini Project evaluation.
awarded out of 35. 7.
Following is the breakup of 10 marks for each
experiment: 8.
• 4 Marks: Observation & conduct of experiment.
Teacher may ask one or two questions while 9.
checking observations
• 3 Marks: For report writing
• 3 Marks: For the 15 minutes quiz to be 10.
conducted in every lab.
11.
12.
13.
14.
xii Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 1
Lab Report
(To be completed by next lab turn)
0
Q13. TTL operates with ________ volt supply.
Q14. A CMOS IC operating from a 3-volt supply will consume ________ power than a TTL IC.
Q15. What does the small bubble on the output of the NAND gate logic symbol mean?
Q16. What are the pin numbers of the outputs of the gates in a 7432 IC?
Q17. What is the circuit number of the IC that contains four two-input AND gates in standard TTL?
Q18. The output of an exclusive-NOR gate is HIGH if ________.
Q19. The logic gate that will have HIGH or "1" at its output when any one (or more) of its inputs is
HIGH is a(n) ________.
Q20. For the circuit shown below, the output F is given by
4 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 5
3. NOT Gate
Pin Diagrams
1. AND Gate
2. OR Gate
4. NAND Gate
6 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 7
5. NOR Gate
Draw symbols and write logical expression of all the gates.
6. EX- OR Gate
7. EX-NOR Gate
Paste print outs of the Schematic diagram and the required waveforms. Observation Table (Truth Table)
Objective
Design Ex-OR gate using minimum number of universal gates and validate practically and through
simulation its operation.
Introduction to the experiment
Exclusive-OR Gates are used mainly to build circuits that perform arithmetic operations and
calculations. Half-Adders and Full adders are built with Ex-OR gates which are the building blocks
for Adders in calculators and computers. One of its most commonly used applications is as a basic
logic comparator which produces a logic “1” output when its two input bits are not equal. Because of
this, the exclusive-OR gate has an inequality status being known as an odd function.
In order to design adders and comparators, XOR gate can be reconstructed directly using AND, OR
and NOT gates. However, this approach requires five gates of three different kinds. An XOR gate
could be made from four NAND or five NOR gates in the configurations shown below. In fact, both
NAND and NOR gates are so-called "universal gates," and any logical function can be constructed
from either NAND logic or NOR logic alone.
In this experiment the students are expected to
• Realize Ex-OR gate using minimum number of NAND gates only / NOR gates only.
• Validate the operation of both the circuits practically and through simulation.
Self-Study Material
1. Digital Logic and Computer Design by Morris Mano, Pearson
2. Fundamentals of Digital Electronics by Anand Kumar, PHI
3. lms.ncuindia.edu
4. http://cs.stackexchange.com/questions/43342/how-to-construct-xor-gate-using-only-4-nand-
gate
5. http://nptel.ac.in/courses/117106086/1
6. http://etech.atu.edu/student.html
7. http://basicelectronics.iitkgp.ernet.in/view2.php?link=T004&courseId=C001
Q8 Derive the Boolean expression for the logic circuit shown below:
Procedure
Circuit Diagrams Paste print outs of the Schematic diagram and the required waveforms
Ex-OR using 4 NAND gates only.
Circuit Diagrams
Lab Report Half Adder Circuit
(To be completed by next lab turn)
Apparatus Required
Software Required:
Procedure
Paste print outs of the Schematic diagram and the required waveforms Observation Table (Truth Table)
Half Adder
Full Adder
Objective
Design and realize Binary to Gray code converter using K-map method and validate its
performance practically and through simulation.
Introduction to the experiment
BINARY CODE A binary code represents text or computer processor instructions using the binary
number system's two binary digits, 0 and 1. The binary code assigns a bit string to each symbol or
instruction. For example, a binary string of eight binary digits (bits) can represent any of 256 possible
values and can therefore correspond to a variety of different symbols, letters or instructions. Decimal
number can be converted to binary code by dividing it by 2 and keeping the remainder aside and by
taking it from bottom to top.
(34)10 = (100010)2
GRAY CODE after Frank Gray, is a binary numeral system where two successive values differ
in only one bit. The advantage of the Gray code over the straight binary number sequence is
that only one bit in the code group changes ion going from one number to the next.
Conversion from Binary number to gray code
K-map Simplification
Paste print outs of the Schematic diagram and the required waveforms Observation Table
Objective
Validate practically the characteristics of seven segment display using decoder driver IC7447.
Introduction to the experiment
A standard 7-segment LED display generally has 8 input connections, one for each LED segment and
one that acts as a common terminal for all the internal display segments. Some single displays have
also have an additional input pin to display a decimal point in their lower right or left hand corner.
In electronics there are two important types of 7-segment LED digital display.
1. The Common Cathode Display (CCD) – In the common cathode display, all the cathode
connections of the LED’s are joined together to logic “0” or ground. The individual segments
are illuminated by application of a “HIGH”, logic “1” signal to the individual Anode terminals.
2. The Common Anode Display (CAD) – In the common anode display, all the anode connections
of the LED’s are joined together to logic “1” and the individual segments are illuminated by
connecting the individual Cathode terminals to a “LOW”, logic “0” signal.
In this experiment the students are expected to
• Study the characteristics of decoder IC 7447.
• Validate the operation of the circuit practically.
Self-Study Material
1. Digital Logic and Computer Design by Morris Mano, Pearson
2. Fundamentals of Digital Electronics by Anand Kumar, PHI
3. lms.ncuindia.edu
4. http://www.electronics-tutorials.ws/combination/comb_6.html
5. http://etech.atu.edu/student.html
6. http://basicelectronics.iitkgp.ernet.in/view2.php?link=T004&courseId=C001
7. http://ece.uncc.edu/sites/ece.uncc.edu/files/media/labs/2255/2-BCD%20to%20seven%20
segment%20decoder.pdf
Suggested Preparatory Question Bank
Q1 What is the function of LT pin?
Q2 What is the function of RBI pin?
Q3 What is the function of BI pin?
Q4 What do you mean by Common anode and common cathode connection?
Q5 Why do we need to perform all the tests before providing all the inputs
Q6 What are 7 segment display? What are its applications?
Quiz Marks (Max. Marks 3) _____________________________
Q7 Portable digital devices, such as watches or solar-powered calculators, use ___ displays
Faculty signature with Date ____________________ Total Marks _______________________ because of their extremely low power consumption.
34 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 35
Q8 The BCD input into the 7447 decoder IC is ___ causing the 7-segment LED display to read Lab Report
decimal ___ (the number 8 on the display is not the correct output and only shows that this is a
7-segment display). (To be completed by next lab turn)
Apparatus Required
Software Required:
Procedure
Q9 The seven-segment display (without the use of colored filters) that emits a reddish glow is the
___ type.
Q10 The 7447 IC is a BCD-to-7-segment decoder which can drive LED displays and has active ___
(HIGH, LOW) input with active ___ (HIGH, LOW) outputs.
Pin Diagram
BCD to 7-segment decoder (IC7447)
K-Map Simplification
Circuit Diagram
Objective
Design and implement 4-bit adder and subtractor using IC7483.
Introduction to the experiment
A binary adder/subtractor is a digital circuit that produces the arithmetic sum or difference of two
binary numbers. A binary adder can be constructed with full adders connected in cascade with the
output carry from each adder connected to the next full adder in the chain. Subtraction of two
numbers (A-B) can be performed by taking 2’s complement of B and adding it with A. Thus binary
adder can be used to perform subtraction of two binary numbers if few changes are made. In case of
binary adder, input carry is set to be 0 and all the input bits are given as it is. Whereas for binary
subtractor, in order to give 2’s complement of B we consider input carry equal to 1 and the bits of B
is complemented which means 1’s complement of B is taken and it is added with 1 to give its 2’s
complement value. The block diagram of 4-bit binary adder/subtractor is as shown in figure. The
circuit performs addition when M = 0 & subtraction when M = 1. IC 7483 is an integrated circuit
which performs addition of two 4-bit binary numbers.
In this experiment the students are expected to
• Design and implement 4-bit adder/subtractor using IC 7483.
• Validate the operation of the circuits practically.
Self-Study Material
1. Digital Logic and Computer Design by Morris Mano, Pearson
2. Fundamentals of Digital Electronics by Anand Kumar, PHI
3. lms.ncuindia.edu
4. http://www.pradipyadav.com/2012/08/objective-to-design-and-implement-of-
4_18.html#.V3qST_l97IU’
5. http://etech.atu.edu/student.html
6. http://basicelectronics.iitkgp.ernet.in/view2.php?link=T004&courseId=C001
7. https://dca13d00a675f255e4d75145ccca85da6f5067de.googledrive.com/host/
0B3G21MbFQqR7RUxWTWs5a0JJelk/ece/3/DIGITAL%20ELECTRONICS%20
LAB/Ex.7.pdf
Apparatus Required
Software Required:
Procedure
44 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 45
Circuit Diagram (Adder with 7483 IC) Implement 4 bit adder/subtractor using a control input (Block Diagram)
Self-Study Material
Experiment No.: 7 1. Digital Logic and Computer Design by Morris Mano, Pearson
2. Fundamentals of Digital Electronics by Anand Kumar, PHI
Date of Performance _________________ 3. lms.ncuindia.edu
4. http://site.iugaza.edu.ps/wmousa/files/Lab7_Multiplexers-and-Demultiplexers1.pdf
Objective 5. http://ux.brookdalecc.edu/fac/engtech/andy/engi251/labs/lab10.pdf
Validate practically and through simulation the operation of Multiplexer and Demultiplexer. 6. https://www.unf.edu/~sahuja/cda3101/lab5.PDF
7. http://etech.atu.edu/student.html
Introduction to the experiment
8. http://basicelectronics.iitkgp.ernet.in/view2.php?link=T004&courseId=C001
Multiplexers: In electronics, a multiplexer (or mux) is a device that selects one of several analog or
digital input signals and forwards the selected input into a single line. A multiplexer of 2n inputs has n Suggested Preparatory Question Bank
select lines, which are used to select the input line to send to the output. A 2n -to-1 multiplexer sends Q1 For the device shown here, let all D inputs be LOW, both S inputs be HIGH, and the input be
one of 2n input lines to a single output line. LOW. What is the status of the Y output?
Q2 How many data select lines are required for selecting eight inputs?
Q3 The device shown here is most likely a ________.
Demultiplexers: The Demultiplexer is a combinational logic circuit that performs the reverse
operation of Multiplexer. It has only one input, n selectors and 2n outputs. Depending on the
combination of the select lines, one of the outputs will be selected to take the state of the input.
Q9 In the TTL circuit in the figure, S2 to S0 are select lines and X7 to X0 are input lines. S0 and
X0 are LSBs. The output Y is
Q19 How many 1:16 demultiplexers are required to obtain 1:1024 demultiplexers?
Q20 An 8 – to – 1 multiplexer is used to implement a logical function Y as shown in the figure. The
output Y is given by
Q10 Can we use an 8:1 MUX without any additional circuitry to obtain All functions of 3 variables
and some but not all of 4 variables?
Q11 The Boolean function f implemented in the figure using two input multiplexers is
52 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 53
Apparatus Required
Software Required:
Procedure
8:1 Multiplexer circuit diagram Paste print outs of schematic diagram and the required waveforms.
Marks for experiment performance (Max. Marks 4) Faculty signature with Date ____________________ Total Marks _______________________
58 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 59
Q4. What is latch? What is the difference between latch and flip flop?
Experiment No.: 8 Q5. An S-R flip flop can be converted into a T flip flop by connecting __ to Q’ and___ to Q
Q6. How does the JK FF differ from an SR FF in its basic equation?
Date of Performance _________________ Q7. What is the condition on JK FF to work as D FF?
Q8. What is race around condition? How do you eliminate it?
Objective Q9. Mention any two differences between the edge triggering and level triggering.
Validate practically and through simulation (a) S-R and D Latches (b) J-K and T flip flops using IC Q10. Draw a NAND based logic diagram of Master Slave JK FF.
7476. Q11. Convert Transparent flip flop into a JK flip flop.
Introduction to the experiment Q12. Design a JK latch with Preset and Clear options, using NAND gates only.
SR Latch Q13. No. of Flip Flops required for storing n-bit of information is ___________.
Latch is a device, which can store a binary bit indefinitely (as long power is delivered to the circuit), Q14. In a JK flip flop, if J=K=1, its Q output will be _____________when a clock pulse is applied.
until directed by input signal to switch state. Clocked S-R latch can be constructed using either i) two Q15. Preset and clear inputs are used in a flip flop for making Q = __________ and ____________
AND and two NOR gates or ii) using four NAND gates. It has two inputs S(Set) and R (Reset) in respectively.
addition to the clock signal. The outputs are Q and Qbar. Q16. In a T flip flop, the Q output will be ______________when T=0 and clock pulse is applied.
D Latch Q17. Compare combinational circuit and sequential circuit.
If we use only the middle two rows of the characteristics table of the SR Latch, we obtain a D type Q18. What is meant by present state and next state of a sequential circuit?
Latch. It has one input referred to as D input or data input. Q output of D Latch is equal to the input Q19. The present output Qn of an edge triggered JK flip-flop is logic ‘0’. If j = 1, then
applied. Thus, the transfer of data from the input to the output is delayed and hence the name the Qn+1 is_________.
delay Latch.
Q20. Draw the characteristics table and excitation table of T flip flop.
J-K Flip-flop
J-K Flip-flop is probably the most widely used and universal flip-flop. The two indeterminate state in
SR flip-flop are defined in J-k flip-flop.
In a J-K flip-flop if J = K =1, the resulting flip-flop is referred to as a T-type flip-flop. An S-R flip-
flop cannot be converted to a T-type flip-flop, since S = R = 1 is prohibited. T-flip-flop is called a
toggle flip-flop. Since output toggles when T = 1
Asynchronous inputs Preset and CLR over ride synchronous inputs in J-K flip-flop, J is set & K is for
clear, when J=K=1, the F/F switches to its complement state.
Self-Study Material
1. Digital Logic and Computer Design by Morris Mano, Pearson
2. Fundamentals of Digital Electronics by Anand Kumar, PHI
3. lms.ncuindia.edu
4. http://etech.atu.edu/student.html
5. http://basicelectronics.iitkgp.ernet.in/view2.php?link=T004&courseId=C001
6. https://old.uqu.edu.sa/files2/tiny_mce/plugins/filemanager/files/4281665/digital/
digital_design-__morris_mano-fifth_edition.pdf
Suggested Preparatory Question Bank
Q1. What is sequential circuit? Give some examples.
Q2. Compare Asynchronous and Synchronous sequential logic.
Q3. Make the characteristics table and write the characteristics equation of a D FF.
60 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 61
Apparatus Required
Software Required:
Procedure
Paste print out of the Schematic diagram and the required waveforms
Marks for experiment performance (Max. Marks 4)__________ Quiz Marks (Max. Marks 3) _____________________________
Faculty signature with Date Total Marks Faculty signature with Date ____________________ Total Marks _______________________
66 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 67
5. http://etech.atu.edu/student.html
Experiment No.: 9 6. http://basicelectronics.iitkgp.ernet.in/view2.php?link=T004&courseId=C001
7. https://old.uqu.edu.sa/files2/tiny_mce/plugins/filemanager/files/4281665/digital/digital_design-
Date of Performance _________________ __morris_mano-fifth_edition.pdf
Suggested Preparatory Question Bank
Objective Q1. Define Universal Shift register.
Validate the operation of universal shift register using practically and through simulation. Validate Q2. What is the difference between spacial code and temporal code?
the operation of a Ring counter and a Johnson counter. Q3. Simplest registers only consists of ______________.
Introduction to the experiment Q4. Flip-flops in registers are:
74194 IC Universal shift register is designed to incorporate virtually all of the features a system a. present b. level triggered
designer may want in a shift register; they feature parallel inputs, parallel outputs, right-shift and left- c. edge triggered d. not present
shift serial inputs, operating-mode-control inputs, and a direct overriding clear line. Q5. What type of register would shift a complete binary number in one bit at a time and shift all the
stored bits out one bit at a time?
The 74194 IC contains four edge triggered D type Flip-flops and other combinational logic.
Signals supplied to the Select (S0, S1) inputs determines the type of operation, as shown in the Q6. What is meant by parallel-loading the register?
Function table. Q7. If all inputs are loaded simultaneously and output is loaded bit by bit, then what will be the
mode of operation for a shift register?
The register has four distinct modes of operation, namely: Parallel (broadside) load Shift right (in the
direction Q A toward Q D ) Shift left (in the direction Q D toward Q A ) Inhibit clock (do nothing) Q8. SIPO and SISO stand for ______________________and ______________________.
Synchronous parallel loading is accomplished by applying the four bits of data and taking both mode Q9. Twisted ring counter is another name for ____________________counter.
control inputs, S0 and S1, HIGH. The data is loaded into the associated flip-flops and appear at the
Q10. Purpose of using a shift register is_________________________________.
outputs after the positive transition of the clock input. During loading, serial data flow is inhibited.
Shift right is accomplished synchronously with the rising edge of the clock pulse when S0 is HIGH Q11. If the ring counter and Johnson counter are designed using ‘n’ flip-flops, how many states will
and S1 is LOW. Serial data for this mode is entered at the shift-right data input. When S0 is LOW each counter have?
and S1 is HIGH, data shifts left synchronously and new data is entered at the shift-left serial input. Q12. Design a 3 bit ring counter and find the mod of the designed counter.
Clocking of the flip-flop is inhibited when both mode control inputs are LOW. Q13. Draw the circuit diagram and timing waveforms of a four stage Johnson counter.
Ring Counter Q14. The minimum number of flip flops required to generate a sequence of 9 bits is ¬¬¬¬________.
If the output of the shift register is connected back to its input so that the output from the last flip- Q15. The maximum possible number of states in a clocked sequential circuit having 5 flip flops is
flop, QD becomes the input of the first flip-flop, DA. A closed loop circuit will be formed that ¬__________.
“recirculates” the same bit of DATA around a continuous loop for every state of its sequence, and this Q16. A 4 bit shift register, which shifts 1 bit to the right at every clock pulse, is initialized to values
is the principal operation of a Ring Counter. So a standard shift register can be converted to a ring 1000 for (Q0Q1Q2Q3). The D input is derived from Q0, Q2 and Q3 through two XOR gates as
counter by looping the output back to the input. shown in figure:
Johnson Counter
The Johnson Counter or Twisted Ring Counter, is another shift register with feedback exactly the
same as the standard Ring Counter above, except that this time the inverted output Q of the last flip-
flop is now connected back to the input D of the first flip-flop. The main advantage of this type of
counter is that it only needs half the number of flip-flops compared to the standard ring counter. So an
“n-stage” Johnson counter will circulate a single data bit giving sequence of 2n different states and
can therefore be considered as a “mod-2n counter”.
Self-Study Material
1. Digital Logic and Computer Design by Morris Mano, Pearson a. Write the 4 bit values (Q0Q1Q2Q3) after each clock pulse till the pattern (1000)
2. Fundamentals of Digital Electronics by Anand Kumar, PHI reappears on (Q0Q1Q2Q3).
b. To what values should the shift register be initialized so that the pattern (1001) occurs
3. lms.ncuindia.edu
after the first clock pulse?
4. http://nptel.ac.in/courses/117106086/1
68 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 69
Q17. Choose the correct one from among the alternatives A, B, C, D after matching an item from Lab Report
Group 1 with the most appropriate item in Group 2.
(To be completed by next lab turn)
Group 1 Group 2
P: Shift Register 1: Frequency division Write the following:
Q: Counter 2: Addressing in memory chips
Objective:
R: Decoder 3: Serial to Parallel data conversion
a. P – 3, Q – 2, R – 1 b. P – 3, Q – 1, R – 2
c. P – 2, Q – 1, R – 3 d. P – 1, Q – 2, R – 2
Q18. On the fifth clock pulse, a 4-bit Johnson sequence is Q0 = 0, Q1 = 1, Q2 = 1, and Q3 = 1. On Apparatus Required
the sixth clock pulse, the sequence is ________.
Q19. A bidirectional 4-bit shift register is storing the nibble 1101. Its input is HIGH. The nibble Software Required:
1011 is waiting to be entered on the serial data-input line. After three clock pulses, the shift
register is storing ________.
Procedure
Pin diagram Shift Register (IC 74194) Paste print out of the Schematic diagram and the required waveforms
Apparatus Required
Software Required:
Procedure
Paste print out of the Schematic diagram and the required waveforms Observation Table
Objective
Analyze the characterstics of propagation delay time, fan out and Noise Margin of the transistor –
transistor logic (TTL) family and Complementary Metal Oxide Semiconductor Logic (CMOS)
family.
Introduction to the experiment
Logic gates are classified not only by their logical functions, but also by their logical families. In any
implementation of a digital system, an understanding of a logic element's physical capabilities and
limitations, determined by its logic family, are critical to proper operation.
The logic family refers to the general physical realization of a logical element, such as the TTL,
emitter-coupled logic (ECL), or complementary metal-oxide semiconductor (CMOS) logic families.
Within each logic family are one or more logic series that have distinctive characteristics, relative to
other series within the same logic family. For example, in the TTL logic family, there are several
logic series: the 74 standard, 74L low-power, 74H high-speed, 74S standard Schottky, 74LS low-
power Schottky series, and 74ALS advanced low-power Schottky series.
TTL FAMILY
The TTL family was the most widely used logic family for several years, characterized by its
relatively high speed operation. However, it has now been largely replaced by CMOS logic. The
physical representation of the binary logic states in these families are high and low voltages.
Assuming positive logic, in the 74LS TTl family LOW (L) voltages in the range 0 V to 0.8 V are
considered to be logic 0, and HIGH (H) voltages in the range 2.0 V to 5.5 V are considered to be
logic 1.
CMOS FAMILY
CMOS logic is exemplified by its extremely low power consumption and high noise immunity.
Hence, it is prevalently used in devices demanding low power dissipation, such as digital
wristwatches and other battery powered devices, or in devices operated in noisy environments, such
as industrial plants. A wide variety of CMOS logic devices in the 4000 series are available.
Unlike TTL logic, CMOS logic requires two supply voltages, VDD and VSS. In typical logical designs,
VDD ranges from +3 V to +16 V. The other supply, VSS, is normally grounded. Also, the physical
representation of the binary states in CMOS logic is not entirely compatible with TTL logic. As a
consequence of CMOS's extremely high input impedance, the logic levels in CMOS systems are
essentially VDD and ground. If, for example, a 5 volt power supply is used, LOW typically ranges
from 0 to 0.01 V and HIGH from 4.99 to 5.0 V for CMOS outputs.
Self-Study Material
1. Digital Logic and Computer Design by Morris Mano, Pearson
Quiz Marks (Max. Marks 3) _____________________________ 2. Fundamentals of Digital Electronics by Anand Kumar, PHI
Faculty signature with Date ____________________ Total Marks _______________________ 3. lms.ncuindia.edu
4. http://etech.atu.edu/student.html
82 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 83
5. http://basicelectronics.iitkgp.ernet.in/view2.php?link=T004&courseId=C001 Lab Report
6. https://old.uqu.edu.sa/files2/tiny_mce/plugins/filemanager/files/4281665/digital/digital_design-
(To be completed by next lab turn)
__morris_mano-fifth_edition.pdf
Suggested Preparatory Question Bank Write the following:
Q1. The full forms of the abbreviations TTL and CMOS in reference to logic families are Objective:
______________________________________________________________________.
Q2. As compared to TTL, ECL has_______________________________________.
Q3. As compared to TTL, CMOS logic has______________________________.
Apparatus Required
Q4. Which logic family has the highest power dissipation per gate
a. ECL b. TTL c. CMOS d. PMOS
Q5. Advanced low power schottky is a part of Software Required:
a. ECL family b. CMOS family c. TTL family d. None of the above
Q6. The time needed for an output to change as the result of an input change is known as Procedure
___________________________.
Q7. A TTL totem pole circuit is designed so that the output transistors are
__________________________.
Q8. Low power consumption achieved by CMOS circuits is due to which construction
characteristic?
Q9. What is the standard TTL noise margin?
Q10. The problem of interfacing IC logic families that have different supply voltages (VCCs) can be
solved by using a_____________________________________.
Q11. What is meant by the fan-out of a logic gate?
Q12. The noise immunity of CMOS gates is typically ___________ of the supply voltage.
Q13. What is meant by the rise time of a waveform?
Q14. What is the cause of storage time in a bipolar transistor?
Q15. If power dissipation and propagation delay in a logic circuit are estimated to be 55mW and
20ns respectively, what will be its figure of merit?
Q16. Suppose that the digital IC family has a fan out of 6. It implies that the gate can supply the
current to _______ of same family.
Q17. Which type of unipolar logic family exhibits its usability for the applications requiring low
power consumption?
Q18. Which among the bipolar logic families is specifically adopted for high speed applications?
Q19. Assume that a particular IC has a supply voltage (Vcc) equal to +5 V and ICCH = 10 mA and
ICCL = 23 mA. What is the power dissipation for the chip?
Q20. The term buffer/driver signifies the ability to provide low output currents to drive light loads.
True/False.
b) What is the resulting truth table assuming positive logic? What logic function has been
realized?
c) What is the resulting truth table assuming negative logic? What logic function is realized
in this case?
b) On the plot s above illustrate graphically the procedure for determining the gates'
threshold voltages. What are the resulting threshold voltages?
c) Illustrate graphically the procedure for deter mining VIL and VIH for a TTL gate. What
are the DC0 and DC1 noise margins for this gate? Show how they were determined.
86 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 87
b) Which device family for this device, TTL or CMOS, has the faster rise and fall times?
IV. Noise Margin
a) What is the DC0 noise margin measured for the CMOS gate?
b) As a result of this measurement and the results in II c) for determining the noise margin
of TTL devices, which device family would be the best candidate to use in designing
digital circuits for an electrically "noisy" environment?
b) What is the resulting average propagation delay per gate? Indicate how it was
determined. Compare it with the average propagation delay of a TTL gate (e.g., a
74LS04 inverter) as listed in a TTL data sheet.
88 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 89
b) If this degradation of the power supply is left unchecked in large circuits, circuit
VI. Capacitive Loading operation can become impaired. The many gate outputs switching at any moment will all,
for a brief moment, attempt to draw huge amounts of current simultaneously. The power
a) Graph the two output waveforms obtained in Part F below: supply may not be able to satisfy this sudden demand for current. How can this problem
be circumvented?
VIII. Summary
Write a concise description of the device characteristics measured for TTL and CMOS logic in
this experiment. Contrast the measurements for TTL with those made for CMOS. From this
comparison, determine which design criteria would favor the use of TTL logic and which
would favor the use of CMOS.
Objective
To Recognize various components of personal computer.
Introduction to the Experiment
Computers come in all types and sizes. there are basically two main sizes of Computer
1. Portable
2. Desktop
The Portable Computer Comes in various Sizes and called as laptops , notebooks and hand held
computers. these generally denotes different sizes , the laptop being the largest and hand held is the
smallest size. this document mainly talks about the desktop computer although portable computer
issues are also discussed in various areas.
Computer Components:
The basic components are defined as follow
1. Case with hardware inside:
a) a power supply comes with the case but this component is mentioned separately but this
component is mentioned separately since there are various types of power supplies . the one you
should get defined on the requirements of the system. this will be discussed in more detail later.
Motherboard: This is where the core component of computer resides which are listed below . also
the support card for video , sound , networking and are mounted to this board.
Microprocessor: this is the brain of the computer . it performs commands and instructions and
controls the operation of the computer.
Diagram of Motherboard:
So it is the brain within the brain as it controls what happens inside the 9 Mouse
Processor. It generate timing signal and control signal for well coordination. 10 UPS
Apparatus Required
Software Required:
Procedure
Circuit Diagram
Paste print outs of schematic diagram and the required waveforms. Observation Table
Objective
Design of 4 bit Arithmetic Logic Unit (With AND , OR, XOR , ADD Operation) Using Virtual Lab.
Introduction to the experiment
1. Start the simulator as directed. This simulator supports 5-valued logic.
2. To design the circuit we need 4 1-bit ALU, 11 Bit switch (to give input, which will toggle its
value with a double click), 5 Bit displays (for seeing output), wires .
3. The pin configuration of a component is shown whenever the mouse is hovered on any canned
component of the palette. Pin numbering starts from 1 and from the bottom left corner
(indicating with the circle) and increases anticlockwise.
4. For 1-bit ALU input A0 is in pin-9,B0 is in pin-10, C0 is in pin-11 (this is input carry), for
selection of operation, S0 is in pin-12, S1 is in pin-13, output F is in pin-8 and output carry is
pin-7
5. Click on the 1-bit ALU component (in the Other Component drawer in the pallet) and then
click on the position of the editor window where you want to add the component (no drag and
drop, simple click will serve the purpose), likewise add 3 more 1-bit ALU (from the Other
Component drawer in the pallet), 11 Bit switches and 5 Bit Displays (from Display and Input
drawer of the pallet ,if it is not seen scroll down in the drawer), 3 digital display and 1 bit
Displays (from Display and Input drawer of the pallet ,if it is not seen scroll down in the
drawer)
6. To connect any two components select the Connection menu of Palette, and then click on the
Source terminal and click on the target terminal. According to the circuit diagram connect all
the components. Connect the Bit switches with the inputs and Bit displays component with the
outputs. After the connection is over click the selection tool in the pallete.
7. See the output, in the screenshot diagram we have given the value of S1 S0=11 which will
perform add operation and two number input as A0 A1 A2 A3=0010 and B0 B1 B2 B3=0100
so get output F0 F1 F2 F3=0110 as sum and 0 as carry which is indeed an add operation .you
can also use many other combination of different values and check the result. The operations
are implemented using the truth table for 4 bit ALU given in the theory.
Circuit Diagram:
Objective
Design and simulate Encoder, Decoder, Multiplexer and Demultiplexer.
Introduction to the experiment
Decoder
In digital electronics, a decoder can take the form of a multiple-input, multiple-output logic circuit
that converts coded inputs into coded outputs, where the input and output codes are different e.g. n-
to-2n , binary-coded decimal decoders. Decoding is necessary in applications such as data
multiplexing, 7 segment display and memory address decoding.
Encoder
Encoders perform exactly reverse operation than decoder. An encoder has M input and N output
lines. Out of M input lines only one is activated at a time and produces equivalent code on output N
lines. If a device output code has fewer bits than the input code has, the device is usually called an
encoder.
Multiplexer
In electronics, a multiplexer or mux is a device that selects one of several analog or digital input
signals and forwards the selected input into a single line. A multiplexer of 2n inputs has n select lines,
which are used to select which input line to send to the output. An electronic multiplexer can be
considered as a multiple-input, single-output switch i.e. digitally controlled multi-position switch.
The digital code applied at the select inputs determines which data inputs will be switched to output.
Demultiplexer
A demultiplexer (or demux) is a device taking a single input signal and selecting one of many data-
output-lines, which is connected to the single input. A multiplexer is often used with a
complementary demultiplexer on the receiving end. A demultiplexer is a single-input, multiple-output
switch. Demultiplexers take one data input and a number of selection inputs, and they have several
outputs. They forward the data input to one of the outputs depending on the values of the selection
inputs.
Procedure:
1. Log onto vlab.co.in.
2. Go to link: http://hecoep.vlabs.ac.in/List%20of%20experiments.html?domain=Electronicsand
Communications
3. Go to experiment 5 (Design and Simulation of Decoders, Encoders, Multiplexer and
Demultiplexer).
4. Follow the instructions and perform the experiment. Quiz Marks (Max. Marks 3) _____________________________
5. After performing experiment, do the Post Test.
Faculty signature with Date ____________________ Total Marks _______________________
104 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 105
Objective
106 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 107
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
114 Digital Electronics and Computer Architecture Lab Workbook Digital Electronics and Computer Architecture Lab Workbook 115
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
_________________________________________________________________________________ _________________________________________________________________________________
116 Digital Electronics and Computer Architecture Lab Workbook
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________