Computer Architecture: 1. Draw A Diagram Single Bus Organization of The Data Path Inside A Processor
Computer Architecture: 1. Draw A Diagram Single Bus Organization of The Data Path Inside A Processor
1. Draw a diagram single bus organization of the data path inside a processor.
To accommodate variability in response time, the processor wait until received a indication that the requested
read operation has been completed – MFC (Memory-Function-Completed) control signal used for this
purpose.
As an example of a read operation, consider the instruction move (R1),R2. The actions needed to execute this
instruction are:
1. MAR← [R1]
2. Start a read operation on the memory bus
3. Wait for the MFC response from the memory
4. Load MDR from the memory bus
5. R2←[MDR]
Where WMFC is the control signal that causes the processor’s control circuitry to wait for the arrival of the
MFC signal.
4. What is interrupt and interrupt request? Enabling and disabling interrupt.
Interrupt: We already notice that an I/O device requests an interrupt by activating a bus line called
interrupt-request.
interrupt request: Most computer are likely to have several I/O devices that can request an interrupt.
A single interrupt-request line may be used to serve n devices as depicted in the below figure-
A simple arrangement to connect I/O devices to a computer is to use a single bus arrangement.
The Bus enables all the devices connected to it to exchange information. Typically, it consists of three sets of
lines used to carry address, data, and control signals.
Each I/O device is assigned a unique set of addresses. When the processor places a particular address on the
address lines, the device that recognizes this address responds to the commands issued on the control lines.
The processor requests either a read or a write operation, and the requested data are transferred over the data lines.
When I/O devices and the memory share the same address space, the arrangement is called memory-mapped I/O.
With memory-mapped I/O, any machine instruction can access memory can be used to transfer data to or from an
I/O device. For example, if DATAIN is address of the input buffer associated with the keyboard, the instruction
Most computer systems use memory-mapped I/O. Some processor have special In and Out instructions to perform
I/O transfer.
For Example Processor in Intel family have special I/O instruction and a separate 16- bit address space for I/O
devices.
One advantage of a separate I/O address space is that I/O devices deal with fewer address lines.
In single bus structure inside the CPU, different components are linked by a single bus. The various
components available inside CPU in this architecture includes Instruction Register (IR), Instruction Decoder
(ID), Program Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR), Arithmetic
and Logic Unit (ALU) and General purpose Register. Now, the question is what are CPU registers and what
are the types of registers used in single bus structure Let’s discuss these in details.
11. What is interrupt nesting? Define interrupt-request line & interrupt service routine.
interrupt nesting: The mechanism by which one interrupt preempts another is called nesting. The handling
of nested interrupts can be unpredict- able. Other issues can arise, such as a variable amount of delay prior to
servicing a low-priority interrupt, or a higher program stack size requirement.
interrupt service routine: In computer systems programming, an interrupt handler, also known as an
interrupt service routine or isr , is a callback function in microcontroller firmware, an operating system, or a
device driver whose execution is triggered by the reception of an interrupt. when interrupt is generated the
cpu jumps to a special code call isr address.