Skip to content

Commit

Permalink
half inserted DCache
Browse files Browse the repository at this point in the history
  • Loading branch information
jabepi authored and StefanoPetrilli committed Jan 23, 2024
1 parent 9817902 commit 7d4daea
Show file tree
Hide file tree
Showing 15 changed files with 675 additions and 611 deletions.
28 changes: 28 additions & 0 deletions programs/dcache_ops.o
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,26 @@
10
00
23
03
11
10
00
23
03
11
10
00
23
03
11
10
00
23
03
11
10
00
23
20
11
00
Expand All @@ -25,4 +45,12 @@
00
00
00
00
00
00
00
00
00
00
00
00
22 changes: 16 additions & 6 deletions programs/dcache_ops.s
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Instruction Binary Hex
# Instruction Binary Hex Addr

nop 000000000000 00000 000 00000 0000000 00000000
nop 000000000000 00000 000 00000 0000000 00000000
li $r1 <- 2 000000000010 00000 001 00001 0000011 00201083
nop 000000000000 00000 000 00000 0000000 00000000 00000000
nop 000000000000 00000 000 00000 0000000 00000000 00000004
li $r1 <- 2 000000000010 00000 001 00001 0000011 00201083 00000008
2 0 0 r1 Itype
li $r2 <- 1 000000000001 00000 001 00010 0000011 00101103
li $r2 <- 1 000000000001 00000 001 00010 0000011 00101103 0000000C
1 0 0 r2 Itype
li $r2 <- 1 000000000001 00000 001 00010 0000011 00101103 0000000C
1 0 0 r2 Itype
li $r2 <- 1 000000000001 00000 001 00010 0000011 00101103 0000000C
1 0 0 r2 Itype
stw 0(r2) <- r1 0000000 00001 00010 010 00000 0100011 00112023
li $r2 <- 1 000000000001 00000 001 00010 0000011 00101103 0000000C
1 0 0 r2 Itype
li $r2 <- 1 000000000001 00000 001 00010 0000011 00101103 0000000C
1 0 0 r2 Itype
stw 0(r2) <- r1 0000000 00001 00010 010 00000 0100011 00112023 00000010
0 1 2 0 Stype
nop 000000000000 00000 000 00000 0000000 00000000
nop 000000000000 00000 000 00000 0000000 00000000
nop 000000000000 00000 000 00000 0000000 00000000
nop 000000000000 00000 000 00000 0000000 00000000
Loading

0 comments on commit 7d4daea

Please sign in to comment.