We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I opened an issue at m-labs/nmigen, but seems no response at there ... so I moved to here!
A typical usage: If I defined a signed signal: self.slice_begin_idx = Signal(signed(5)) And try to match to a negative value
self.slice_begin_idx = Signal(signed(5))
with m.Switch(self.slice_begin_idx): for ii in range(-3, 0): with m.Case(ii): m.d.sync += ...
Then I get:
5'b0?11: ... 5'b0?10: ... 5'b00?1: ...
Not sure if we can add support to negative value in Switch-Case? or any better ideas?
The text was updated successfully, but these errors were encountered:
This has always been intended to work, but does not because of a bug. Thanks for the report!
Sorry, something went wrong.
818c8bc
No branches or pull requests
I opened an issue at m-labs/nmigen, but seems no response at there ...
so I moved to here!
A typical usage:
If I defined a signed signal:
self.slice_begin_idx = Signal(signed(5))
And try to match to a negative value
Then I get:
Not sure if we can add support to negative value in Switch-Case?
or any better ideas?
The text was updated successfully, but these errors were encountered: