diff options
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). |