e8f4afc29c2b0eb968fd6e3ca0ce49e86660dee2
[Mograsim.git] /
1 package net.mograsim.logic.model.am2900.machine;
2
3 import net.mograsim.machine.mi.MPROMDefinition;
4
5 public class Am2900MPROMDefinition implements MPROMDefinition
6 {
7         public static final Am2900MPROMDefinition instance = new Am2900MPROMDefinition();
8
9         @Override
10         public int getMemoryAddressBits()
11         {
12                 return 8;
13         }
14
15         @Override
16         public long getMinimalAddress()
17         {
18                 return 0;
19         }
20
21         @Override
22         public long getMaximalAddress()
23         {
24                 return 0xFF;
25         }
26
27         @Override
28         public int getMicroInstructionMemoryAddressBits()
29         {
30                 return 12;
31         }
32
33         private Am2900MPROMDefinition()
34         {
35         }
36 }