e6c5fb9b6e8f3614c8f0057b3f0b1a7c9d9354ab
[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(dec, regs)
12 self.fixedload = fixedload(dec, regs)
13 self.fixedstore = fixedstore(dec, regs)
14
15 self.instrs = {
16 **self.fixedarith.instrs,
17 **self.fixedload.instrs,
18 **self.fixedstore.instrs,
19 }