mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -04:00
Set dcsr.priv to M-mode on reset
Port of RI5CY commit 7f4a446f95f02f5ce517c0abe32b4095eb10c0de
This commit is contained in:
parent
c8c1831117
commit
cec232b36d
1 changed files with 4 additions and 1 deletions
|
@ -363,7 +363,10 @@ module ibex_cs_registers #(
|
|||
mcause_q <= '0;
|
||||
|
||||
depc_q <= '0;
|
||||
dcsr_q <= '0;
|
||||
dcsr_q <= '{
|
||||
prv: PRIV_LVL_M,
|
||||
default: '0
|
||||
};
|
||||
dscratch0_q <= '0;
|
||||
dscratch1_q <= '0;
|
||||
end else begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue