Fix SLLI instruction

This commit is contained in:
Donald Sebastian Leung 2020-08-10 12:31:20 +08:00
parent 1fb51e614d
commit 031f335325
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
from InsnRV32IITypeShift import * from InsnRV32IITypeShift import *
"""
SLLI instruction
"""
class InsnSlli(InsnRV32IITypeShift): class InsnSlli(InsnRV32IITypeShift):
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, RISCV_FORMAL_COMPRESSED):
super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_COMPRESSED, 0b000000, 0b001) super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_COMPRESSED, 0b000000, 0b001)