From 72aeb3cf360f3d802926ea49d3fddb59345865d5 Mon Sep 17 00:00:00 2001 From: Donald Sebastian Leung Date: Wed, 12 Aug 2020 13:29:21 +0800 Subject: [PATCH] Remove redundant parameter in InsnSra constructor --- insns/InsnSra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/insns/InsnSra.py b/insns/InsnSra.py index 28dde78..afa8c3c 100644 --- a/insns/InsnSra.py +++ b/insns/InsnSra.py @@ -5,8 +5,8 @@ SRA instruction """ class InsnSra(InsnRV32IRType): - 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, RISCV_FORMAL_COMPRESSED, 0b0100000, 0b101, 0b0110011) + def __init__(self, RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA): + super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, 0b0100000, 0b101, 0b0110011) def elaborate(self, platform): m = super().elaborate(platform)