
 /----------------------------------------------------------------------------\
 |  yosys -- Yosys Open SYnthesis Suite                                       |
 |  Copyright (C) 2012 - 2026  Claire Xenia Wolf <claire@yosyshq.com>         |
 |  Distributed under an ISC-like license, type "license" to see terms        |
 \----------------------------------------------------------------------------/
 Yosys 0.69 (git sha1 9f75ca1f9, Release, Clang /workspace/YoWASP/yosys/wasi-sdk-33.0-x86_64-linux/share/cmake/../..//bin/clang++ 22.1.0)

-- Executing script file `proof.ys' --

1. Executing Verilog-2005 frontend: alu4.v
Parsing Verilog input from `alu4.v' to AST representation.
Generating RTLIL representation for module `\alu4'.
Generating RTLIL representation for module `\proof'.
Successfully finished Verilog frontend.

2. Executing HIERARCHY pass (managing design hierarchy).

2.1. Analyzing design hierarchy..
Top module:  \proof
Used module:     \alu4

2.2. Analyzing design hierarchy..
Top module:  \proof
Used module:     \alu4
Removed 0 unused modules.

3. Executing PROC pass (convert processes to netlists).

3.1. Executing PROC_CLEAN pass (remove empty switches from decision trees).
Cleaned up 0 empty switches.

3.2. Executing PROC_RMDEAD pass (remove dead branches from decision trees).
Removed 1 dead cases from process $proc$alu4.v:4$2 in module alu4.
Marked 1 switch rules as full_case in process $proc$alu4.v:4$2 in module alu4.
Removed a total of 1 dead cases.

3.3. Executing PROC_PRUNE pass (remove redundant assignments in processes).
Removed 0 redundant assignments.
Promoted 1 assignment to connection.

3.4. Executing PROC_INIT pass (extract init attributes).

3.5. Executing PROC_ARST pass (detect async resets in processes).

3.6. Executing PROC_ROM pass (convert switches to ROMs).
Converted 0 switches.
<suppressed ~1 debug messages>

3.7. Executing PROC_MUX pass (convert decision trees to multiplexers).
Creating decoders for process `\alu4.$proc$alu4.v:4$2'.
     1/1: $1\y[3:0]

3.8. Executing PROC_DLATCH pass (convert process syncs to latches).
No latch inferred for signal `\alu4.\y' from process `\alu4.$proc$alu4.v:4$2'.

3.9. Executing PROC_DFF pass (convert process syncs to FFs).

3.10. Executing PROC_MEMWR pass (convert process memory writes to cells).

3.11. Executing PROC_CLEAN pass (remove empty switches from decision trees).
Found and cleaned up 1 empty switch in `\alu4.$proc$alu4.v:4$2'.
Removing empty process `alu4.$proc$alu4.v:4$2'.
Cleaned up 1 empty switch.

3.12. Executing OPT_EXPR pass (perform const folding).
Optimizing module proof.
<suppressed ~6 debug messages>
Optimizing module alu4.
<suppressed ~4 debug messages>

4. Executing FLATTEN pass (flatten design).
Deleting now unused module alu4.
<suppressed ~1 debug messages>

5. Executing OPT pass (performing simple optimizations).

5.1. Executing OPT_EXPR pass (perform const folding).
Optimizing module proof.

5.2. Executing OPT_MERGE pass (detect identical cells).
Finding identical cells in module `\proof'.
Computing hashes of 57 cells of `\proof'.
Finding duplicate cells in `\proof'.
Computing hashes of 47 cells of `\proof'.
Finding duplicate cells in `\proof'.
<suppressed ~30 debug messages>
Removed a total of 10 cells.

5.3. Executing OPT_MUXTREE pass (detect dead branches in mux trees).
Running muxtree optimizer on module \proof..
  Creating internal representation of mux trees.
  Evaluating internal representation of mux trees.
  Analyzing evaluation results.
Removed 0 multiplexer ports.
<suppressed ~6 debug messages>

5.4. Executing OPT_REDUCE pass (consolidate $*mux and $reduce_* inputs).
  Optimizing cells in module \proof.
Performed a total of 0 changes.

5.5. Executing OPT_MERGE pass (detect identical cells).
Finding identical cells in module `\proof'.
Computing hashes of 47 cells of `\proof'.
Finding duplicate cells in `\proof'.
Removed a total of 0 cells.

5.6. Executing OPT_DFF pass (perform DFF optimizations).

5.7. Executing OPT_CLEAN pass (remove unused cells and wires).
Finding unused cells or wires in module \proof..
Removed 0 unused cells and 36 unused wires.
<suppressed ~1 debug messages>

5.8. Executing OPT_EXPR pass (perform const folding).
Optimizing module proof.

5.9. Rerunning OPT passes. (Maybe there is more to do..)

5.10. Executing OPT_MUXTREE pass (detect dead branches in mux trees).
Running muxtree optimizer on module \proof..
  Creating internal representation of mux trees.
  Evaluating internal representation of mux trees.
  Analyzing evaluation results.
Removed 0 multiplexer ports.
<suppressed ~6 debug messages>

5.11. Executing OPT_REDUCE pass (consolidate $*mux and $reduce_* inputs).
  Optimizing cells in module \proof.
Performed a total of 0 changes.

5.12. Executing OPT_MERGE pass (detect identical cells).
Finding identical cells in module `\proof'.
Computing hashes of 47 cells of `\proof'.
Finding duplicate cells in `\proof'.
Removed a total of 0 cells.

5.13. Executing OPT_DFF pass (perform DFF optimizations).

5.14. Executing OPT_CLEAN pass (remove unused cells and wires).
Finding unused cells or wires in module \proof..

5.15. Executing OPT_EXPR pass (perform const folding).
Optimizing module proof.

5.16. Finished fast OPT passes. (There is nothing left to do.)

6. Executing SAT pass (solving SAT problems in the circuit).
Using SAT solver `minisat`.

Setting up SAT problem:
Final constraint equation: { } = { }
Imported 47 cells to SAT database.
Import proof-constraint: \mismatch = 1'0
Final proof equation: \mismatch = 1'0
Import show expression: \op
Import show expression: \b
Import show expression: \a
Import show expression: \mismatch

Solving problem with 457 variables and 1209 clauses..
SAT proof finished - no model found: SUCCESS!

                  /$$$$$$      /$$$$$$$$     /$$$$$$$    
                 /$$__  $$    | $$_____/    | $$__  $$   
                | $$  \ $$    | $$          | $$  \ $$   
                | $$  | $$    | $$$$$       | $$  | $$   
                | $$  | $$    | $$__/       | $$  | $$   
                | $$/$$ $$    | $$          | $$  | $$   
                |  $$$$$$/ /$$| $$$$$$$$ /$$| $$$$$$$//$$
                 \____ $$$|__/|________/|__/|_______/|__/
                       \__/                              

End of script. Logfile hash: 6d4b873b4b, time: 0.08s, user: 0.12s, system: 0.00s
Yosys 0.69 (git sha1 9f75ca1f9, Release, Clang /workspace/YoWASP/yosys/wasi-sdk-33.0-x86_64-linux/share/cmake/../..//bin/clang++ 22.1.0)
Time spent: 30% 4x opt_expr (0 sec), 29% 2x read_verilog (0 sec), ...
