Fix JAL instruction

This commit is contained in:
Donald Sebastian Leung 2020-08-12 14:17:45 +08:00
parent a09df9c7c4
commit 7e8ca12e5f
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ JAL instruction
"""
class InsnJal(Insn):
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):
m = super().elaborate(platform)