Fix SUB instruction
This commit is contained in:
parent
fe2ff5150a
commit
d54269d3f0
|
@ -47,7 +47,7 @@ class rvfi_insn_sub(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)
|
||||||
|
|
Loading…
Reference in New Issue