Commit 2083ff8
Fix implicit cast of enum-type
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.1 parent 7abcc36 commit 2083ff8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
0 commit comments