From 186c8659dbd68d50c2e4e382bece73ae55d85789 Mon Sep 17 00:00:00 2001 From: Donald Sebastian Leung Date: Wed, 12 Aug 2020 13:16:37 +0800 Subject: [PATCH] Remove redundant parameter in Insn constructor --- insns/Insn.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/insns/Insn.py b/insns/Insn.py index 72dc7a0..b3fbc3e 100644 --- a/insns/Insn.py +++ b/insns/Insn.py @@ -6,12 +6,11 @@ Class for generic RISC-V instructions """ class Insn(Elaboratable): - def __init__(self, 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): # Core-specific constants self.RISCV_FORMAL_ILEN = RISCV_FORMAL_ILEN self.RISCV_FORMAL_XLEN = RISCV_FORMAL_XLEN self.RISCV_FORMAL_CSR_MISA = RISCV_FORMAL_CSR_MISA - self.RISCV_FORMAL_COMPRESSED = RISCV_FORMAL_COMPRESSED # RVFI input ports self.rvfi_valid = Signal(1)