pulp-platform / axi_llc

Other
21 stars 15 forks source link

Fix implicit cast of enum-type #18

Open phsauter opened 2 months ago

phsauter commented 2 months ago

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.