Digital Logic Manual
Digital Logic Manual
)
Course Code: CACS105
Year / Semester: I / I
Class Load: 5 Hrs. / Week (Theory: 3 Hrs. Practical: 2 Hrs.)
Course Description
This course presents an introduction to Digital logic techniques and its practical application in computer and digital system.
Course Objectives
The course has the following objectives:
To perform conversion among different number system.
To simplify logic functions.
To design combinational and sequential logic circuit.
To understand industrial application of logic system.
To understand Digital IC analysis and its applications.
Designing of programmable memory.
Course Detail
Specific Objectives Course Content Hours References
Explain the basic differences between digital and Unit 1 : Introduction 1. Chapter 1 - Introductory Concepts;
analog quantities. 1.1 Digital Signals and Wave Forms Thomas L. Floyd, "Digital
Show how voltage levels are used to represent 1.2 Digital Logic and Operation Fundamentals", 11th Edition,"
digital quantities. 1.3 Digital Computer and Integrated 2. Chapter 1 - Introductory Concept;
Describe various parameters of a pulse waveform such Circuits (IC) Ronald J. Tocci, Neal S. Widmer,
as rise time, fall time, pulse width, frequency, period, 1.4 Clock Wave Form 2 Hrs. Gregory L. Moss, "Digital Systems
and duty cycle. Principles and Applications", 10th
Explain the basic logic functions of NOT, OR, and Edition.
AND.
Describe several types of logic operations and explain
their applications with example.
1
Identify different types of digital integrated circuits
according to their complexity and the type of circuit
packaging.
Define clock wave. Explain terminologies related to
Clock Wave Form.
Define Number system. Differentiate between Unit 2 : Number System 1. Chapter 2 – Number System,
positional and Non-positional number system with 2.1 Binary, Octal & Operations, and Codes; Thomas L.
example. Hexadecimal Number Floyd, "Digital Fundamentals", 11th
Convert a number from one number system Systems and their Edition,"
(decimal, binary, octal, hexadecimal) to its conversions 2. Chapter 2 – Number Systems and
equivalent in one of the other number systems 2.1.1 Representation of Signed Codes; Ronald J. Tocci, Neal S.
including both integer and floating type values. Numbers, Floating Point Widmer, Gregory L. Moss, "Digital
Determine the 1’s and 2’s complements of a binary Number Systems Principles and
number. 2.1.2 Binary Arithmetic Applications", 10th Edition.
Express signed binary numbers in sign magnitude, 1’s 2.2 Representation of BCD, ASCII,
complement, 2’s complement, and floating-point Excess 3, Gray Code, Error
format. Detection and Correcting Codes.
Apply arithmetic operations to binary numbers.
5 Hrs.
Carry out arithmetic operations with signed binary
numbers.
Express decimal numbers in binary coded
decimal (BCD) form.
Perform addition and subtraction operations on
BCD numbers.
Explain the importance of the ASCII code.
Convert between the Binary System and the Gray Code
and vice-versa.
Convert between the Binary System and the Excess – 3
Code and vice-versa.
Explain different types of Error Detection
and Correcting Codes with their use.
Describe the operations of Basic, Universal, Ex – OR, Unit 3 : Combinational Logic Design 1. Chapter 3 – Logic Gates, Chapter 4
and Ex – NOR gates with their functional expressions, 3.1 Basic Logic Gates: NOT, OR and 16 Hrs. – Boolean Algebra and Logic
AND. Simplification, Chapter 5 –
Digital Symbol, Circuit Diagram, Truth table, Timing 3.2 Universal Logic gates NOR and Combinational Logic Analysis,
Diagram, and Venn diagram. NAND. Chapter 6 – Functions of
Realize the Universal Gates as Basic gates. 3.3 Ex-OR and Ex-NOR Gates Combinational Logic; Thomas L.
Define and apply the basic laws of Boolean algebra. 3.4 Boolean Algebra: Floyd, "Digital Fundamentals", 11th
State and prove the DeMorgan's Theorem. 3.3.1 Postulates & Theorems Edition,"
Explain the principle of Duality with example. 3.3.2 Canonical Forms, 2. Chapter 2 Boolean Algebra, Chapter
Simplify expressions by using the laws and rules Simplification of Logic 3 – Gate-Level Minimization,
of Boolean algebra. Functions Chapter 4 – Combinational Logic,
Construct a truth table of Boolean expressions. 3.5 Simplification of Logic Functions Chapter 7 – Memory and
Using Karnaugh Map. Programmable Logic; Morris Mano,
Define Canonical and Standard form of Boolean
3.5.1 Analysis of SOP and POS "Digital Design", 5th Edition.
expression.
expressions 3. Chapter 3 – Describing Logic
Convert any Boolean expression into Sum-Of-Product
3.6 Implementation of Combinational Circuits, Chapter 4 – Combinational
(SOP) form.
Logic Functions. Logic Circuits; Ronald J. Tocci,
Convert any Boolean expression into Product-Of-Sum 3.6.1 Half Adder and Full Adder Neal S. Widmer, Gregory L. Moss,
(POS) form. 3.6.2 Encoders and Decoders "Digital Systems Principles and
Simplify the Boolean expressions using Karnaugh 3.7 Implementation of data processing Applications", 10th Edition.
map method for both SOP and POS form including circuits. 4. Chapter 9 – Programmable Logic
"Don't care" conditions. 3.7.1 Multiplexers and De- Devices; Anil K. Maini, "Digital
Explain Combinational circuits with their features. Multiplexers Electronics Principles, Devices and
Implement digital logic for Half Adder, Full Adder, 3.7.2 Parallel Adder, Binary Adder, Applications", Wiley.
Half Subtractor, and Full Subtractor with their Parity Generator/Checker, and
functional expression, logic diagram, truth table and Implementation of Logic
timing diagram. Functions using Multiplexers.
Explain the basic operations of encoders and decoders. 3.8 Basic Concepts of Programmable
Design a logic circuit to decode any combination Logic
of bits. 3.8.1 PROM
Describe the basic Binary decoder. 3.8.2 EPROM
Describe the BCD to Decimal decoder. 3.8.3 PAL
Use BCD-to-7-segment decoders in display systems. 3.8.4 PLA
Implement an octal to binary encoder.
Determine the logic for a decimal to BCD encoder.
Explain the purpose of the priority feature in encoders.
Describe decimal to BCD priority encoder.
Implement the 4 – bit Magnitude Comparator.
Implement the 4 – bit parallel adder.
Describe the operation of basic parity generating
and checking logic.
Explain the functioning of 9 – bit parity
generator/checker.
Explain the basic operations of Multiplexers and
Demultiplexers.
Explain the 4 line to 1 line, 8 line to 1 line and 16 line
to 1 line multiplexers with logic diagram and truth
table.
Implement the logic functions using the multiplexer.
Explain the functioning of 1 to 4 line Demultiplexer.
Explain the concept of programming logic with
reference to PROM, EPROM, PAL and PLA with
circuits and program tables.
Differentiate between latch and flip-flop. Unit 4 : Counter and Registers 1. Chapter 7 – latches, Flip-Flops, and
Use logic gates to construct basic latches. 4.1 RS, JK, JK Master – Slave, D & T Timers, Chapter 8 – Shift Registers,
Differentiate between level triggering and flip flops. Chapter 9 – Counters; Thomas L.
edge triggering with their features. 4.1.1 Level Triggering and Edge Floyd, "Digital Fundamentals", 11th
Explain RS, JK, JK Master – Slave, D & T flip-flops Triggering Edition.
with their logic diagram, graphical symbol, 4.1.2 Excitation Tables 2. Chapter 5 – Synchronous
characteristic table, characteristic equation and 4.2 Asynchronous and Synchronous Sequential Logic, Chapter 6 –
excitation table. Counters Registers and Counters; Morris
Define resister. Identify the basic forms of 4.2.1 Ripple Counter: Circuit, State Mano, "Digital Design", 5th Edition.
data movement in shift resisters. Diagram, and Timing Wave 3. Chapter 5 – Flip-Flop and related
16 Hrs.
How SISO, SIPO, PISO and PIPO shift registers Forms. devices, Chapter 7 – Counters and
operate? Explain. 4.2.2 Ring Counter: Circuit, State Registers, Ronald J. Tocci, Neal S.
Diagram, and Timing Wave Widmer, Gregory L. Moss, "Digital
Define counter. Differentiate between Asynchronous
Forms. Systems Principles and
and Synchronous counter.
4.2.3 Modulus 10 Counter: Circuit, Applications", 10th Edition.
Analyze the counter circuits and timing diagrams.
State Diagram, and Timing 4. Chapter 12 – Simple Digital
Explain the Ripple counter with Circuit, State, and Wave Forms. Systems; Roger Tokheim, "Digital
Timing Diagram. 4.2.4 Modulus Counter (5, 7, 11) and Electronics, Principles and
Explain the Ring counter with Circuit, State, and Design Principles, Circuit and Applications", 8th Edition, McGraw
Timing Diagram. State Diagram. Hill.
Explain Modulus Counter (5, 7, 10, and 11) with their 4.2.5 Synchronous Design of Above
Circuit and State diagram. Counters, Circuits Diagrams
Describe the Synchronous counters: Binary Counter, and State Diagram.
Up-Down Counter, and BCD Counter with their 4.3 Application of Counters
circuit diagrams and state diagrams. 4.3.1 Digital Watch
Construct the logic circuit diagram for Digital 4.3.2 Frequency Diagram
Watch and Frequency counter. 4.4 Registers
4.4.1 Serial in Parallel out Register
4.4.2 Serial in Serial out Register
4.4.3 Parallel in Serial out Register
4.4.4 Parallel in Parallel out Register
4.4.5 Right Shift, Left Shift Register
Define Finite state machine with example. Unit 5 : Sequential Logic Design 1. Chapter 5 – Synchronous
Explain the Mealy and Moore models of Finite State 5.1 Basic Models of Sequential Sequential Logic; Morris Mano,
Machines. Machines "Digital Design", 5th Edition.
Describe the State, State Diagram and State Table Concept of State
of Sequential Circuit. State Diagram
Apply the State reduction through partitioning method 5.2 State Reduction through 6 Hrs.
to implement sequential circuit. Partitioning and implementation of
Describe the design procedure for sequential machines. Synchronous Sequential Circuits.
Use the flip – flops to realize the sequential machines. 5.3 Use of flip flops in realizing the
Construct the Counters. models
5.4 Counter Design
Teaching Methods
The general teaching methods includes class lectures, group discussions, case studies, guest lectures, research work, project work, assignments(theoretical and
practical), and exams, depending upon the nature of the topics. The teaching faculty will determine the choice of teaching pedagogy as per the need of the
topics.
Evaluation
Evaluation Scheme
Internal Assessment External Assessment Total
Theory Practical Theory Practical
20 20 (3 Hrs.) 60 (3 Hrs.) - 100
Internal/Practical Assessment Format [FM = 40]
Internal Assessment Format [FM = 20] – Subject Teacher
Term Examination
Mid - Term Pre - Final Assignment Attendance Total
5 5 5 5 20
Practical Assessment Format [FM = 20] – External Examiner will be assigned by Dean Office, FOHSS.
Practical Viva Lab Reports Total
10 5 5 20
Note: Assignment may be subject specific case study, seminar paper preparation, report writing, project work, research work, presentation, problem solving etc.
Student must pass 'Internal Assessment', 'Practical Assessment' and 'Final Examination' separately.
Student must attend each and every activity of 'Internal Assessment' otherwise he/she will be declared as 'Not Qualified' for final Examination.
Text Books
1 Floyd, "Digital Fundamentals", PHI.
2 Morris Mano, "Digital Design", PHI,
3 Tocci, R. J., "Digital Systems – Principles & Applications", PHI
Reference Books
1 B. R Gupta and V. Singhal, "Digital Electronics", S.K. Kataria & Sons, India.
2 Fletcher, W. I., "An Engineering approach to Digital Design", PHI.
3 Millman & HalKias, "Integrated Electronics".
4 V.K. Puri, "Digital Electronics", Tata McGraw Hill.
Internal Assessment marks Submission format
Campus Name:
Subject Name: Digital Logic Subject Code: CACS105
SN TU Registration No. Name Symbol No. Mid – Term [5] Pre – Final [5] Assignment [5] Attendance [5] Total [20] Remarks
2. Objectives:
3. Apparatus:
4. Theory:
Introduction
Functional Expression
Circuit Diagram
Truth Table
(You can add more topics here as per the nature of experiment)
5. Procedure:
6. Result:
7. Remarks:
8
Laboratory Activities
1. Implement any Basic Integrated Circuit(IC) to define the nomenclature
of IC, Data sheet, concept of: power supply, input pins, output pins, Vcc,
ground, IC Base and project board.
2. Implement Basic Gates, AND, OR and NOT.
3. Implement Universal Gates, NAND and NOR gates.
4. Verify the functioning of Exclusive - OR and Exclusive – NOR gates.
5. Realize the Basic gates using NAND gate.
6. Realize the Basic gates using NOR gate.
7. Prove the DeMorgan's Theorem using gates.
8. Implement the given Boolean function using logic gates in both
SOP and POS forms.
9. Implement both half and full Adders using gates.
10. Implement both half and full Subtractors using gates.
11. Verify the functioning of 4-bit binary parallel adder.
12. Implement the Octal to Binary encoder.
13. Verify the operations of Decimal to BCD Encoder.
14. Verify the operations of 3 - to - 8 line Decoder.
15. Implement the BCD to Decimal Decoder.
16. Implement the BCD to 7 – Segment display Decoder.
17. Implement 16:1 Multiplexer.
18. Implement 1:16 Demultiplexer.
19. Verify the functioning of Flip flops (i) RS, (ii) JK, (iii) JK Master –
Slave, (iv) D, and (v) T.
20. Show the operations of a 3-bit synchronous binary counter.
21. Show the operations of a 3-bit Asynchronous binary counter.
22. Design the mod - 10 counter.
23. Verify the functioning of Shift Registers, (i) SISO, (ii) SIPO, (iii) PISO,
and (iv) PIPO.
24. Design Digital watch by Counters.
25. Design frequency counter.
Dear Teachers, it's only a guideline for lab work in Digital Logic, apart this you
can add more activities in laboratory to make clear in applications of the course.
SET - A
Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2018
Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2018
Bachelor in Computer Applications Full
Marks: 60
Course Title: Digital Logic Pass
Marks: 24
Code No: CACS 105 Time: 3
hours
Semester: Ist
Candidates are required to answer the questions in their own words as far as possible.
Group B
Attempt any SIX questions. [65 =
30]
11. What is digital System? Write down the advantage and limitation of digital System.
[1 + 2 + 2]
12. Why NAND and NOR gates are called Universal Gates? Implement AND, OR and
NOT Gates using NAND and NOR gates. [1 + 2 + 2]
13. Simplify using K - map and draw the logical diagram.
wy z
F wxz wyz xyz wx yz
[4 + 1]
14. Explain half adder. Implement full adder using two half adder and OR gate. [1 + 4]
15. Draw a logic diagram, graphical symbol, characteristic table, characteristic equation
and excitation table of S.R flip flop. [1 + 1 + 1 + 1 + 1]
16. Design a MOD - 5 counter using J.K flip flop. [5]
17. Define shift Register. Explain the working principle of SISO shift register. [1 + 4]
Group C
Attempt any TWO questions. [210 = 20]
18. a) What is decoder? Implement 5 × 32 decoder using 2 × 4 decoder. [1 + 4]
b) If A = 20 and B = 7 convert them into binary and perform A–B using 2's
complement method. [1 + 4]
19. Explain asynchronous counter. Explain the digital watch with suitable diagram. [2 + 8]
20. Design a 2 bit counter with J.K flip-flop which counts up when x = 1 and counts down
when x = 0. [10]
SET - B
Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2018
Bachelor in Computer Applications Full Marks: 60
Course Title: Digital Logic Pass Marks: 24
Code No: CACS 105 Time: 3 hours
Semester: Ist
Group A
Attempt all the questions. 101 = 10
Candidates are required to answer the questions in their own words as far as possible.
Group B
Attempt any SIX questions. [65 = 30]
11. Subtract: 675.6 – 456.4 using both 10's and 9's complement. [5]
12. What is university logic gate? Realize NAND and NOR as an universal logic gates.
[1 + 2 + 2]
13. Simplify (using K- map) the given Boolean function F in both SOP and POS using
don't care conditions
A: BCD ABCD
F BCD BCD [2 + 3]
ABCD
14. Define encoder: Draw logic diagram and truth table of octal - to - binary encoder.
[1 + 4]
15. What is D flip-flop? Explain clocked RS flip-flop with its logic diagram and truth
table. [1 + 4]
16. Design MOD - 5 counter with state and timing diagram. [2 + 1 + 2]
17. Design a 4 - bit serial into parallel- out shift register with timing diagram. [3 + 2]
Group C
Attempt any TWO questions. [210 = 20]
18. Write difference between PLA and PAL. Design a PLA circuit with given functions.
F1 (A, B, C) = (2, 3, 5)
F2 (A, B, C) = (0, 4, 5, 7). Design PLA program table also. [3 + 7]
19. Define D flip-flop. Design a Master-slave flip-flop by using JK flip-flop along with its
circuit diagram and truth table. [2 + 8]
20. Write down the difference between asynchronous and synchronous counter. Design a
4- bit binary ripple counter along with its circuit, state and timing diagram. [3 + 7]