From 8ef50fa0cf5c0381725cd49515ac82043241f347 Mon Sep 17 00:00:00 2001 From: Donald Sebastian Leung Date: Wed, 12 Aug 2020 13:56:44 +0800 Subject: [PATCH] Remove redundant parameter in InsnRV32IITypeArith constructor --- insns/InsnRV32IITypeArith.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/insns/InsnRV32IITypeArith.py b/insns/InsnRV32IITypeArith.py index 2c78a4b..5cf1116 100644 --- a/insns/InsnRV32IITypeArith.py +++ b/insns/InsnRV32IITypeArith.py @@ -5,8 +5,8 @@ RV32I I-Type Instruction (Arithmetic Variation) """ class InsnRV32IITypeArith(InsnRV32IIType): - def __init__(self, RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_COMPRESSED, funct3): - super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_COMPRESSED) + def __init__(self, RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, funct3): + super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA) self.funct3 = funct3 def elaborate(self, platform): m = super().elaborate(platform)