Computer Organization and Architecture (18CIC33) : Bridge Course
Computer Organization and Architecture (18CIC33) : Bridge Course
(18CIC33)
BRIDGE COURSE
1
INTRODUCTION
LOGIC DESIGN
2
DIGITAL COMPUTER:
A digital computer stores data in terms of digits (numbers) and
proceeds in discrete steps from one state to the next.
3
DIGITAL LOGIC:
Digital Logic is the basis of electronic systems, such as
computers and cell phones.
Digital Logic gate functions include and, or and not. The value
system translates input signals into specific output.
4
DIGITAL LOGIC DESIGN:
o A digital computer stores data in terms of digits (numbers) and proceeds
in discrete steps from one state to the next.
Digital Logic Design is foundational to the fields of electrical
engineering and computer engineering.
Digital Logic designers build complex electronic components that use
both electrical and computational characteristics.
These characteristics may involve power, current, logical function,
protocol and user input.
Digital Logic Design is used to develop hardware, such as circuit boards
and microchip processors.
This hardware processes user input, system protocol and other data in
computers, navigational systems, cell phones or other high-tech
systems.
5
NUMBER SYSTEM
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.
7
TYPES OF NUMBER SYSTEM
(a) Binary Number System
A binary number system is used in the digital computers.
In this number system, it carries only two digits: either ‘0’ or ‘1’.
8
TYPES OF NUMBER SYSTEM
(a) Binary Number System – Characteristics:
It holds only two values, i.e., either ‘0’ or ‘1’.
The position of the last digit represents the ‘x’ power of the base(2).
Example: 2x, where ‘x’ represents the last position, i.e., 1.
The position in the decimal number system specifies the power of the
base (10).
The 0 is the minimum value of the digit, and 9 is the maximum value of
the digit.
For example: the decimal number 2541 consist of the digit 1 in the unit
position, 4 in the tens position, 5 in the hundreds position, and 2 in the
thousand positions and the value will be written as:
10
TYPES OF NUMBER SYSTEM
(c) Octal Number System:
The octal number system has base 8(means it has only eight digits from
0 to 7).
There are only eight possible digit values to represent a number. With
the help of only three bits, an octal number is represented.
11
TYPES OF NUMBER SYSTEM
(c) Octal Number System - Characteristics
An octal number system carries eight digits starting from 0, 1, 2, 3, 4,
5, 6, and 7.
The position of the last digit represents the x power of the base(8).
Example: 8x, where x represents the last position, i.e., 1
13
TYPES OF NUMBER SYSTEM
(d) Hexadecimal Number System:
It is another technique to represent the number in the digital system
called the hexadecimal number system.
The single-bit representation of decimal values10, 11, 12, 13, 14, and
15 are represented by A, B, C, D, E, and F.
16
NUMBER BASE CONVERSION
We have four types of number systems so each one can be
converted into the remaining three systems. There are the
following conversions possible in Number System:
Binary to other Number Systems.
Decimal to other Number Systems.
Octal to other Number Systems.
Hexadecimal to other Number Systems.
17
NUMBER BASE CONVERSION
18
SIGNED & UNSIGNED BINARY
NUMBERS
19
SIGNED & UNSIGNED BINARY NUMBERS
The integer variables are represented in a signed and unsigned
manner.
The unsigned numbers do not use any flag for the sign, i.e., only
positive numbers can be stored by the unsigned numbers.
20
BINARY NUMBER REPRESENTATION
Our computer can understand only (0, 1) language.
The binary numbers are represented in both ways, i.e., signed and
unsigned.
22
UNSIGNED NUMBERS
There is no sign bit in unsigned binary numbers so it can only
represent its magnitude.
In zero and one, zero is an unsigned binary number. There is only
one zero (0) in this representation, which is always positive.
Because of one unique binary equivalent form of a number in
unsigned number representation, it is known as unambiguous
representation technique.
The range of the unsigned binary numbers starts from 0 to (2 n -
1).
25
BOOLEAN ALGEBRA
PRINCIPLE OF DUALITY
LOGIC GATES
UNIVERSAL GATES
26
BOOLEAN ALGEBRA
o The logical symbol 0 and 1 are used for representing the digital
input or output.
o The symbols "1" and "0" can also be used for a permanently open
and closed digital circuit.
28
PROPERTIES OF BOOLEAN ALGEBRA
Boolean Algebra Rule :
Operation with 0 and 1:
A + 0 = A , A + 1 = 1 , A •1 = A , A •0 = 0
Idempotent Law: A + A = A , A •A = A
Complementary Law: A + A' = 1 , A •A' = 0
Commutative Law: A + B = B + A , A •B = B •A
Associative Law:
A + (B + C) = (A + B) + C , A •( B •C) = (A •B) •C
Distributive Law:
A •( B+ C) = (A •B) + (A •C) , A + (B •C) = (A +B) •(A +C)
De-Morgan's Law: (A + B)' = A' •B’, (A •B )’= A’+ B’
General Form:
(A1+ A2+ A3+ …An)' = A1' •A2' •A3' •…An’ 29
30
BOOLEAN FUNCTION SIMPLIFICATION
31
LOGIC GATES
Logic gates play an important role in circuit design and digital
systems.
These gates can have one input or more than one input, but most
of the gates have two inputs.
(B)
TheOR GATE
OR gate is a circuit which performs the OR operation of the inputs.
This gate also has a minimum of 2 input values and an output value.
33
(C) NOT GATE
The NOT gate is also called an inverter. This gate gives the inverse
value of the input value as a result. This gate has only one input and
one output value.
34
(D) XOR GATE
The XOR gate is also known as the Ex-OR gate. The XOR gate is used
in half and full adder and subtractor.
This gate can have two or more than two input values and only one
output value.
35
(E) XNOR GATE
The XNOR gate is also known as the Ex-NOR gate. The XNOR gate is
used in half and full adder and subtractor.
This gate can have two or more than two input values and only one
output value.
36
UNIVERSAL GATES
A universal gate is a gate which can implement any Boolean
function without need to use any other gate type.
37
(A) NAND GATE
The NAND gate is the combination of AND gate and NOT gate.
This gate can have two or more than two input values and only one
output value.
38
(B) NOR GATE
The NOR gate is the combination of an OR gate and NOT gate.
This gate can have two or more than two input values and only one
output value.
39
COMBINATIONAL & SEQUENTIAL CIRCUITS
COMBINATIONAL CIRCUITS
SEQUENTIAL CIRCUITS
40
COMBINATIONAL CIRCUITS
Combinational circuit is a circuit in which we combine the different
gates in the circuit.
Hence, the previous state of input does not have any effect on the
present state of the circuit.
But sequential circuit has memory so output can vary based on input.
This type of circuits uses previous input, output, clock and a memory
element.
43
SEQUENTIAL CIRCUITS
The block Diagram of Sequential Circuit is shown below:
44