Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
[Mograsim.git] / net.mograsim.machine / src / net / mograsim / machine / StandardMainMemoryDefinition.java
1 package net.mograsim.machine;
2
3 class StandardMainMemoryDefinition extends StandardMemoryDefinition implements MainMemoryDefinition {
4         private final int cellWidth;
5         
6         StandardMainMemoryDefinition(int memoryAddressBits, int cellWidth, long minimalAddress, long maximalAddress)
7         {
8                 super(memoryAddressBits, minimalAddress, maximalAddress);
9                 this.cellWidth = cellWidth;
10         }
11
12         @Override
13         public int getCellWidth()
14         {
15                 return cellWidth;
16         }
17 }