Add missing enum cast

Vivado doesn't compile the design without this cast.
This commit is contained in:
Philipp Wagner 2019-10-03 14:54:28 +01:00 committed by Philipp Wagner
parent 6aae5fe975
commit 2acb497d22

View file

@ -397,7 +397,7 @@ module ibex_cs_registers #(
mstatus_d = '{
mie: csr_wdata_int[CSR_MSTATUS_MIE_BIT],
mpie: csr_wdata_int[CSR_MSTATUS_MPIE_BIT],
mpp: csr_wdata_int[CSR_MSTATUS_MPP_BIT_HIGH:CSR_MSTATUS_MPP_BIT_LOW],
mpp: priv_lvl_e'(csr_wdata_int[CSR_MSTATUS_MPP_BIT_HIGH:CSR_MSTATUS_MPP_BIT_LOW]),
mprv: csr_wdata_int[CSR_MSTATUS_MPRV_BIT],
tw: csr_wdata_int[CSR_MSTATUS_TW_BIT]
};