From 322f3a1c2d547490b0e92a8f1ef937e1d68c2a6b Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 5 Jul 2020 02:28:30 +0100 Subject: Finish most of Veriloggenproof --- src/verilog/ValueInt.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/verilog/ValueInt.v') 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). -- cgit