From 75d113312532cc72fbb05ec4507a6e07dd33f96e Mon Sep 17 00:00:00 2001
From: Donald Sebastian Leung
Date: Wed, 12 Aug 2020 14:23:09 +0800
Subject: [PATCH] Remove redundant parameter in InsnAuipc constructor
---
insns/InsnAuipc.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/insns/InsnAuipc.py b/insns/InsnAuipc.py
index 3760264..69d7c0b 100644
--- a/insns/InsnAuipc.py
+++ b/insns/InsnAuipc.py
@@ -5,8 +5,8 @@ AUIPC instruction
"""
class InsnAuipc(InsnRV32IUType):
- 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, 0b0010111)
+ 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, 0b0010111)
def elaborate(self, platform):
m = super().elaborate(platform)