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

Lecture 1

Uploaded by

Mohit Chauhan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Lecture 1

Uploaded by

Mohit Chauhan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Computer Architecture and Organization

Unit 1 Date: 06.08.2020

Presented By:
Kavita Rathi Panwar
Assistant Professor

Department of Computer Science & Engineering


Deenbandhu Chhotu Ram University of Science & Technology, Murthal
Unit 1

Functional blocks of a computer : CPU, Memory, input/output subsystems, control unit ,


Multilevel viewpoint of a machine: digital logic, micro architecture, ISA, operating systems,
high level language , RTL Computer Buses ( basic design using multiplexers), Bus width, Bus
clocking( synchronous , asynchronous), bus arbitration, Bus examples( ISA bus, PCI bus,
Universal serial bus) .

Assignment 1
Computer arithmetic –integer addition, subtraction and multiplication
Shift and add, Booth multiplier

To be submitted with in 10 days to emailed: [email protected]


Functional blocks of a computer
A computer consists of five functionally independent main parts input, memory, arithmetic logic unit (ALU), output and control
unit.

Input unit: The source program/high level language program/coded information/simple data is fed to a computer through
input devices; keyboard is a most common type. Whenever a key is pressed, one corresponding word or number is translated
into its equivalent binary code over a cable and fed either to memory or process. Joysticks, trackballs, mouse, and scanners are
other input devices.

Memory unit: Its function is to store programs and data.


It is basically to two types
1.Primary memory: Although primary storage is essential it tends to be expensive.
2.Secondary memory: Is used where large amounts of data & programs have to be stored, particularly information that is
accessed infrequently.

Output unit: These actually are the counterparts of input unit. Its basic function is to send the processed results to the
outside world.
Functional blocks of a computer
Control unit: It effectively is the nerve center that sends signals to other units and senses their states. The actual timing
signals that govern the transfer of data between input unit, processor, memory and output unit are generated by the control
unit.
Arithmetic logic unit (ALU): Most of the computer operators are executed in ALU of the processor like addition,
subtraction, division, multiplication, etc. the operands are brought into the ALU from memory and stored in high speed
storage elements called register. Then according to the instructions the operation is performed in the required sequence. The
control and the ALU are may times faster than other devices connected to a computer system. This enables a single processor to
control a number of external devices such as keyboards, displays, magnetic and optical disks, sensors and other mechanical
controllers.
Multilevel View Point of a machine
Multilevel View Point of a machine
Level 0: Digital Logic Level
• This level is where we find digital circuits (the chips).
• Digital circuits consist of gates and wires.
• These components implement the mathematical logic of all other levels.
• This level is where we view physical devices as just switches (On/Off).
• Instead of viewing their physical behaviour (i.e. in terms of voltages and currents) we use two value logic i.e.
0 (off) and 1(on)
Level 1: Control Level / Microarchitecture Level
• A control unit decodes and executes instructions and moves data through the system.
• Control units can be microprogrammed or hardwired.
Hardwired Control: Hardwired control units consist of hardware that directly executes machine instructions
I. The control logic is implemented with gates, flip flops, decoders, and other digital circuits.
II. It has the advantage that it can be optimized to produce a fast mode of operation.
III. Making any change is difficult
Microprogrammed Control: Microprogramed control unit is built around a storage unit called control memory
where all control signals are stored in program like format.
IV. Control memory stores a set of microprograms which are designed to implement instruction set.
V. Each instruction causes a set of microprogram to be fetched.
VI. And its control information is extracted in a manner that resembles the fetching and execution of program
from main memory.
VII. Design changes can be easy by just updating the contents of the control memory.
VIII.A microprogram is a program written in a low-level language that is implemented by the hardware.
Level 2: Machine Level
• Also known as the Instruction Set Architecture (ISA) Level.
• Consists of instructions that are particular to the architecture of the machine.
Instruction Set Architecture (ISA) The Instruction Set Architecture (ISA) is the part of the processor that
is visible to the programmer or compiler writer.
I. The ISA serves as the boundary between software and hardware.
II. An instruction set, or instruction set architecture (ISA), is the part of the computer architecture related to
programming, including the native data types, instructions, registers, addressing modes, memory architecture,
interrupt and exception handling, and external I/O.
III. An ISA includes a specification of the set of opcodes, the native commands implemented by a particular CPU
design.
Example: An operation (ADD) is a part of Instruction set stored in a memory. It is a binary code that tells
computer to perform ADD operation.
Level 3: System Software Level

• Controls executing processes on the system.


• Protects system resources.
• Assembly language instructions often pass through Level 3 without modification.
• Operating System software supervises other programs
I. Controls execution of multiple programs
II. Protects system resources. E.g. Memory and I/O devices

Other utilities - Compilers, Interpreters, Linkers, Library etc.

Level 4: Assembly Language Level

• Acts upon assembly language produced from Level 5, as well as instructions programmed directly at this level.
• Lowest human readable form before dealing with 1s and 0s (machine language)
• Assembler converts assembly to machine language
Level 5: High-Level Language Level
• The level with which we interact when we write programs in languages such as C, Pascal, Lisp, and Java
• The level allows users to write their own application with languages such as C, Java and many more
• High-level languages are easier to read, write, and maintain
• User at this level sees very little of the lower level

Level 6: The User Level


• Program execution and user interface level.
• The level with which we are most familiar.
• Composed of application programs such as Word Processor, Paint etc.
• The implementation of the application is hidden completely from the user
Actual Multilevel Computer
Operating System Machine

You might also like