Why does sat
flag -dump_cnf
report more variables than the original logic has?
#3556
Unanswered
benjamin051000
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm learning about SAT checkers. Specifically, I am trying to reverse-engineer the original boolean logic formula of the RTL from the SAT checker.
I have a very simple SystemVerilog file:
Here's my Yosys script:
Here are the outputs of the SAT pass:
The resulting CNF file:
I'm wondering why CNF has 7 variables when my design only had 1 input and 1 output. What are these 7 variables and 13 clauses?
Additionally, how do these 7 variables relate to the input/outputs in the RTL? I'm hoping for an output that essentially says
b = ~a
, how can I achieve this? Thank you!Beta Was this translation helpful? Give feedback.
All reactions