From 7e8ca12e5f819cb912223ba74bcae29d24e6e3df Mon Sep 17 00:00:00 2001 From: Donald Sebastian Leung Date: Wed, 12 Aug 2020 14:17:45 +0800 Subject: [PATCH] Fix JAL instruction --- insns/InsnJal.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/insns/InsnJal.py b/insns/InsnJal.py index 68ed094..6dcde6e 100644 --- a/insns/InsnJal.py +++ b/insns/InsnJal.py @@ -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)