Restructure insns directory contents #2
|
@ -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