aboutsummaryrefslogtreecommitdiff
path: root/inst.v
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-13 18:00:08 -0700
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-13 18:00:08 -0700
commit67bd7134c4583dc8cda7c7253303837b45286d15 (patch)
tree8fe09974e8ceb69289fed1f65c3044a2068de9d4 /inst.v
parent53600108cc24cc14b1c0f04666f27ffc1b3ff681 (diff)
downloadriscv-opcodes-67bd7134c4583dc8cda7c7253303837b45286d15.zip
riscv-opcodes-67bd7134c4583dc8cda7c7253303837b45286d15.tar.gz
riscv-opcodes-67bd7134c4583dc8cda7c7253303837b45286d15.tar.bz2
[xcc, sim] replaced ble/bleu with bge/bgeu
This will simplify control logic (since every branch has a logical inverse)
Diffstat (limited to 'inst.v')
-rw-r--r--inst.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/inst.v b/inst.v
index 6e768aa..f02848b 100644
--- a/inst.v
+++ b/inst.v
@@ -4,10 +4,10 @@
`define LUI 32'b1110001_?????_????????????????????
`define BEQ 32'b1110011_?????_?????_000_????????????
`define BNE 32'b1110011_?????_?????_001_????????????
-`define BLT 32'b1110011_?????_?????_010_????????????
-`define BLTU 32'b1110011_?????_?????_011_????????????
-`define BLE 32'b1110011_?????_?????_100_????????????
-`define BLEU 32'b1110011_?????_?????_101_????????????
+`define BLT 32'b1110011_?????_?????_100_????????????
+`define BGE 32'b1110011_?????_?????_101_????????????
+`define BLTU 32'b1110011_?????_?????_110_????????????
+`define BGEU 32'b1110011_?????_?????_111_????????????
`define ADDI 32'b1110100_?????_?????_000_????????????
`define SLTI 32'b1110100_?????_?????_010_????????????
`define SLTIU 32'b1110100_?????_?????_011_????????????