Fix JALR instruction

This commit is contained in:
Donald Sebastian Leung 2020-08-12 13:45:04 +08:00
parent 70c5a442d8
commit 4d55cce1b1
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ JALR instruction
""" """
class InsnJalr(InsnRV32IIType): class InsnJalr(InsnRV32IIType):
def __init__(self, RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_COMPRESSED):
super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA)
self.RISCV_FORMAL_COMPRESSED = RISCV_FORMAL_COMPRESSED
def elaborate(self, platform): def elaborate(self, platform):
m = super().elaborate(platform) m = super().elaborate(platform)