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

Fix implicit cast of enum-type #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix implicit cast of enum-type #18

wants to merge 1 commit into from

Conversation

phsauter
Copy link

store_req_t is a parameter coming from above, it contains tag_mode_e. This leads to an error in slang flagging the implicit cast:

error: no implicit conversion from 'bit[0:0]' to 'tag_mode_e';
explicit conversion exists, are you missing a cast?

If we just assign a casted zero-vector this is prevented.

store_req_t is a parameter coming from above, it contains tag_mode_e.
This leads to an error in slang flagging the implicit cast:
> error: no implicit conversion from 'bit[0:0]' to 'tag_mode_e';
> explicit conversion exists, are you missing a cast?

If we just assign a casted zero-vector this is prevented.
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

Successfully merging this pull request may close these issues.

1 participant