If I want to calculate the Boolean difference by assigning a signal to 1 and 0 respectively, then XOR the outputs, how should I do it? #5229
-
Yosys doesn't seem to have a direct command for calculating Boolean difference. Could you give me some suggestions on how to do this? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
nakengelhardt
Jul 14, 2025
Replies: 1 comment 5 replies
-
I don't understand the question, can you give an example? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I will go further and say Yosys does not represent functions at all, and only a subset of Yosys designs is even possible to express as functions (and it's a whole own task to transform it into that when we try to export to a functional representation). You seem to be working in an entirely different problem domain...