Digital Electronics
Digital Electronics
BASICS
processes are called logic gates. Each gate has one or
more inputs and only one output.
NOT, AND & OR are basic gates. NAND and NOR are
known as universal gates. XOR and XNOR gates are
known as special function gates.
Universal gates the gates using which all the other gates can be realized.
AND Gate:
The AND gate performs a logical multiplication commonly known as AND function. The
operation of the AND gate is such that the output is HIGH only when all the inputs are
HIGH; the output will be LOW, when any of the inputs are LOW.
OR Gate:
The OR gate performs a logical addition commonly known as OR function. The output is
HIGH when any of the inputs are HIGH. The output is LOW only when all the inputs are
LOW.
NAND Gate:
The NAND gate is a contraction of NOT-AND and implies an AND function with a
complemented output. The NAND gate is a universal gate as it can be used to construct
an AND gate, an OR gate, an inverter or any combination of these functions. The
output is HIGH when any of the inputs is LOW; and is LOW only when all the inputs
are HIGH.
NOR Gate:
The NOR gate is a contraction of NOT-OR. NOR gate is also a universal gate. The
output is HIGH only when all the inputs are LOW; and is LOW when any of the inputs
is HIGH.
EX-OR Gate:
The EX-OR gate is an abbreviation for Exclusive-OR gate. It recognizes only the words
that have odd number of one’s i.e. output is HIGH for odd number of one’s; otherwise
output is LOW.
EX-OR Gate:
The EX-OR gate is a contraction of NOT-EX-OR. It recognizes only the words that have
even number of one’s i.e. output is HIGH for even number of one’s; otherwise output is
LOW.
I. Basic Gates:
1. NOT Gate
2. OR Gate
3. AND Gate
1. NAND Gate
TRUTH TABLE SYMBOL IC7400
2. NOR Gate
1. EX-OR Gate
2. EX-NOR Gate
To verify E X P E R I M E N T
a) Demorgan’s Theorem for 2 variables
1
b) The sum-of product and product-of-sum
expressions using universal gates.
Components Required:
1. The complement of the sum of two or more variables is equal to the product of
the complements of the variables.
2. The complement of the product of two or more logical variables is equal to the
sum of the complements of the variables.
Truth Table
A B C D Y=(A+B)D
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 1
0 1 1 0 0
0 1 1 1 1
1 0 0 0 0
1 0 0 1 1
1 0 1 0 0
1 0 1 1 1
1 1 0 0 0
1 1 0 1 1
1 1 1 0 0
1 1 1 1 1
Procedure:
1. Place the IC in the socket of the trainer kit.
2. Make the connections as shown in the circuit diagram.
3. Apply different combinations of i/ps according to the truth table. Verify the o/p.
4. Repeat the above procedure for all the circuit diagrams.
*NOTE: The Truth Table is common for Both SOP and POS form.
Result:
Viva Questions:
1. What is a logic gate?
2. State Demorgan’s theorem.
3. What is the primary motivation for using Boolean algebra for simplifying logic
equations?
4. Why NAND & NOR gates are called universal gates?
5. Realize the EX – OR gates using minimum number of NAND gates.
6. Give the truth table for EX-NOR and realize using NAND gates?
7. What are the logic low and High levels of TTL IC’s and CMOS IC’s?
8. Compare TTL logic family with CMOS family?
9. Which logic family is fastest and which has low power dissipation?
10.What is a combinational circuit?
11.What is a sequential circuit?
12.What are the various methods of simplifying the logic functions?
13.What are the different methods to obtain minimal expression?
14.What is a Min term and Max term
15.State the difference between SOP and POS.
16.What is meant by canonical representation?
17.What is K-map? Why is it used?
18.What are universal gates?
HALF ADDER
A B Sum Cout
𝑺𝒖𝒎 = 𝐴̅𝐵 + 𝐴𝐵̅
0 0 0 0
0 1 1 0 𝑪𝒐𝒖𝒕 = 𝐴𝐵
1 0 1 0
1 1 0 1
FULL ADDER
2
a) Full Adder using logic gates and NAND gates
b) Full Subtractor using logic gates and NAND gates
Components required:
The first three operations produce a sum whose length is one bit, but when the last
operation is performed, sum will be two bits. The higher significant bit of this result is
called a carry, and lower significant bit is called sum. The logic circuit that performs
this operation is called a half-adder. The circuit which performs addition of three bits
is a full-adder.
HALF ADDER: Half adder is a combinational logic circuit which performs the addition
of two bits and generates sum and carry. This circuit follows binary addition rule.
FULL ADDER: Full adder is a combinational logic circuit which performs addition of
three bits and generates sum and carry.
Procedure:
1. Place the IC in the socket of the trainer kit.
2. Make the connections as shown in the circuit diagram.
3. Apply different combinations of I/Ps according to the truth table. Verify the
o/p.
HALF SUBTRACTOR
B A Diff Borrow
𝑫𝒊𝒇𝒇 = 𝐴̅𝐵 + 𝐴𝐵̅
0 0 0 0
0 1 1 1 𝑩𝒐𝒓𝒓𝒐𝒘 = 𝐴𝐵̅
1 0 1 0
1 1 0 0
FULL SUBTRACTOR
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
Procedure:
1. Place the IC in the socket of the trainer kit.
2. Make the connections as shown in the circuit diagram.
3. Apply different combinations of i/p according to the truth table. Verify the
o/p. Repeat the above procedure for all the circuit diagrams.
Result:
Viva Questions:
1. What is a half adder?
2. What is a full adder?
3. What are the applications of adders?
4. What is a half Subtractor?
5. What is a full Subtractor?
6. What are the applications of subtractors?
7. Obtain the minimal expression for above circuits.
8. Realize a full adder using two half adders
9. Realize a full subtractors using two half subtractors
Cin A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
0 1 0 0 1 1 0 0 1 1 0 0 1 0
0 0 1 1 1 0 0 0 1 0 1 0 0 0
0 0 1 1 0 0 1 0 0 0 1 0 1 0
0 0 1 1 1 0 1 0 0 0 1 0 1 1
1 1 0 0 1 1 0 0 0 1 0 0 0 1
1 0 0 0 1 0 0 1 1 0 1 1 1 0
1 1 0 0 1 0 1 0 0 1 0 1 0 1
1 1 0 1 1 0 1 0 1 1 0 1 1 0
Components Required:
Sl.
No.
COMPONENT SPECIFICATION
3
1 EXOR gate 7486
2 4 bit parallel adder 7483
3 Patch chords
4 Trainer Kit
IC 7483: It is a high speed four bit binary full adder with internal carry look ahead
accepts two 4-bit binary inputs (A0 – A3, B0 – B3) and a carry input C0. They generate
binary sum outputs (S0 – S3) and the carry output C4, from the MSB. They operate
with high or active low operands.
Procedure:
1. Make the connections as shown.
2. For addition ,make Cin=0 and apply the 4 bits as i/p for A and apply another set
of A bits to B. Observe the o/p at S3, S2 S1 S0 and carry generated at Cout. Repeat
the above steps for different inputs and tabulate the result.
3 . For subtraction Cin is made equal to 1 and A-B format is used.
A First no
B- Second no.
By Xor –ing the i/p bits of ‘B’ by 1 , is complement of ‘B’ is obtained. Further
Cin, w h i c h is 1 is added to the LSB of the Xor –ed bits. This generates 2’s
complement of B.
4. Verify the difference and polarity of differences at S0, S1, S2, and S3.and Cout. If
Cout is 0, diff is –ve and diff is 2’s complement form. If Cout is 1, diff is +ve.
5. Repeat the above steps for different inputs. And tabulate the result.
Result:
Viva Questions:
1. What is the internal structure of 7483 IC?
2. What do you mean by code conversion?
3. What are the applications of code conversion?
4. How do you realize a Subtractor using full adder?
5. What is a ripple Adder? What are its disadvantages?
1- Bit Comparator
Truth Table
4
Comparator using IC 7485.
Components required:
Sl.
COMPONENT SPECIFICATION
No.
1 AND gate 7408
2 OR gate 7432
3 Not gate 7404
7486
4 EXOR gate
5 Magnitude 7485
comparator
6 Patch chords
7 Trainer Kit
Comparator:
A comparator is a combinational circuit designed primarily to compare the relative
magnitude of two binary numbers. Consider an n-bit comparator. It receives two n-
bit numbers A and B as inputs and outputs are A>B, A=B, A<B. depending upon the
relative magnitudes of the two number, one of the outputs will be high.
IC 7485(4-bit Comparator)
IC 7485 is a 4-bit comparator. It can be used to compare two 4-bit binary words.
These ICs can be cascaded to compare words of almost any length. Its 4-bit inputs
are weighted (A0 –A3) and (B0 – B3) are the most significant bits.
Procedure:
1) Rig up the circuit for one bit comparator as shown in the figure using logic gates
and 4 bit comparator using IC 7485 magnitude comparator.
2) Verify the Table of values. The output obtained should indicate the required
result.
4 – Bit Comparator
0 0 1 0 1 1 0 1 0 0 1
1 1 1 1 1 1 1 0 1 0 0
1 0 0 1 1 0 0 1 0 1 0
0 1 0 1 0 0 0 0 1 0 0
8–Bit Comparator
0 0 0 1 0 0 1 1 0 1 0 0 1
0 1 1 1 1 0 1 1 1 0 1 0 0
0 1 0 0 1 0 1 0 0 1 0 1 0
0 0 1 0 1 0 0 0 0 0 1 0 0
Result:
Viva Questions:
1. Define comparator.
2. What is the application of comparator?
3. Why we need to use comparator?
4. What is the difference between analog comparator to digital comparator?
5. Derive the Boolean expressions of one bit comparator and two bit comparators.
6. How do you realize a higher magnitude comparator using lower bit comparator
7. Design a 2 bit comparator using a single Logic gates?
8. Design an 8 bit comparator using a two numbers of IC 7485?
4:1 MUX
S1 S0 I0 I1 I2 I3 Y
0 0 I0 X X X I0
0 1 X I1 X X I1
1 0 X X I2 X I2
1 1 X X X I3 I3
To realize E X P E R I M E N T
a) 4:1 Multiplexer using gates
5
b) Adder & Subtractor using IC 74153.
c) 3-variable function using IC 74151(8:1MUX).
Components required:
Sl.
COMPONENT SPECIFICATION
No.
1 NAND gate(2 I/P) 7400
2 NAND gate(3 I/P) 7410
3 NAND gate(4 I/P) 7420
4 MUX 74153
5 DE-MUX 74138
6 NOT gate 7404
7 Patch chords
8 Trainer Kit
Multiplexer:
Multiplexer is a combinational circuit that is one of the most widely used in digital design.
The multiplexer is a data selector which gates one out of several inputs to a single o/p.
It has n data inputs & one o/p line & m select lines where 2m= n. Depending upon the
digital code applied at the select inputs one out of n data input is selected & transmitted
to a single o/p channel. Normally strobe (G) input is incorporated which is generally
active low which enables the multiplexer when it is LOW. Strobe i/p helps in cascading.
IC 74153:
The IC 74153 is a dual 4-i/p MUX that can select 2 bits of data from up to eight sources
under the control of the common select inputs (S0, S1). The two 4- i/p MUX circuits
have individual active low enables (E1, E2) which can be used to strobe the outputs
independently outputs (Y1, Y2) are forced low when the corresponding enables (E1,
E2) are high.
E S1 S0 Y1 Y2
1 X X 0 0
0 0 0 A0 B0
0 0 1 A1 B1
0 1 0 A2 B2
0 1 1 A3 B3
A B SUM Y1 COUT Y2
0 0 0 0
B 0
0 1 1 0
1 0 1 0
𝐵̅ B
1 1 0 1
A B Diff Y1 BOUT Y2
0 0 0 0
B B
0 1 1 0
1 0 1 0
𝐵̅ 0
1 1 0 1
A B C D Y
0 0 0 0 1
0 0 0 1 1
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
1 0 0 0 0
1 0 0 1 1
1 0 1 0 1
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
1 1 1 1 1
IC 74151:
IC74151 is an 8 to 1 multiplexer which has 3 select lines, 8 data lines, 2 output lines
(one true form, one complementary form) and enable lines.
Procedure:
1) Set up the circuit as shown in figure
2) Apply any arbitrary input at each of the input line of the multiplexer.
3) Set the index of the desired i/p channel which has to be linked to o/p.
4) Record the o/p for each combination of the select line and verify that with functional
table of respective multiplexer.
Result:
Viva questions:
1. Define MUX with example.
2. What are the differences between MUX and DE-MUX?
3. What is a multiplexer?
4. What are the applications of multiplexer and de-multiplexer?
5. Derive the Boolean expression for multiplexer.
6. How do you realize a given function using multiplexer
7. In 2n to 1 multiplexer how many selection lines are there?
8. How to get higher order multiplexers?
9. Implement an 8:1 mux using 4:1 MUX’s?
10.Why mux is called as a data selector?
DEMULTIPLEXER
S1 S0 Ii Y0 Y1 Y2 Y3
0 0 I I 0 0 0
0 1 I 0 I 0 0
1 0 I 0 0 I 0
1 1 I 0 0 0 I
A(S1) B(S0)
Y3 Y2 Y1 Y0
1B 1A
1 X X 1 1 1 1
0 0 0 1 1 1 0
0 0 1 1 1 0 1
0 1 0 1 0 1 1
0 1 1 0 1 1 1
IC 74139:
The IC 74139 is a high speed dual 1 of 4 decoder/demultiplexer. This device has two
independent decoders each accepting two binary weighted inputs (a, b) and providing
four mutually exclusive active low outputs (Y0-Y3).each decoder has an active low
enable (E) when E=1 every o/p is forced high. The enable can be used as the data
input for a 1 of 4 DEMUX applications.
6
Components required:
Sl.
COMPONENT SPECIFICATION
No.
1 NAND gate(2 I/P) 7400
2 NAND gate(3 I/P) 7410
3 NAND gate(4 I/P) 7420
4 MUX 74151
5 DE-MUX 74139
6 NOT gate 7404
7 Patch chords
8 Trainer Kit
De-Multiplexer:
The data distributor, known more commonly as a Demultiplexer or “Demux” for short,
is the exact opposite of the Multiplexer. The demultiplexer takes one single input data
line and then switches it to any one of a number of individual output lines one at a time.
The demultiplexer converts a serial data signal at the input to a parallel data at its output
lines as shown below.
The function of the Demultiplexer is to switch one common data input line to any one of
the ‘n’ output data lines
Sum =∑1, 2, 4, 7
Carry =∑3, 5, 6, 7
B2 B1 B0 G2 G1 G0
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 1 1
0 1 1 0 1 0
1 0 0 1 1 0
1 0 1 1 1 1
1 1 0 1 0 1
1 1 1 1 0 0
G2 = ∑ 4,5,6,7
G1 = ∑ 2,3,4,5
G0 = ∑ 1,2,5,6
Procedure:
32 DEPT. OF ELECTRONI CS & COMMUNI CATI ON ENG G. |MIT MYSORE
DIGITAL ELECTRONICS LABORATORY 17ECL38
Result:
Viva questions:
1. Define DE-MUX with example.
2. What are the differences between MUX and DE-MUX?
3. Application of DE-MUX.
4. What is a de-multiplexer?
5. Derive the Boolean expression for de-multiplexer.
6. Why a demultiplexer is called data distributer?
Components required:
Sl.
No.
1
COMPONENT
7400
7
2 NAND gate(3 I/P) 7410
3 Patch chords
4 Trainer Kit
Flip-Flop:
Flip Flops are bi-stable elements. These are the basic building blocks of most
sequential circuits. A Flip – Flop is a sequential logic circuit which is used to store one
bit of binary information’s. The term flip-flop is more appropriately associated with
devices that change state only on a Clock edge or pulse. Four types of flip-flops are
commonly considered: JK, SR, D and T. each stores binary data but has a unique set
of input variables. Each flip-flop type can be described in terms of its input and output
characteristics by writing a special truth table, called an excitation table. A
characteristic equation can be generated from the excitation tables.
JK MS Flip-Flop:
Procedure:
1. Rig up the circuit as shown in the diagram.
2. Apply I/Ps to the flip flops as per the truth table and observe the o/p to
verify with the truth table.
Result:
Viva questions:
1. What is a flip-flop?
2. What is a latch?
3. Differentiate between Flip-Flop & latch?
4. Differentiate between combinational and sequential circuits?
5. Define the characteristic equation of a flip flop?
6. Give examples for synchronous & asynchronous inputs?
7. What are the applications of different Flip-Flops?
8. What is the advantage of Edge triggering over level triggering?
9. What is the relation between propagation delay & clock frequency of flip-flop?
10.What is race around in flip-flop & how to overcome it?
Pin Diagram
Serial
TIME Qa Qb Qc Qd
i/p
T0 1 1
T1 0 0 1
T2 1 1 0 1
T3 1 1 1 0 1
T4 x 1 1 0
T5 x x 1 1
T6 x x x 1
Serial
Time Qa Qb Qc Qd
data
T0 1 1
T1 0 0 1
T2 1 1 0 1
T3 1 1 1 0 1
8
(a) SISO (b) SIPO (c) PISO (d) PIPO (e) Ring and
(f) Johnson counter.
Components required:
Sl.
COMPONENT SPECIFICATION
No.
1 D Flip-flop 7474
2 Patch chords
3 Trainer Kit
Shift Registers:
A collection of flip-flops in cascade is called a register. Registers are used to
store in a digital system. A cascade of 4 flip-flops configured as a register can store
one nibble of data. A 4-bit register can store binary bits from 0000 to 1111. These are
called contents or states of a register. Thus a 4-bit register has 16 possible states.
Shift registers are capable of moving or shifting the data stored in their flip-flops in
either direction i.e. right shift or left shift. Shift registers which can shift data in both
directions are called bi-directional while those which can shift the data in only one
direction are called unidirectional. Thus shift-registers are classified by their shift
direction capabilities. They are also classified based on whether data is input or output
in-serial or in-parallel. We have serial in-serial out, serial in-parallel out, parallel in-
serial out and parallel in-parallel out registers.
A register capable of shifting its binary information either to the left or to the
right is called a shift register. The logical configuration of a shift register consists of a
chain of flip flops connected in cascade with the output of one flip flop connected to
the input of the next flip flop. All the flip flops receive a common clock pulse which
causes the shift from one stage to the next.
The Q output of a D flip flop is connected to the D input of the flip flop to the left. Each
clock pulse shifts the contents of the register one bit position to the right. The serial
input determines, what goes into the right most flip flop during the shift. The serial
output is taken from the output of the left most flip flop prior to the application of a
pulse. Although this register shifts its contents to its left, if we turn the page upside
down we find that the register shifts its contents to the right. Thus a unidirectional
shift register can function either as a shift right or a shift left register.
Clk TIME Qa Qb Qc Qd
T0 1 1 0 1
T1 x 1 1 0
Clks
T2 x x 1 1
T3 x x x 1
Qa Qb Qc Qd
T0 1 1 0 1
T1 X 1 1 0
T2 X X 1 1
T3 X X X 1
Procedure:
Serial in Serial out (SISO) shift right
1. Make the connections as per logic diagram.
2. Load the shift register with 4 bits of data one by one serially.
3. At the end of 4th clock pulse (clock 1) the first data ‘d0’ appears at QD.
4. Apply another clock pulse; the second data ‘d1’ appears at QD.
5. Apply another clock pulse; the third data appears at QD.
6. Application of next clock pulse will enable the 4th data ‘d3’ to appear at
QD. Thus the data applied serially at the input comes out serially at QD
Ring Counter
CP QA QB QC QD
t0 1 0 0 0
t1 0 1 0 0
t2 0 0 1 0
t3 0 0 0 1
t4 1 0 0 0
Johnson Counter
CP QA QB QC QD
t0 1 0 0 0
t1 1 1 0 0
t2 1 1 1 0
t3 1 1 1 1
t4 0 1 1 1
t5 0 0 1 1
t6 0 0 1 1
t7 0 0 0 1
t8 1 0 0 0
PROCEDURE:
Connect the circuit as in the figure to circulate logic ‘1’ mode control pin no 6 =
0, apply data ‘1’ at the serial input pin no 1 and apply clk pulses at clk 1 pin no
9,and observe the outputs. Apply a clk pulse of 1 kHz at the clk 1 input observe
the outputs Qa Qb Qc Qd on a dual trace CRO with ref to the clk input.
Result:
Viva questions:
1. What is a register?
2. What is the need of a register?
3. What is the necessity for sequence generation?
4. What are PISO, SIPO, and SISO with respect to shift register?
5. Differentiate between serial data & parallel data
6. List different types of shifting technique.
7. What are the applications of this shifting technique?
Pin Diagram
INTERNAL DIAGRAM
Conditional Table
R1 R2 S1 S2 Qa Qb Qc Qd
H H L X L L L L
H H X L L L L L
X L H H 1 1 1 1
L X L X MOD-2 COUNTER
X L X L MOD-5 COUNTER
Realize E X P E R I M E N T
(i) Mod-N Asynchronous Counter using IC7490
9
(ii) Mod-N Synchronous counter using IC74193
Components required:
Sl.
COMPONENT SPECIFICATION
No.
1 Mod – N Counter IC 7490
2 AND gate 7410
3 Patch chords
4 Trainer Kit
COUNTERS:
A counter is also a cascade of flip-flops configured to output a specific sequence
on application of a clock. Each output of the sequence is dependent on the contents of
the flip-flops and is called a state of the counter. The modulus of a counter is the total
no of states of the counter. A counter which counts from 0000 to 1001(0 to 9 in decimal)
and resets is called a modulus 10 counter. A counter which counts from 000 to101 and
resets is a modulus 6 counter. Thus a counter with m states is called a modulus m or
mod-m counter. There are two types of counters i.e. synchronous and asynchronous
counter.
Procedure:
1. Rig up the circuit as shown in the diagram.
2. Apply c l o c k p u l s e s to the flip flops as per the truth table and observe
the o/p to verify with the truth table.
MOD-N COUNTERS
Pin Diagram
Function Table
Load Up Down Qd Qc Qb Qa
H X X X 0 0 0 0
L L X X D C B A
L H Cp H COUNT UP
L H H Cp COUNT DOWN
L H H H NO CHANGE
Invalid state---0101
Note:-Lo and Bo are used basically for cascading the counters
Result:
Viva Questions:
1. What is Mod-2 counter?
2. What is Mod-5 Counter?
3. What is Mod-N counter?
4. How many counters are there in IC 7490?
5. Differentiate between synchronous and asynchronous counters.
Sequence: 100010011010111
TRUTH TABLE CIRCUIT DIAGRAM
Clk QA QB QC QD f
1 1 1 1 1 0
2 0 1 1 1 0
3 0 0 1 1 0
4 0 0 0 1 1
5 1 0 0 0 0
6 0 1 0 0 0
7 0 0 1 0 1
8 1 0 0 1 1
9 1 1 0 0 0
10 0 1 1 0 1
11 1 0 1 1 0
12 0 1 0 1 1
13 1 0 1 0 1
14 1 1 0 1 1
15 1 1 1 0 1
10
7495.
Components required:
Sl.
COMPONENT SPECIFICATION
No.
1 Counter IC 7495
2 AND gate 7410
3 XOR gate 7486
4 Patch chords
5 Trainer Kit
COUNTERS:
Sequence generator is a synchronous counter to generate a given sequence.
Procedure:
1. Set up the circuit as shown in figure
2. Load the initial state by keeping mode control pin in HIGH state.
3. Set mode control = ‘0’ and apply clock pulses and record all observations.
Sequence: 1101011
Clk QA QB QC QD f
1 1 1 1 0 1
2 1 1 1 1 0
3 0 1 1 1 1
4 1 0 1 1 0
5 0 1 0 1 1
6 1 0 1 0 1
7 1 1 0 1 1
Result:
Viva Questions:
1. Define sequence generator.
2. What is the application of sequence generator?
ELECTRONIC WORKBENCH:
Electronic WorkBench (EWB) is a simulation package for electronic circuits. It allows you
to design and analyze circuits without using breadboards, real components or actual
instruments. EWB's click-and drag operations make editing a circuit fast and easy.
The circuit window is where you create your schematics. The components and
instruments that you need to construct a circuit are grouped into parts bins. Each
parts bin has a corresponding button on the Parts Bin toolbar. Clicking one of
these buttons displays another toolbar containing buttons representing the
components and instruments contained in that parts bin. To place a component
or instrument on the circuit window, click the desired part button and drag the
component or instrument to the circuit widow. Instruments toolbar includes a
digital meter, a word generator, a logic analyzer, and a logic converter. These
instruments may be dragged onto the circuit window and used to test the circuit
that you build just as you would use test instruments in a lab. The final item on
the menu bar is a power switch. You need to click on the power switch when you
are ready to activate your circuit.
STEP 1: Step 1: Find the following items from Parts Bin toolbars and place them in the
circuit window as indicated below. Note that VCC represents +5 Volt.
To wire components together, press and hold the left mouse button, and drag it so that
a wire appears. Drag the wire to a terminal on another component or to an instrument
connection. When the terminal on the second component or the instrument highlights,
release the mouse button. The wire is routed at right angle, without overlapping other
components or instrument icons. If you drag a wire from a component’s terminal to
another wire, a connector is automatically created when you release the mouse button.
A connector button also appears in the Basic toolbar. This let you insert connectors into
an existing circuit, then drag another wire to one of its free terminals. Alternatively, you
can place the connector on the circuit window where you plan to make a connection and
drag wires to its terminals. You can join up to 4 wires with one connector.
54 DEPT. OF ELECTRONI CS & COMMUNI CATI ON ENG G. |MIT MYSORE
DIGITAL ELECTRONICS LABORATORY 17ECL38
Step 4: Using the mouse, click on the power switch to turn it on. Next, press combination
of keys A and B to verify the truth table for the indicated AND gate.
11
Circuit diagram:
Truth table:
Results:
Circuit diagram:
12
Truth table:
0 0 1 1 1 0
0 1 0 1 0 1
0 1 1 1 0 0
1 0 0 0 1 1
1 0 1 0 1 0
1 1 0 0 0 1
1 1 1 0 0 0
RESULT: