Digital short notes in co, Study notes of Computer Architecture and Organization

introduction,implementation issues of addition,subtraction, multiplication,computer organisation,computer generation, binary number system, RISC,CISC

Typology: Study notes

2017/2018

Uploaded on 03/14/2018

Sak12345
Sak12345 🇮🇳

2 documents

1 / 610

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CET, IIT Guwahati
Computer Organization and Architecture Print this page
Web Course Developed for NPTEL
Computer Organization and Architecture
Objective: Course Developer
This web course is divided into 11 Modules, which is further
divided into Lectures.
Again each lectures contains along with the topic some
additional resourses, references etc.
For the detail syllabus of the course, click here...
Prof. J. K. Deka
Prof. Jatindra Kumar deka
is working as Assistant Professor in
Department of Computer Science and Engineering, IIT Guwahati
Contact Detail : Academic Profile:
Phone(O): +91 (361) 2582354
Phone(R): +91 (361) 2584354
Fax : +91 (361) 2690762
B. E., Motilal Nehru Regional Engineering College, Allahabad.
M. Tech., Indian Institute of Technology, Kharagpur.
Ph. D., Indian Institute of Technology, Kharagpur.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Digital short notes in co and more Study notes Computer Architecture and Organization in PDF only on Docsity!

CET, IIT Guwahati

Computer Organization and Architecture Print this page

Web Course Developed for NPTEL Computer Organization and Architecture

Objective: Course Developer This web course is divided into 1 1 Modules, which is further divided into Lectures.

Again each lectures contains along with the topic some additional resourses, references etc.

For the detail syllabus of the course, click here...

Prof. J. K. Deka

Prof. Jatindra Kumar deka is working as Assistant Professor in Department of Computer Science and Engineering, IIT Guwahati

Contact Detail : Academic Profile: Phone(O): +91 (361) 2582354 Phone(R): +91 (361) 2584354 Fax : +91 (361) 2690762 Email-id : [email protected]

l B. E., Motilal Nehru Regional Engineering College, Allahabad. l M. Tech., Indian Institute of Technology, Kharagpur. l Ph. D., Indian Institute of Technology, Kharagpur.

COA (Web Course), IIT Guwahati

Outline of the Course (COA) Print this page << Previous | First | Last | Next >> Outline of the Course :

The study materials provided in this web course is intended for the first level course on Computer Organization and Architecture. It can be used as a supplementary study materials for undergraduate course of Universities/Institutions in India. This web course will help the B. Tech./B.E. students for their course on Computer Organization and Architecture. It is also useful for the courses like BCA, MCA, B. Sc. (Computer Science/Information Technology), where Computer Organization and Architecture is taught as a compulsory subject.

The students who study Computer Organization and Architecture, generally study the introductory course on Digital Systems. The students should have some knowledge on Digital Logic Circuit Design course to go through this study materials.

Student should have also some preliminary idea about computer programming (in high level language), which will help them to understand how to program a computer to solve a problem; and how the program is executed in the computer.

COA (Web Course), IIT Guwahati

Outline of the Course (COA) Print this page << Previous | First | Last | Next >>

The study materials available in this web course should not be treated as a replacement to text books, rather it should be treated as a lecture notes prepared with the help of some text books.

The main text books used for preparing these lecture notes are:

  1. Computer Organization and Architecture: Designing for Performance Authors: William Stallings Publisher: Prentice-Hall India
  2. Computer Organization Authors: Carl Hamacher, Zvonko Vranesic and Safwat Zaky Publisher: McGraw Hill

COA (Web Course), IIT Guwahati

Outline of the Course (COA) Print this page << Previous | First | Last | Next >>

Other reference books :

  1. Computer Architecture A Quantitative Approach Authors: John L Hennessy and David Patterson Publisher: Morgan Kaufman
  2. Structured Computer Organization Authors: Andrew S. Tanenbaum Publisher: Prentice-Hall India
  3. Computer Organization and Design Authors: P. Paul Choudhury Publisher: Prentice-Hall India

COA (Web Course), IIT Guwahati

Outline of the Course (COA) Print this page << Previous | First | Last | Next >>

Memory or storage unit is an important unit in digital computer. In Module 3 , I have explained the memory module. First, the basic memory module is introduced along with its working principle. Then I moved to advanced features like Cache memory, virtual memory, etc. Some issues of memory management is also included in this module.

In Module 4 , I have explained the architectural issues, like different addressing mode, machine instruction and instruction format. The concepts of addressing modes and machine instruction formats are explained in general. For particular machine organization, one may look into Module 11 where the instruction format of 8085 and 8086 are explained in brief.

In Module 5 , the design issues of Central processor unit is explained. Both Hardwired-controlled and microprogrammed-controlled control unit design are explained. I have explained the concept in general, without taking any specific architecture or organization.

In Module 6 , concept of Input/Output mechanism is explained. The issues related to interrupt and interrupt handling mechanism has been taken care in this module. The concept of DMA is also explained in this module.

In Module 7 , the connection of Input/Output devices are explained and the concept of I/O buses are also explained. The organization of Hard Disk, the external storage device is also briefly explained in this module.

The concept of Reduced Instruction Set Computer (RISC) is explained in Module 8.

COA (Web Course), IIT Guwahati

Outline of the Course (COA) Print this page << Previous | First | Last | Next >>

The advanced issue, concept of pipeline is introduced in Module 9 and explained the design issues.

Module 10 talks about the advanced features like multi-processor and parallel processing.

In Module 11 , I have taken two case studies: Intel 8085 and Intel 8086 microprocessor. I tried to give the concept of instruction set design with the help of these two processors. Also, it includes the concept of assembly level programming and machine level programming.

COA, IIT Guwahati

Introduction to Computer System Print this page

<< Previous | First | Last | Next >>

Representation of Basic Information

The basic functional units of computer are made of electronics circuit and it works with electrical signal. We provide input to the computer in form of electrical signal and get the output in form of electrical signal.

There are two basic types of electrical signals, namely, analog and digital. The analog signals are continuous in nature and digital signals are discrete in nature.

The electronic device that works with continuous signals is known as analog device and the electronic device that works with discrete signals is known as digital device. In present days most of the computers are digital in nature and we will deal with Digital Computer in this course.

Computer is a digital device, which works on two levels of signal. We say these two levels of signal as High and Low. The High-level signal basically corresponds to some high-level signal (say 5 Volt or 12 Volt) and Low-level signal basically corresponds to Low-level signal (say 0 Volt). This is one convention, which is known as positive logic. There are others convention also like negative logic.

Since Computer is a digital electronic device, we have to deal with two kinds of electrical signals. But while designing a new computer system or understanding the working principle of computer, it is always difficult to write or work with 0V or 5V. To make it convenient for understanding, we use some logical value, say, LOW (L) - will represent 0V and HIGH (H) - will represent 5V

COA, IIT Guwahati

Introduction to Computer System Print this page

<< Previous | First | Last | Next >>

Computer is used to solve mainly numerical problems. Again it is not convenient to work with symbolic representation. For that purpose we move to numeric representation. In this convention, we use 0 to represent LOW and 1 to represent HIGH.

0 means LOW 1 means HIGH

To know about the working principle of computer, we use two numeric symbols only namely 0 and 1. All the functionalities of computer can be captured with 0 and 1 and its theoretical background corresponds to two valued boolean algebra.

With the symbol 0 and 1, we have a mathematical system, which is knows as binary number system. Basically binary number system is used to represent the information and manipulation of information in computer. This information is basically strings of 0s and 1s.

The smallest unit of information that is represented in computer is known as Bit ( Binary Digit ), which is either 0 or 1. Four bits together is known as Nibble , and Eight bits together is known as Byte.

COA, IIT Guwahati

Introduction to Computer System Print this page

<< Previous | First | Last | Next >>

It is difficult to give precise definition for the terms Computer Organization and Computer Architecture. But while describing computer system, we come across these terms, and in literature, computer scientists try to make a distinction between these two terms.

Computer architecture refers to those parameters of a computer system that are visible to a programmer or those parameters that have a direct impact on the logical execution of a program. Examples of architectural attributes include the instruction set, the number of bits used to represent different data types, I/O mechanisms, and techniques for addressing memory.

Computer organization refers to the operational units and their interconnections that realize the architectural specifications. Examples of organizational attributes include those hardware details transparent to the programmer, such as control signals, interfaces between the computer and peripherals, and the memory technology used.

In this course we will touch upon all those factors and finally come up with the concept how these attributes contribute to build a complete computer system.

COA, IIT Guwahati

Introduction to Computer System Print this page

<< Previous | First | Last | Next >>

Basic Computer Model and different units of Computer

The model of a computer can be described by four basic units in high level abstraction. These basic units are:

m Central Processor Unit

m Input Unit

m Output Unit

m Memory Unit

COA, IIT Guwahati

Introduction to Computer System Print this page

<< Previous | First | Last | Next >>

C. Output Unit :

With the help of output unit computer results can be provided to the user or it can be stored in stograge device permanently for future use. Output data from main storage go to output device under the control of CPU output instructions.

Example of output devices: Printer, Monitor, Plotter, Hard Disk, Floppy Disk etc.

D. Memory Unit :

Memory unit is used to store the data and program. CPU can work with the information stored in memory unit. This memory unit is termed as primary memory or main memory module. These are basically semi conductor memories.

There ate two types of semiconductor memories -

l Volatile Memory : RAM (Random Access Memory). l Non-Volatile Memory : ROM (Read only Memory), PROM (Programmable ROM) EPROM (Erasable PROM), EEPROM (Electrically Erasable PROM).

COA(Web Course), IIT Guwahati

Introduction to Computer System Print this page

<< Previous | First | Last | Next >>

Secondary Memory :

There is another kind of storage device, apart from primary or main memory, which is known as secondary memory. Secondary memories are non volatile memory and it is used for permanent storage of data and program.

Example of secondary memories:

Hard Disk, Floppy Disk, Magenetic Tape ------ These are magnetic devices, CD-ROM ------ is optical device Thumb drive (or pen drive) ------ is semiconductor memory.

COA (Web Course), IIT Guwahati

Introduction to Computer System Print this page

<< Previous | First | Last | Next >>

The different operations and their binary code is as follows:

Arithmatic Logical 000 ADD 100 OR 001 SUB 101 AND 010 MULT 110 NAND 011 DIV 111 ADD

Consider the part of control unit , its task is to generate the appropriate signal at right moment.

There is an instruction decoder in CPU which decodes this information in such a way that computer can perform the desired task

The simple model for the decoder may be considered that there is three input lines to the decoder and correspondingly it generates eight output lines. Depending on input combination only one of the output signals will be generated and it is used to indicate the corresponding operation of ALU.

In our simple model, we use three storage units in CPU, Two -- for storing the operand and one -- for storing the results. These storage units are known as register.

COA (Web Course), IIT Guwahati

Introduction to Computer System Print this page

<< Previous | First | Last | Next >>

But in computer, we need more storage space for proper functioning of the Computer.

Some of them are inside CPU, which are known as register. Other bigger junk of storage space is known as primary memory or main memory. The CPU can work with the information available in main memory only.

To access the data from memory, we need two special registers one is known as Memory Data Register (MDR) and the second one is Memory Address Register (MAR).

Data and program is stored in main memory. While executing a program, CPU brings instruction and data from main memory, performs the tasks as per the instuction fetch from the memory. After completion of operation, CPU stores the result back into the memory.

In next section, we discus about memory organization for our small machine.