From 3028246b735efb0facb200346b08a4b5e8c6ffd7 Mon Sep 17 00:00:00 2001 From: Donald Sebastian Leung Date: Fri, 24 Jul 2020 12:24:43 +0800 Subject: [PATCH] Fix AND instruction --- insns/insn_and.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insns/insn_and.py b/insns/insn_and.py index b35ec40..e27275b 100644 --- a/insns/insn_and.py +++ b/insns/insn_and.py @@ -47,7 +47,7 @@ class rvfi_insn_and(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)