Skip to content

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

Answered by nakengelhardt
yujning asked this question in Q&A
Discussion options

You must be logged in to vote

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...

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@nakengelhardt
Comment options

@yujning
Comment options

@georgerennie
Comment options

@nakengelhardt
Comment options

Answer selected by yujning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants