Remove redundant parameter in Insn constructor
This commit is contained in:
parent
eb56501727
commit
186c8659db
@ -6,12 +6,11 @@ Class for generic RISC-V instructions
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
class Insn(Elaboratable):
|
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
|
# Core-specific constants
|
||||||
self.RISCV_FORMAL_ILEN = RISCV_FORMAL_ILEN
|
self.RISCV_FORMAL_ILEN = RISCV_FORMAL_ILEN
|
||||||
self.RISCV_FORMAL_XLEN = RISCV_FORMAL_XLEN
|
self.RISCV_FORMAL_XLEN = RISCV_FORMAL_XLEN
|
||||||
self.RISCV_FORMAL_CSR_MISA = RISCV_FORMAL_CSR_MISA
|
self.RISCV_FORMAL_CSR_MISA = RISCV_FORMAL_CSR_MISA
|
||||||
self.RISCV_FORMAL_COMPRESSED = RISCV_FORMAL_COMPRESSED
|
|
||||||
|
|
||||||
# RVFI input ports
|
# RVFI input ports
|
||||||
self.rvfi_valid = Signal(1)
|
self.rvfi_valid = Signal(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user