-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOutput.txt
More file actions
188 lines (188 loc) · 5.56 KB
/
Copy pathOutput.txt
File metadata and controls
188 lines (188 loc) · 5.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
5
At that byte there is the value 05 (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
6
At that byte there is the value 06 (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
7
At that byte there is the value 07 (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
14c
At that byte there is the value 4C (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
14d
At that byte there is the value 4D (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
14e
At that byte there is the value 4E (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
14f
At that byte there is the value 4F (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
150
At that byte there is the value 50 (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
151
At that byte there is the value 51 (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
3A6
At that byte there is the value A6 (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
4C3
Cache Miss.
Value found after fetching block from main memory: C3
(R)ead, (W)rite, or (D)isplay Cache?
D
Slot Valid Tag Data
0 1 0 000102030405060708090A0B0C0D0E0F
1 0 0 00000000000000000000000000000000
2 0 0 00000000000000000000000000000000
3 1 0 303132333435363738393A3B3C3D3E3F
4 1 1 404142434445464748494A4B4C4D4E4F
5 1 1 505152535455565758595A5B5C5D5E5F
6 0 0 00000000000000000000000000000000
7 0 0 00000000000000000000000000000000
8 0 0 00000000000000000000000000000000
9 0 0 00000000000000000000000000000000
A 1 3 A0A1A2A3A4A5A6A7A8A9AAABACADAEAF
B 0 0 00000000000000000000000000000000
C 1 4 C0C1C2C3C4C5C6C7C8C9CACBCCCDCECF
D 0 0 00000000000000000000000000000000
E 0 0 00000000000000000000000000000000
F 0 0 00000000000000000000000000000000
(R)ead, (W)rite, or (D)isplay Cache?
W
What address would you like to write to?
14C
What data would you like to write at that address?
99
Value 99 has been written to address 14C. (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
W
What address would you like to write to?
63B
What data would you like to write at that address?
7
Value 07 has been written to address 63B. (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
582
Cache Miss.
Value found after fetching block from main memory: 82
(R)ead, (W)rite, or (D)isplay Cache?
D
Slot Valid Tag Data
0 1 0 000102030405060708090A0B0C0D0E0F
1 0 0 00000000000000000000000000000000
2 0 0 00000000000000000000000000000000
3 1 6 303132333435363738393A073C3D3E3F
4 1 1 404142434445464748494A4B994D4E4F
5 1 1 505152535455565758595A5B5C5D5E5F
6 0 0 00000000000000000000000000000000
7 0 0 00000000000000000000000000000000
8 1 5 808182838485868788898A8B8C8D8E8F
9 0 0 00000000000000000000000000000000
A 1 3 A0A1A2A3A4A5A6A7A8A9AAABACADAEAF
B 0 0 00000000000000000000000000000000
C 1 4 C0C1C2C3C4C5C6C7C8C9CACBCCCDCECF
D 0 0 00000000000000000000000000000000
E 0 0 00000000000000000000000000000000
F 0 0 00000000000000000000000000000000
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
348
Cache Miss.
Value found after fetching block from main memory: 48
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
3F
Cache Miss.
Value found after fetching block from main memory: 3F
(R)ead, (W)rite, or (D)isplay Cache?
D
Slot Valid Tag Data
0 1 0 000102030405060708090A0B0C0D0E0F
1 0 0 00000000000000000000000000000000
2 0 0 00000000000000000000000000000000
3 1 0 303132333435363738393A3B3C3D3E3F
4 1 3 404142434445464748494A4B4C4D4E4F
5 1 1 505152535455565758595A5B5C5D5E5F
6 0 0 00000000000000000000000000000000
7 0 0 00000000000000000000000000000000
8 1 5 808182838485868788898A8B8C8D8E8F
9 0 0 00000000000000000000000000000000
A 1 3 A0A1A2A3A4A5A6A7A8A9AAABACADAEAF
B 0 0 00000000000000000000000000000000
C 1 4 C0C1C2C3C4C5C6C7C8C9CACBCCCDCECF
D 0 0 00000000000000000000000000000000
E 0 0 00000000000000000000000000000000
F 0 0 00000000000000000000000000000000
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
14b
Cache Miss.
Value found after fetching block from main memory: 4B
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
14c
At that byte there is the value 99 (Cache Hit)
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
63F
Cache Miss.
Value found after fetching block from main memory: 3F
(R)ead, (W)rite, or (D)isplay Cache?
R
What address would you like read?
83
Cache Miss.
Value found after fetching block from main memory: 83
(R)ead, (W)rite, or (D)isplay Cache?
D
Slot Valid Tag Data
0 1 0 000102030405060708090A0B0C0D0E0F
1 0 0 00000000000000000000000000000000
2 0 0 00000000000000000000000000000000
3 1 6 303132333435363738393A073C3D3E3F
4 1 1 404142434445464748494A4B994D4E4F
5 1 1 505152535455565758595A5B5C5D5E5F
6 0 0 00000000000000000000000000000000
7 0 0 00000000000000000000000000000000
8 1 0 808182838485868788898A8B8C8D8E8F
9 0 0 00000000000000000000000000000000
A 1 3 A0A1A2A3A4A5A6A7A8A9AAABACADAEAF
B 0 0 00000000000000000000000000000000
C 1 4 C0C1C2C3C4C5C6C7C8C9CACBCCCDCECF
D 0 0 00000000000000000000000000000000
E 0 0 00000000000000000000000000000000
F 0 0 00000000000000000000000000000000
(R)ead, (W)rite, or (D)isplay Cache?