lab-05-Rushilwiz/tests/directmapping_output1.txt
github-classroom[bot] 58eae3479f
Initial commit
2024-04-03 15:17:27 +00:00

237 lines
5.2 KiB
Plaintext

------------------------
[STEP 1] Setting up physical memory
------------------------
Physical memory addressable bits = 8, total number of blocks = 64
------------------------
[STEP 2] Determining physical memory block locations
------------------------
------------------------
[STEP 3] Select cache mapping function (CMF)
------------------------
1 = Direct mapping
2 = Fully associative
------------------------
Please enter 1 or 2:
------------------------
[STEP 4] initializing cache
------------------------
------------------------
[STEP 5] Starting simulation
------------------------
CMF is Direct Mapping
To exit simulation, press Ctrl+C
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 00 (Base-10 value 0)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 1
1 -1 0
2 -1 0
3 -1 0
4 -1 0
5 -1 0
6 -1 0
7 -1 0
[MISS:No Replacement] The byte value at memory address 00 is 7F
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 01 (Base-10 value 1)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 2
1 -1 0
2 -1 0
3 -1 0
4 -1 0
5 -1 0
6 -1 0
7 -1 0
[HIT:No Replacement] The byte value at memory address 01 is 24
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 01 (Base-10 value 1)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 3
1 -1 0
2 -1 0
3 -1 0
4 -1 0
5 -1 0
6 -1 0
7 -1 0
[HIT:No Replacement] The byte value at memory address 01 is 24
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 02 (Base-10 value 2)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 4
1 -1 0
2 -1 0
3 -1 0
4 -1 0
5 -1 0
6 -1 0
7 -1 0
[HIT:No Replacement] The byte value at memory address 02 is 7A
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 03 (Base-10 value 3)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 5
1 -1 0
2 -1 0
3 -1 0
4 -1 0
5 -1 0
6 -1 0
7 -1 0
[HIT:No Replacement] The byte value at memory address 03 is 41
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 05 (Base-10 value 5)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 5
1 00 1
2 -1 0
3 -1 0
4 -1 0
5 -1 0
6 -1 0
7 -1 0
[MISS:No Replacement] The byte value at memory address 05 is 7F
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 08 (Base-10 value 8)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 5
1 00 1
2 00 1
3 -1 0
4 -1 0
5 -1 0
6 -1 0
7 -1 0
[MISS:No Replacement] The byte value at memory address 08 is 33
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 0D (Base-10 value 13)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 5
1 00 1
2 00 1
3 00 1
4 -1 0
5 -1 0
6 -1 0
7 -1 0
[MISS:No Replacement] The byte value at memory address 0D is 67
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 15 (Base-10 value 21)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 00 5
1 00 1
2 00 1
3 00 1
4 -1 0
5 00 1
6 -1 0
7 -1 0
[MISS:No Replacement] The byte value at memory address 15 is 7F
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 22 (Base-10 value 34)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 01 1
1 00 1
2 00 1
3 00 1
4 -1 0
5 00 1
6 -1 0
7 -1 0
[MISS:Replacement] The byte value at memory address 22 is 7F
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 37 (Base-10 value 55)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 01 1
1 00 1
2 00 1
3 00 1
4 -1 0
5 01 1
6 -1 0
7 -1 0
[MISS:Replacement] The byte value at memory address 37 is 0D
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 59 (Base-10 value 89)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 01 1
1 00 1
2 00 1
3 00 1
4 -1 0
5 01 1
6 02 1
7 -1 0
[MISS:No Replacement] The byte value at memory address 59 is 68
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address 90 (Base-10 value 144)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 01 1
1 00 1
2 00 1
3 00 1
4 04 1
5 01 1
6 02 1
7 -1 0
[MISS:No Replacement] The byte value at memory address 90 is 62
Please enter 8-bit hexadecimal address: Entered Hexadecimal (Base-16) address E9 (Base-10 value 233)
---------------------------------------------
line tag num of hits
---------------------------------------------
0 01 1
1 00 1
2 07 1
3 00 1
4 04 1
5 01 1
6 02 1
7 -1 0
[MISS:Replacement] The byte value at memory address E9 is 7F