aboutsummaryrefslogtreecommitdiff
path: root/inst.v
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-04-17 05:41:54 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-04-17 05:41:54 -0700
commit1c8a71494fe8770a6597ec3b34dbda79d32bbc53 (patch)
tree4dc1410a01f076a2b0fe3ee4bd2ac507357367e3 /inst.v
parent59f027735429993530181993c7e8fd1af2e13a79 (diff)
downloadriscv-opcodes-1c8a71494fe8770a6597ec3b34dbda79d32bbc53.zip
riscv-opcodes-1c8a71494fe8770a6597ec3b34dbda79d32bbc53.tar.gz
riscv-opcodes-1c8a71494fe8770a6597ec3b34dbda79d32bbc53.tar.bz2
add auipc, lr, sc
Diffstat (limited to 'inst.v')
-rw-r--r--inst.v6
1 files changed, 5 insertions, 1 deletions
diff --git a/inst.v b/inst.v
index f60e785..9a757aa 100644
--- a/inst.v
+++ b/inst.v
@@ -4,7 +4,6 @@
`define JALR_C 32'b?????_?????_????????????_000_1101011
`define JALR_R 32'b?????_?????_????????????_001_1101011
`define JALR_J 32'b?????_?????_????????????_010_1101011
-`define RDNPC 32'b?????_00000_000000000000_100_1101011
`define BEQ 32'b?????_?????_?????_???????_000_1100011
`define BNE 32'b?????_?????_?????_???????_001_1100011
`define BLT 32'b?????_?????_?????_???????_100_1100011
@@ -12,6 +11,7 @@
`define BLTU 32'b?????_?????_?????_???????_110_1100011
`define BGEU 32'b?????_?????_?????_???????_111_1100011
`define LUI 32'b?????_????????????????????_0110111
+`define AUIPC 32'b?????_????????????????????_0010111
`define ADDI 32'b?????_?????_????????????_000_0010011
`define SLLI 32'b?????_?????_000000_??????_001_0010011
`define SLTI 32'b?????_?????_????????????_010_0010011
@@ -80,6 +80,10 @@
`define AMOMAX_D 32'b?????_?????_?????_0000101011_0101011
`define AMOMINU_D 32'b?????_?????_?????_0000110011_0101011
`define AMOMAXU_D 32'b?????_?????_?????_0000111011_0101011
+`define LR_W 32'b?????_?????_00000_1000000010_0101011
+`define LR_D 32'b?????_?????_00000_1000000011_0101011
+`define SC_W 32'b?????_?????_?????_1000001010_0101011
+`define SC_D 32'b?????_?????_?????_1000001011_0101011
`define FENCE_I 32'b?????_?????_????????????_001_0101111
`define FENCE 32'b?????_?????_????????????_010_0101111
`define FENCE_V_L 32'b?????_?????_????????????_100_0101111