Remove redundant parameter in Insn constructor

pull/2/head
Donald Sebastian Leung 2020-08-12 13:16:37 +08:00
parent eb56501727
commit 186c8659db
1 changed files with 1 additions and 2 deletions

View File

@ -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)