diff --git a/src/csr_regfile.sv b/src/csr_regfile.sv index 2b46be5d1..57765b8c7 100644 --- a/src/csr_regfile.sv +++ b/src/csr_regfile.sv @@ -270,16 +270,8 @@ module csr_regfile #( mstatus_n.fs = 2'b0; mstatus_n.upie = 1'b0; mstatus_n.uie = 1'b0; - // // if the SIE was set also set the MIE, as interrupts for - // // higher privilege levels are always set, 1.10 p.20 - // if (csr_wdata[1]) - // mstatus_n.mie = 1'b1; - // // if the MIE was cleared, also clear SIE since interrupts - // // for lower privilege levels are always disabled, 1.10 p.20 - // if (!csr_wdata[3]) - // mstatus_n.sie = 1'b0; - // // this register has side-effects on other registers, flush the pipeline - flush_o = 1'b1; + // this register has side-effects on other registers, flush the pipeline + flush_o = 1'b1; end // MISA is WARL (Write Any Value, Reads Legal Value) CSR_MISA:;