2020-08-17 11:50:53 +08:00
|
|
|
from .insn_rv32i_s_type import *
|
2020-08-11 14:52:59 +08:00
|
|
|
|
|
|
|
"""
|
|
|
|
SW instruction
|
|
|
|
"""
|
|
|
|
|
2020-08-13 13:46:16 +08:00
|
|
|
class InsnSw(InsnRV32ISType):
|
2020-08-12 14:09:41 +08:00
|
|
|
def __init__(self, RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_ALIGNED_MEM):
|
|
|
|
super().__init__(RISCV_FORMAL_ILEN, RISCV_FORMAL_XLEN, RISCV_FORMAL_CSR_MISA, RISCV_FORMAL_ALIGNED_MEM, 0b010, 4)
|