Module-1 Part 1
Module-1 Part 1
• Introduction
• Number Systems
• Complements
• Fixed and Floating Point Presentation
• Character Representation
• Addition
• Subtraction
• Magnitude Comparison
• Logic Gates
• Boolean Algebra
• Combinational Circuits
• Circuit Simplification
• Computer Organization:
• Deals with the internal view of the computer and the roles that the internal components play while executing a program
• Deals with how different components like processor, memory and other peripheral devices are connected and the roles that they
play during execution of a program
• Processor organization: deals with how main components of a processor are interconnected and their role
• Memory Organization: deals with how memory components are structured and interconnected
• The system programmers write the programs for a specific architecture and the designers implement an architecture to arrive at a
certain computer organization.
• Computer Design:
• Concerned with the hardware design of the computer
• Once the architecture and the other formulations of the computer has been done, it is the work of the designer to design a hardware
to implement them
• Helps in determining what hardware is to be used and how they are supposed to be connected to carry out a certain task
• Also known as Computer Implementation
• Processor
• Responsible for fetching instructions from memory and execute them
• Contains ALU and Control Unit for manipulating data
• Registers for storing data
• Control unit generates control signal to fetch and execute instructions and store the result
• Main Memory
• Called RAM (Random Access Memory)
• CPU can access any location in memory at random and either retrieve binary information stored at that location or store a binary information at that location
• Monitor
• Primary output device
• Display high quality graphics and animation
• Keyboard
• Primary input device
• Peripheral Devices
• Various input devices (scanners and cameras) or output devices (printers and loud speakers) can be attached to the backplane bus
• Backplane bus
• Contains control, data and address lines (wires) to carry control signals/ data/ address of the memory location
For students
Write a short note on the following:
• 1st Generation Computers
• 2nd Generation Computers
• 3rd Generation Computers
• 4th Generation Computers
• 5th Generation Computers
• In a digital system, the system can understand only the optional number system. In these systems, digits symbols
are used to represent different values, depending on the index from which it settled in the number system.
• In simple terms, for representing the information, we use the number system in the digital system.
• The digit value in the number system is calculated using:
1. The digit
2. The index, where the digit is present in the number.
3. Finally, the base numbers, the total number of digits available in the number system.
Types of Number System
• In the digital computer, there are various types of number systems used for representing information.
1. Binary Number System
2. Decimal Number System
3. Hexadecimal Number System
4. Octal Number System
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
(152)10=(10011000)2
Step 2: Now, perform the multiplication of 0.27 and successive
fraction with base 2.
Operation Result carry
0.25×2 0.50 0
0.50×2 0 1
(0.25)10=(.01)2
Kalinga Institute of Industrial Technology (Deemed to be University), Bhubaneswar 07/01/2023 24
N U M B E R S Y S T E M
(152)10=(230)8
Step 2: Now perform the multiplication of 0.25 and successive fraction with base 8.
Operation Result carry
0.25×8 0 2
(0.25)10=(2)8
So, the octal number of the decimal number 152.25 is 230.2
• Boolean Algebra is an algebra that deals with binary variables and logic operations.
• Boolean Algebra is used primarily by design engineers. Using this system, they are able to arrange logic gates to accomplish
desired tasks.
• Boolean algebra also enables the engineers to achieve the desired output by using the fewest number of logic gates. Since
space, weight, and cost are important factors in the design of equipment, you would usually want to use as few parts as
possible.
• Basic Identities of Boolean Algebra can be used to reduce the expression to a simpler one with less no. of gates.
• AND, OR, NOT (Complement) are the three basic Logical Operations
• A Boolean function can be expressed algebraically with Binary variables, logic operation symbols, parentheses and equal sign
• For a given value of variables, the Boolean function can either be 1 or 0.
• Boolean function can be specified by truth table/ Logical Expression/Logic gates
De Morgan’s Theorem
According to De Morgan's theorem, a NAND gate is equivalent to an OR gate with inverted inputs. Similarly, a NOR gate is
equivalent to an AND gate with inverted inputs. The figure shows these De Morgan equivalent gates for NAND and NOR gates.
The two symbols shown for each function are called duals. They are logically equivalent and can be used interchangeably.
Again using distributive law, we get Hence, the reduced form of F(P, Q, R) = (P+Q)(P+R) is
F(P, Q, R) = P+Q.R.
⇒ F(P, Q, R) = P(1+R) + Q.P + Q.R
Also, check: Distributive Property
x’y’z +yz+ xz = z [(x’ + y) . 1 + x] [Since A+A’ = 1] Hence, the Boolean expression equivalent to x’y’z +yz+
xz is z
x’y’z +yz+ xz = z [x’ + y + x]
Obtain the truth table of the following functions, and express each function in sum‐of‐
minterms and product‐of‐maxterms form:
(a)(b + cd)(c + bd)
(b)(cd + b'c + bd')(b + d)
(c)(c' + d)(b + c’)
(d)bd' + acd' + ab'c + a'c'
For students- Design a half adder and a full adder using NAND and NOR gates
MAGNITUDE COMPARATOR
A magnitude digital Comparator is a combinational circuit that compares two digital or binary numbers in order to find out whether one
binary number is equal, less than, or greater than the other binary number. We logically design a circuit for which we will have two inputs
one for A and the other for B and have three output terminals, one for A > B condition, one for A = B condition, and one for A < B
condition.
MAGNITUDE COMPARATOR
For students- Find the equations using K-Map for A<B, A=B and A>B
DECODERS
• In Digital Electronics, discrete quantities of information are represented by binary codes. A binary code of n bits is capable of representing up
to 2^n distinct elements of coded information. The name “Decoder” means to translate or decode coded information from one format into
another, so a digital decoder transforms a set of digital input signals into an equivalent decimal code at its output. A decoder is a combinational
circuit that converts binary information from n input lines to a maximum of 2^n unique output lines.
• Applications of Decoder:
• It is used in code conversion. i.e analog to digital conversion in the analog decoder.
• It may also be used for data distribution.
• In a high-performance memory system, this decode can be used to minimize the effect of system decoding.
• The decoder is used as address decoders in CPU memory location identification.
• It is also be used in electronic circuits to convert instruction into CPU control signals.
• They are mainly used in logical circuits, data transfer.
• They can also be used to create simple other digital logics like half adders and full adders and some other digital design also.
• Microprocessor selecting different I/O devices.
• It decoding to binary input to activate the LED segments so that the decimal number can be displayed.
• Microprocessor memory system selecting different banks of memory.
DECODERS
MULTIPLEXERS
• It is a combinational circuit which have many data inputs and single output depending on control or select inputs.For N
input lines, log n (base2) selection lines, or we can say that for 2n input lines, n selection lines are required. Multiplexers
are also known as “Data n selector, parallel to serial convertor, many to one circuit, universal logic circuit”. Multiplexers
are mainly used to increase amount of the data that can be sent over the network within certain amount of time and
bandwidth.
• Multiplexer are used in various fields where multiple data need to be transmitted using a single line. Following are some of
the applications of multiplexers –
• Communication System – Communication system is a set of system that enable communication like transmission system, relay and
tributary station, and communication network. The efficiency of communication system can be increased considerably using multiplexer.
Multiplexer allow the process of transmitting different type of data such as audio, video at the same time using a single transmission line.
• Telephone Network – In telephone network, multiple audio signals are integrated on a single line for transmission with the help of
multiplexers. In this way, multiple audio signals can be isolated and eventually, the desire audio signals reach the intended recipients.
• Computer Memory – Multiplexers are used to implement huge amount of memory into the computer, at the same time reduces the
number of copper lines required to connect the memory to other parts of the computer circuit.
• Transmission from the Computer System of a Satellite – Multiplexer can be used for the transmission of data signals from the computer
system of a satellite or spacecraft to the ground system using the GPS (Global Positioning System) satellites.
MULTIPLEXERS