Fix JALR instruction
This commit is contained in:
parent
70c5a442d8
commit
4d55cce1b1
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue