Chapter 03 Computer Function Interconnection
Chapter 03 Computer Function Interconnection
Computer Architecture
and Organization
Lets add the general purpose hardware segment that can accept a
code and generate control signals
Thus, instead of rewiring the hardware for each new program, the
programmer merely needs to supply a new set of control signals.
Program is now much easier. In stead of rewiring the hardware for
each new program, all we need to do is provide a new sequence of
code.
This sequence of code or instruction is called software
.
.
Computer Architecture and Organization 5
Graphical view of Programming in Hardware and
Software
A hardware segment accepts the code and issues the control signals
for various modules in the computer
The instruction contains bits that specify the action the processor is
to take.
The processor interprets the instruction and performs the required
action. In general, these actions fall into four categories
Processor-memory: Data may be transferred from processor to
memory or from memory to processor.
Processor-I/O: Data may be transferred to or from a peripheral
device by transferring between the processor and an I/O
module.
Data processing: The processor
Computer mayandperform
Architecture some arithmetic 16
Organization or
Execute cycle
In addition, there are external data paths for the input and output of
data with an external device.
Finally, an I/O module may be able to send interrupt signals to the
processor.
Processor: The processor reads in instructions and data, writes out
data after processing, and uses control signals to control the overall
operation of the system.
It also receives interrupt signals.
In all but the simplest systems, more than one module may need
control of the bus
For example, an I/O module may need to read or write directly to
memory, without sending the data to the processor
some method of arbitration is needed because only one unit at a
time can successfully transmit over the bus
The various methods can be roughly classified as being either
centralized or distributed
Computer Architecture
and Organization