From fe2ff5150a3b0b77c72353a9ba11d2735f9afe7b Mon Sep 17 00:00:00 2001 From: Donald Sebastian Leung Date: Fri, 24 Jul 2020 12:46:24 +0800 Subject: [PATCH] Fix SRL instruction --- insns/insn_srl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insns/insn_srl.py b/insns/insn_srl.py index 42d8e07..e72766a 100644 --- a/insns/insn_srl.py +++ b/insns/insn_srl.py @@ -47,7 +47,7 @@ class rvfi_insn_srl(Elaboratable): def elaborate(self, platform): m = Module() - # R-type instruction format (shift variation) + # R-type instruction format insn_padding = Signal(self.RISCV_FORMAL_ILEN) m.d.comb += insn_padding.eq(self.rvfi_insn >> 32) insn_funct7 = Signal(7)