0% found this document useful (0 votes)
11 views

Lecture-1 Logic Gates

The document discusses computer architecture and its main components - system design, instruction set architecture, and microarchitecture. It also describes how digital computers use binary numbers and logic gates like AND, OR, NOT, NAND, NOR, XOR, and XNOR to manipulate and represent information. Hardware description languages like Verilog and VHDL are used to describe digital circuits in a textual format.

Uploaded by

Nouman Shabbir
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Lecture-1 Logic Gates

The document discusses computer architecture and its main components - system design, instruction set architecture, and microarchitecture. It also describes how digital computers use binary numbers and logic gates like AND, OR, NOT, NAND, NOR, XOR, and XNOR to manipulate and represent information. Hardware description languages like Verilog and VHDL are used to describe digital circuits in a textual format.

Uploaded by

Nouman Shabbir
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

“If people do not believe that mathematics is simple, it is only because

they do not realize how complicated life is.”

. . . . J o h n von Neumann

 Compute Architecture:
o Computer Architecture is a specification describing how hardware
and software technologies interact to create a computer platform or
system.
o Computer architecture consists of three main categories:
 System Design:
 This includes all the hardware parts, s u ch as C P U,
data processors, multiprocessors, memory controllers
and direct memory access. This part is the actual
computer system.
 Instruction Set Architecture:
 This includes the CPU’s functions and capabilities; the
CPU’s programming language, data formats, processor
register types and instructions used by computer
programmers. This part is the software that makes it
run, s u ch as Windows or Photoshop etc.
 Microarchitecture:
 This defines the data processing and storage element
or data paths and how they should be implemented
into the instruction set architecture.
 Digital Computers:
o The digital computer is a digital system that performs various
computational tasks.
o Digital Computers use the binary number system, which has two
digits: 0 and 1.
 A binary digit is called a bit.
o Information is represented in digital computers in groups of bits.
o By using various coding techniques, groups of bits can be made to
represent not only binary numbers but also discrete symbols s u ch
as decimal digits or letters of the alphabet.
 Logic Gates:
o Binary information is represented in digital computers by physical
quantities called signals.
represent binary 0.
o The manipulation of binary information is done by logic circuits
called gates.
 Gates are blocks of hardware that produce signals of binary
1 or 0 when input logic requirements are satisfied.
o The input-output relationship of the binary variables for each gate
can be represented in tabular form by a truth table.
o The various logic gates are:
 AND
 OR
 NOT
 NAND
 NOR
 XO R
 XNOR
 Hardware Description Language(HDL):
o H D L is a textual language that is specifically intended to clearly
and concisely capture the defining features of digital design to
describe the digital circuits.
 Another approach to describe a digital circuit is visual
approach called schematic. In theory, we could interpret a
C P U as a vast sea of transistors, but it is m u ch easier to
organize transistors into logic gates, logic gates into adders
or registers or timing modules, registers into memory banks
and so forth.
 This hierarchical structure allows u s to effectively
represent a digital circuit by means of interconnected
diagrams.
o The most popular hardware description languages are Verilog and
VHDL (VHIC-HDL, Very High Speed Integrated Circuit Hardware
Description Language).
 ABEL (Advanced Boolean Expression Language) now
obsolete.
The algebra operation symbol of the AND function is same as
the multiplication symbol of ordinary arithmetic. We can either
use a dot between the variables or concatenate the variables
without an operation symbol between them. Other
representations of AND function is as below:

AND gates may have more than two inputs, and by definition, the
output is 1 if and only if all inputs are 1.
The algebraic symbol of the O R function is +, similar to arithmetic
addition. Other representations of O R function is as below:

O R gates may have more than two inputs, and by definition, the
output is 1 if any input is 1.
The algebraic symbol used for the logic complement is either a
prime or a bar over the variable symbol. Other representations of
NOT function are as below:

 NAND Gate:
o The NAND function is the complement of the AND function, as
indicated by the graphic symbol, which consists of an AND graphic
symbol followed by a small circle.
The designation NAND is derived from the abbreviation of NOT-
AND.

 NOR Gate:
o The NOR gate is the complement of the O R gate and uses an O R
graphic symbol followed by a small circle.
 Exclusive- O R (XOR) Gate:
o The output of XO R gate is 1 if any input is 1 but excludes the
combination when both inputs are 1.

XO R function can also be written as Z= X`Y+XY`.


Other representations are as follows:
The exclusive-NOR operation is also termed as an odd function
because its output is 1 if an odd number of inputs are 1.
Other representations of X N O R are:

You might also like