Fix ADD instruction

This commit is contained in:
Donald Sebastian Leung 2020-07-24 12:21:07 +08:00
parent 73005eb3c3
commit eedfc843f7
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class rvfi_insn_add(Elaboratable):
def elaborate(self, platform): def elaborate(self, platform):
m = Module() m = Module()
# R-type instruction format (shift variation) # R-type instruction format
insn_padding = Signal(self.RISCV_FORMAL_ILEN) insn_padding = Signal(self.RISCV_FORMAL_ILEN)
m.d.comb += insn_padding.eq(self.rvfi_insn >> 32) m.d.comb += insn_padding.eq(self.rvfi_insn >> 32)
insn_funct7 = Signal(7) insn_funct7 = Signal(7)