From da91b31bb242bb947533702ac7484773fa3f3d57 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 27 Nov 2017 17:42:32 +0100 Subject: [PATCH] Fixed "yosys-smtbmc -g" handling of no solution --- backends/smt2/smtbmc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/smt2/smtbmc.py b/backends/smt2/smtbmc.py index d9b79e26e..560e39d86 100644 --- a/backends/smt2/smtbmc.py +++ b/backends/smt2/smtbmc.py @@ -1279,7 +1279,7 @@ else: # not tempind, covermode step += step_size - if gentrace: + if gentrace and retstatus: print_anyconsts(0) write_trace(0, num_steps, '%') -- 2.30.2