0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
24 Ansichten3 Seiten
The document discusses key concepts in computer organization and architecture. It defines common components of a computer system like the CPU, memory, registers, buses, and I/O devices. It also explains the fetch-decode-execute cycle of instruction processing, different types of interrupts, and concurrency models like single-CPU time-sharing and multi-CPU parallel processing. Common operations like data transfer between CPU and memory are also outlined.
The document discusses key concepts in computer organization and architecture. It defines common components of a computer system like the CPU, memory, registers, buses, and I/O devices. It also explains the fetch-decode-execute cycle of instruction processing, different types of interrupts, and concurrency models like single-CPU time-sharing and multi-CPU parallel processing. Common operations like data transfer between CPU and memory are also outlined.
The document discusses key concepts in computer organization and architecture. It defines common components of a computer system like the CPU, memory, registers, buses, and I/O devices. It also explains the fetch-decode-execute cycle of instruction processing, different types of interrupts, and concurrency models like single-CPU time-sharing and multi-CPU parallel processing. Common operations like data transfer between CPU and memory are also outlined.
Instruction decode Halt state Opcode + operand / address Operand fetch Software halt Execute Halt input Auto shutdown Opcode + I operand / address +II operand / Store the result address Accumulator (AC) Frequency Every instruction specifies a macro operation Program Counter (PC) Time period to be performed by the CPU Memory address register (MAR) Duty cycle Opcode
Memory buffer register (MBR) Instruction set
Instruction register (IR) A clock signal has a frequency of 5 GHz with
General purpose register (GPR) a duty cycle of 40%. Calculate its period and Toexecute an instruction CPU has to perform I/O data register (IODR) pulse width. several micro operations. Clearing a register, incrementing a counter etc. I/O address register (IOAR)
Anevent inside a computer system requiring External Nested interrupts
some urgent action by the CPU External hardware error Interrupt priority CPU suspends the current program execution IO interrupt Interrupt masking Branches to an ISR NMI Non-maskable interrupt Common types | Data transfer Power fail | End of I/O I/O completion Memory parity error Data transfer Internal Bus cycle malfunction Overflow Hardware | Error in CPU hardware | Program exceptions (overflow, illegal opcode etc.) Software (INT instruction) Data transfer Instructionfrom memory to CPU A single CPU multiplexes among multiple Through CPU (SW) Data from memory to CPU programs executing them concurrently; all | Programmed mode Data from CPU to memory programs stay in a common memory | Interrupt mode Memory address from CPU to memory Bypassing CPU (HW) | DMA mode Port address from CPU to I/O controllers Command from CPU to I/O controllers Status from I/O controllers to CPU
Morethan one CPU in a single system with
each CPU executing a different program; each CPU may have a separate memory or all CPUs may share a common memory