diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-06-14 14:12:38 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-06-14 14:12:38 +0100 |
commit | a23cc48f449ffbfd347f833965c1e04b88e0009a (patch) | |
tree | a2f052d935a9db4fe34ca518a4bc81ad0ae6fd30 /src/verilog/Verilog.v | |
parent | 8e3c89bad3a20c0bb9c88b83d966565d79822ff1 (diff) | |
download | vericert-kvx-a23cc48f449ffbfd347f833965c1e04b88e0009a.tar.gz vericert-kvx-a23cc48f449ffbfd347f833965c1e04b88e0009a.zip |
Add more unproven instructions, Admitted equiv to spec
Diffstat (limited to 'src/verilog/Verilog.v')
-rw-r--r-- | src/verilog/Verilog.v | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/verilog/Verilog.v b/src/verilog/Verilog.v index b4b2f00..b80678e 100644 --- a/src/verilog/Verilog.v +++ b/src/verilog/Verilog.v @@ -130,7 +130,8 @@ Inductive binop : Type := | Vor : binop (** or (binary [|]) *) | Vxor : binop (** xor (binary [^|]) *) | Vshl : binop (** shift left ([<<]) *) -| Vshr : binop. (** shift right ([>>]) *) +| Vshr : binop (** shift right ([>>>]) *) +| Vshru : binop. (** shift right unsigned ([>>]) *) (** ** Unary Operators *) @@ -305,6 +306,7 @@ Definition binop_run (op : binop) : forall v1 v2 : value, vsize v1 = vsize v2 -> | Vxor => vxor | Vshl => vshl | Vshr => vshr + | Vshru => vshr (* FIXME: should not be the same operation. *) end. Definition unop_run (op : unop) : value -> value := |