Digital Electronics - Arun
Digital Electronics - Arun
Digital Electronics - Arun
DIGITAL ELECTRONICS
Binary Number System
• The binary number system is a base-2 numbering system that uses
only two digits, 0 and 1, to represent numbers. It is the foundation of
all digital systems and is commonly used in computers, digital
electronics, and other areas of technology. Here's how binary
numbers work, how to convert them to and from decimal (base-10),
and some basic binary operations.
Binary Number System Conversion and
representation
• 1. Binary Representation: In the binary number system, each digit
represents a power of 2. The rightmost digit is the least significant bit
(LSB), and the leftmost digit is the most significant bit (MSB).
•
Example of Binary to Decimal Conversion:
• Solution:
• (A+B)’ = A’.B’
• (A.B)’ = A’+B’
Logic Gates
• There are 3 types of logic gates-
• 1) Basic Gates: OR, AND, and NOT Gates.
• The output of a Sequential Circuit depends on both- past as well as present inputs.
• It works at a comparatively slower speed.
• The design of these circuits is comparatively much tougher than the Combinational Circuit.
• A feedback path exists between the output and the input.
• The circuit is time-dependent.
• Flip-flops constitute the building blocks of such a circuit.
• People mainly use them for storing data and information.
• They possess the capability of storing any data state or retaining an earlier state at any given point.
• Because a Sequential circuit depends on a clock, it usually requires triggering.
• They always possess a memory element.
• A user may not be able to handle and use these circuits easily.
• For Example – Counters, Flip-flops, etc.
S-R Latch using NAND /NOR Gate
• When using static gates as building blocks, the most fundamental
latch is the simple SR latch, where S and R stand for set and reset. It
can be constructed from a pair of cross-coupled NOR or NAND logic
gates. The stored bit is present on the output marked Q.
• The circuit shown below is a basic NAND latch. The inputs are
generally designated S and R for Set and Reset respectively. Because
the NAND inputs must normally be logic 1 to avoid affecting the
latching action, the inputs are considered to be inverted in this circuit
(or active low).
What is the difference between an SR latch
using a NAND gate and a NOR gate?
• An SR latch (Set-Reset Latch) is a fundamental electronic circuit used
in digital electronics, and it can be implemented using either NAND
gates or NOR gates.
• The main difference between an SR latch using a NAND gate and a
NOR gate is in the way the two gates handle input signals. In an SR
latch using NAND gates, the circuit is designed such that both S and
R inputs are inverted and then fed into a two-input NAND gate.
Whereas in an SR latch using NOR gates, the circuit is designed such
that both S and R inputs are fed into a two-input NOR gate.
Here are the differences in the truth tables
and operation of both types of SR latch:
• SR Latch with NAND Gates:
• S = 0, R = 0: Q and Q̅ hold their previous states.
• S = 0, R = 1: Q = 0, Q̅ = 1 (reset condition).
• S = 1, R = 0: Q = 1, Q̅ = 0 (set condition).
• S = 1, R = 1: Undefined state.