From a713290debc0d47c1888026aa1127813845ed52b Mon Sep 17 00:00:00 2001 From: Graham Edgecombe Date: Thu, 14 Dec 2017 23:53:49 +0000 Subject: [PATCH] Add MRET and WFI to the decoder No TODO in the WFI block as it will be implemented as a no-op. --- rv32_decode.sv | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rv32_decode.sv b/rv32_decode.sv index 8615f08..97770c6 100644 --- a/rv32_decode.sv +++ b/rv32_decode.sv @@ -481,6 +481,13 @@ module rv32_decode ( valid_out <= 1; // TODO end + `RV32_INSTR_MRET: begin + valid_out <= 1; + // TODO + end + `RV32_INSTR_WFI: begin + valid_out <= 1; + end `RV32_INSTR_CSRRW: begin valid_out <= 1; // TODO