Search for question
Question

COP 5612 Computer System Essentials Module 4: Processor Design (Single Cycle Implementation) and OS Structure 1. (10 pts) Draw the data path block diagram by hand for instruction fetch. Explain in your own words how the hardware works. Note: You should draw by hand the block diagram yourself and explain it in your own words. The intent of this question is that by drawing from scratch will help you understand better. Cut-n-paste from slides or any other source will get you a 0 score on this question. 2. (10 pts) Draw the data path block diagram by hand that executes R-type / Load / Store instructions. Explain in your own words how the hardware works. Note: You should draw by hand the block diagram yourself and explain it in your own words. The intent of this question is that by drawing from scratch will help you understand better. Cut-n-paste from slides or any other source will get you a 0 score on this question. 3. (10 pts) Draw the full data path block diagram by hand for R-type, load, store, and jump instructions. Explain in your own words how the hardware works. Note: You should draw by hand the block diagram yourself and explain it in your own words. The intent of this question is that by drawing from scratch will help you understand better. Cut-n-paste from slides or any other source will get you a 0 score on this question. 4. (7.5 pts) Make a copy of the full data path (Figure 1) provided at the end and highlight the data path when an R-type instruction is executed. 5. (7.5 pts) Make a copy of the full data path (Figure 1) provided at the end and highlight the data path when a load instruction is executed. 6. (7.5 pts) Make a copy of the full data path (Figure 1) provided at the end and highlight the data path when a store instruction is executed. 7. (7.5 pts) Make a copy of the full data path (Figure 1) provided at the end and highlight the data path when a jump instruction is executed. 8. (5 pts) Make a copy of the full data path with control (Figure 2) provided at the end and highlight the data path and show control values when an R-type instruction is executed. 9. (5 pts) Make a copy of the full data path with control (Figure 2) provided at the end and highlight the data path and show control values when a jump instruction is executed. 10. (10 pts) What are six types of system calls? For each type, give an example. 11. (10 pts) With the help of a diagram explain how the following OS is structured. a. (5 pts) MS-DOS b. (5 pts) Traditional Unix 12. (10 pts) Briefly answer the following a. (5 pts) What is a virtual machine? b. (5 pts) List five benefits of a VM. Figure 1 for questions 4, 5, 6, and 7. PC 4 >Add Read address Instruction Instruction memory Read register 1 Read register 2 Write register Write data Figure 2 for questions 8 and 9. Registers Read data 2 RegWrite Read data 1 32 Imm Gen 64 Shift left 1 ALUSrc MUX М 4 Add Sum PCSrc ALU operation Zero ALU ALU result MUX Address MemWrite MemRead Read data Data Write data memory MemtoReg PC 4→>> >Add Read address Instruction [31-0] Instruction memory Instruction [6-0] Instruction [19-15] Instruction [24-20] Instruction [11-7] Control Instruction [31-0] Branch MemRead MemtoReg ALUOP MemWrite ALUSrc RegWrite Read register 1 Read register 2 Write register 32 Read data 1 Read data 2 Write data Registers Imm Gen 64 Instruction [30,14-12] Shift left 1 (OMUX) Add Sum Zero ALU ALU result ALU control EUX - Address Read data Write Data data memory MUXO