Digital Logic Design: Credit Hours: 4
Digital Logic Design: Credit Hours: 4
Credit Hours: 4
Instructor Introduction
• Mr. Shahbaz Hassan (Lecturer)
• Contact: [email protected]
• The course introduces the logic operators and gates to lay the
framework for strengthening the understanding of computer
building blocks.
• Binary Digits
CD Player
Binary Digits
• Digits of a Binary system are called Bits (0,1)
• Two Voltage levels used to represent 1 and 0
• Codes (Combination of 1 and 0) represent
numbers, letters, symbols etc
• Positive Logic
– High = 1, Low = 0
• Negative Logic
– High = 0, Low = 1
Logic Levels
• Voltages used to represent 1 and 0 are logic levels
0 1 10 11
Class Task
• Problem: A periodic digital waveform has
pulse width of 25 us and a period of 150 us.
Determine the frequency and duty cycle?
frequency =
duty cycle =
Class Task
• If binary data are transferred on a USB at the
rate of 480Mbps , how long it will take to
serially transfer 16 bits.?
Basic Logic Operations
Logic Gates
Logic Gates
AND
NOT
Logic Gates
OR
System Concept
• Three basic logic elements combine to from
logic functions like comparison, arithmetic,
code conversion, encoding, decoding, data
selection, counting and storage.
• Digital system is an arrangement of the
individual logic functions connected to
perform a specified operation or produce
defined output.
Comparison Function
• Comparator:
Arithmetic Function
• Adder
Code Conversion
• Encoding Function:
Code Conversion
• Decoding Function:
Data Selection Function
• Multiplexer and Demultiplexer:
Storage Function
• Flip-flops: Bistable logic circuit, one bit at a time