riscv-formal-nmigen/insns/insn_lbu.py

10 lines
338 B
Python
Raw Normal View History

2020-08-13 15:14:46 +08:00
from insn_rv32i_i_type_load import *
2020-08-10 16:40:45 +08:00
"""
LBU instruction
"""
class InsnLbu(InsnRV32IITypeLoad):
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, 0b100, 1, False)