diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-07-05 02:28:30 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-07-05 02:28:30 +0100 |
commit | 322f3a1c2d547490b0e92a8f1ef937e1d68c2a6b (patch) | |
tree | 3fe37ad25f087acfaaf87b4f89b0e265b3e69217 /src/verilog/ValueInt.v | |
parent | ad8947508dd08294b9a7e0ca7b12972ae147365c (diff) | |
download | vericert-kvx-322f3a1c2d547490b0e92a8f1ef937e1d68c2a6b.tar.gz vericert-kvx-322f3a1c2d547490b0e92a8f1ef937e1d68c2a6b.zip |
Finish most of Veriloggenproof
Diffstat (limited to 'src/verilog/ValueInt.v')
-rw-r--r-- | src/verilog/ValueInt.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/verilog/ValueInt.v b/src/verilog/ValueInt.v index dff7b5c..aa99fbd 100644 --- a/src/verilog/ValueInt.v +++ b/src/verilog/ValueInt.v @@ -94,7 +94,7 @@ of [bool], so if they are in a condition, they will have to be converted before they can be used. *) Definition valueToBool (v : value) : bool := - if Z.eqb (uvalueToZ v) 0 then true else false. + if Z.eqb (uvalueToZ v) 0 then false else true. Definition boolToValue (b : bool) : value := natToValue (if b then 1 else 0). |