Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complex + Mux #89

Open
shunshou opened this issue Mar 24, 2017 · 2 comments
Open

Complex + Mux #89

shunshou opened this issue Mar 24, 2017 · 2 comments

Comments

@shunshou
Copy link
Member

This shows up... not sure what's going on:

[info]   java.lang.IllegalArgumentException: requirement failed: can't create Mux with non-equivalent types dsptools.numbers.DspComplex@434 and dsptools.numbers.DspComplex@9e
[info]  
@chick
Copy link
Contributor

chick commented Mar 24, 2017

@shunshou That sounds like a recent chisel pr #450 that checks that both sides of a Mux have equivalent types. Do you have any idea what is triggering it in the source.
@ducky do you think there might be a missed edge case with the new typeEquivalent.

@shunshou
Copy link
Member Author

@chick So one side of the Mux is a Lit; another isn't. It's driving me absolutely crazy. I keep having to reassign constants to wires to get things to work. Other than that, the error message is 0 helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants