summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inst.v2
-rw-r--r--instr-table.tex2
-rw-r--r--opcodes2
3 files changed, 3 insertions, 3 deletions
diff --git a/inst.v b/inst.v
index 0266b6d..5615b34 100644
--- a/inst.v
+++ b/inst.v
@@ -82,7 +82,7 @@
`define JALR_C 32'b1111011_?????_00000_0000000000_?????
`define JALR_R 32'b1111011_?????_00000_0000000001_?????
`define JALR_J 32'b1111011_?????_00000_0000000010_?????
-`define RDPC 32'b1111011_00000_00000_0010000000_?????
+`define RDNPC 32'b1111011_00000_00000_0010000000_?????
`define MFCR 32'b1111011_00000_?????_0100000000_?????
`define MTCR 32'b1111011_?????_?????_0110000000_00000
`define SYNC 32'b1111011_00000_00000_1000000000_00000
diff --git a/instr-table.tex b/instr-table.tex
index 5766728..7496e76 100644
--- a/instr-table.tex
+++ b/instr-table.tex
@@ -1660,7 +1660,7 @@
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{0010000000} &
-\multicolumn{1}{c|}{xc} & RDPC xc \\
+\multicolumn{1}{c|}{xc} & RDNPC xc \\
\cline{2-10}
diff --git a/opcodes b/opcodes
index 54b4203..7da2f48 100644
--- a/opcodes
+++ b/opcodes
@@ -106,7 +106,7 @@ amo.maxu 31..25=0x7A 14..12=3 11..5=7 xc xb xa
jalr.c 31..25=0x7B 19..15=0 14..12=0 11..5=0 xc xa
jalr.r 31..25=0x7B 19..15=0 14..12=0 11..5=1 xc xa
jalr.j 31..25=0x7B 19..15=0 14..12=0 11..5=2 xc xa
-rdpc 31..25=0x7B 24..15=0 14..12=1 11..5=0 xc
+rdnpc 31..25=0x7B 24..15=0 14..12=1 11..5=0 xc
mfcr 31..25=0x7B 24..20=0 14..12=2 11..5=0 xc xb
mtcr 31..25=0x7B 14..12=3 11..0=0 xa xb
sync 31..25=0x7B 24..15=0 14..12=4 11..0=0