1fb5054f54d4c7fe77655e5814b149198a143987
[Mograsim.git] /
1 package net.mograsim.logic.model.am2900.machine;
2
3 import net.mograsim.machine.mi.MicroInstructionDefinition;
4 import net.mograsim.machine.mi.MicroInstructionMemoryDefinition;
5
6 public class Am2900MicroInstructionMemoryDefinition implements MicroInstructionMemoryDefinition
7 {
8
9         @Override
10         public int getMemoryAddressBits()
11         {
12                 return 12;
13         }
14
15         @Override
16         public long getMinimalAddress()
17         {
18                 return 0;
19         }
20
21         @Override
22         public long getMaximalAddress()
23         {
24                 return 0xFFF;
25         }
26
27         @Override
28         public MicroInstructionDefinition getMicroInstructionDefinition()
29         {
30                 return new Am2900MicroInstructionDefinition();
31         }
32 }