+/EE460N

computer architecture

git clone https://git.julia.blue/+/EE460N

Joseph RyanFinish Lab4c0e5108

master
6.8 KiB119 linesraw
1------------------------
2Grading for jryan
3------------------------
4
5Part - I : Code 
6=========================================================================
7Part A: Testing for compilation & assembly  
8=========================================================================
9=========================================================================
10Total points for Part A:        12/12
11=========================================================================
12
13
14=========================================================================
15    Part B: Testing implementation of exceptions (22 points)
16=========================================================================
17                                                        Student Expected
18                                                        Result  Result  
19=========================================================================
20 1. LDW (protection exception)              R0          0x3006  0x3006  
21                                            R1          0x1234  0x1234  
22                                            R2          0x1606  none    
23 2. STW (protection exception)              R0          0x300c  0x300c  
24                                            R1          0x000a  0x000a  
25                                            R2          0x000a  none    
26 3. LDB (protection exception)              R0          0x3006  0x3006  
27                                            R1          0x0034  0x0034  
28                                            R2          0x1606  none    
29 4. STB (protection exception)              R0          0x300c  0x300c  
30                                            R1          0x000a  0x000a  
31                                            R2          0x000a  none    
32 5. JMP (protection exception)              R0          0x0000  none    
33                                            R1          0x3008  none    
34                                            R2          0x0005  0x0005  
35 6. LDW  (unaligned exception)              R0          0x3007  0x3007  
36                                            R1          0x300c  0x300c  
37                                            R2          0x0005  0x0005  
38 7. STW  (unaligned exception)              R0          0x300e  0x300e  
39                                            R1          0x000a  0x000a  
40                                            R2          0x000a  none    
41 8. LDB (with odd address)                  R0          0x0014  0x0014  
42                                            R1          0x3009  none    
43                                            R2          0x0005  0x0005  
44 9. JMP (unaligned exception)               R0          0x3005  none    
45                                            R1          0x300a  none    
46                                            R2          0x0005  0x0005  
47 10. LDW (protected unaligned access)       R0          0x0007  0x0007  
48                                            R1          0x300c  0x300c  
49                                            R2          0x0005  0x0005  
50 11. OP10 (unknown opcode exception)        R0          0x0000  none    
51                                            R1          0x0000  none    
52                                            R2          0x0005  0x0005  
53 12. OP11 (unknown opcode exception)        R0          0x0000  none    
54                                            R1          0x0000  none    
55                                            R2          0x0005  0x0005  
56=========================================================================
57Total points for Part B:       22/22
58=========================================================================
59
60
61=========================================================================
62    Part C: Testing implementation of interrupts (20 points)
63=========================================================================
64                                                        Student Expected
65                                                        Result  Result  
66=========================================================================
67 1. Interrupt test 1                        R0          0xffff  0xffff  
68 2. Interrupt test 2 (saved PSR)            R0          0x0000  0x0000  
69                                            R1          0x0000  0x0000  
70=========================================================================
71Total points for Part C:      20/20
72=========================================================================
73
74
75=========================================================================
76Part D: Tests for correct functionality of instructions (1 point each)
77=========================================================================
78Instruction     Number of       Incorrect       Points
79                Differences     
80=========================================================================
81add             0                               1               
82and             0                               1               
83br              0                               1               
84not             0                               1               
85jmp             0                               1               
86jsr             0                               1               
87jsrr            0                               1               
88ldb             0                               1               
89ldw             0                               1               
90lea             0                               1               
91lshf            0                               1               
92rshfa           0                               1               
93rshfl           0                               1               
94stb             0                               1               
95stw             0                               1               
96xor             0                               1               
97=========================================================================
98Total points for Part D:     16/16
99=========================================================================
100=========================================================================
101Total points for Part-1                        :    70/70
102Total points for Part-1 (normalized out of 75) :    75/75
103=========================================================================
104
105
106
107=========================================================================
108Part 2: Design and Documentation (25 points)
109=========================================================================
110=========================================================================
111Total points for Part-2 : yet to be graded, assume 25 for now
112=========================================================================
113
114
115=========================================================================
116Assignment 4: Total points : 100/100
117=========================================================================
118EOF
119