Set dcsr.priv to M-mode on reset

Port of RI5CY commit 7f4a446f95f02f5ce517c0abe32b4095eb10c0de
This commit is contained in:
Philipp Wagner 2019-04-02 15:15:48 +01:00
parent c8c1831117
commit cec232b36d

View file

@ -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