Handle new changes in pseudocode parser
[soc.git] / src / soc / decoder / isa / all.py
1 from caller import ISACaller
2 from fixedarith import fixedarith
3 from fixedload import fixedload
4 from fixedstore import fixedstore
5 from soc.decoder.isa.caller import ISACaller
6
7
8 class ISA(ISACaller):
9 def __init__(self, dec, regs):
10 super().__init__(dec, regs)
11 self.fixedarith = fixedarith()
12 self.fixedload = fixedload()
13 self.fixedstore = fixedstore()
14
15 self.instrs = {
16 **self.fixedarith.fixedarith_instrs,
17 **self.fixedload.fixedload_instrs,
18 **self.fixedstore.fixedstore_instrs,
19 }