mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -04:00
Use cast before assignment to enum type to avoid Vivado errors
This commit is contained in:
parent
93b0b77f27
commit
967834db0c
2 changed files with 7 additions and 5 deletions
|
@ -156,10 +156,10 @@ module ibex_controller (
|
|||
|
||||
csr_save_cause_o = 1'b0;
|
||||
|
||||
exc_cause_o = '0;
|
||||
exc_cause_o = exc_cause_e'('0);
|
||||
exc_pc_mux_o = EXC_PC_IRQ;
|
||||
|
||||
csr_cause_o = '0;
|
||||
csr_cause_o = exc_cause_e'('0);
|
||||
|
||||
pc_mux_o = PC_BOOT;
|
||||
pc_set_o = 1'b0;
|
||||
|
|
|
@ -371,9 +371,11 @@ module ibex_cs_registers #(
|
|||
mcause_q <= '0;
|
||||
|
||||
depc_q <= '0;
|
||||
dcsr_q <= '{
|
||||
prv: PRIV_LVL_M,
|
||||
default: '0
|
||||
dcsr_q <= '{
|
||||
xdebugver: x_debug_ver_e'('0),
|
||||
cause: dbg_cause_e'('0),
|
||||
prv: PRIV_LVL_M,
|
||||
default: '0
|
||||
};
|
||||
dscratch0_q <= '0;
|
||||
dscratch1_q <= '0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue