Skip to content

Commit

Permalink
Add placeholders for a couple of instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
wallento committed May 28, 2020
1 parent a1765ce commit b48786d
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions riscvmodel/isa.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,23 +267,27 @@ class InstructionFENCEI(Instruction):


@isa("ecall", 0x73, 0)
class InstructionECALL(Instruction):
pass
class InstructionECALL(InstructionIType):
def execute(self, model: State):
pass


@isa("ebreak", 0x73, 0)
class InstructionEBREAK(Instruction):
pass
def execute(self, model: State):
pass


@isa("csrrw", 0x73, 1)
class InstructionCSRRW(Instruction):
pass
class InstructionCSRRW(InstructionIType):
def execute(self, model: State):
pass


@isa("csrrs", 0x73, 2)
class InstructionCSRRS(Instruction):
pass
class InstructionCSRRS(InstructionIType):
def execute(self, model: State):
pass


@isa("csrrc", 0x73, 3)
Expand Down

0 comments on commit b48786d

Please sign in to comment.