1 package net.mograsim.machine.mi;
3 import net.mograsim.machine.MemoryDefinition;
6 * This interface provides a means to get information about the machines memory architecture. It is not bound to any actual memory.
8 * @author Christian Femers
11 public interface MPROMDefinition extends MemoryDefinition
14 * The width in bits of an addressable memory cell/unit. This is often 8 (= one byte). The actual cells/lines of the memory may be a lot
17 * @return the addressable unit width in bits
18 * @author Christian Femers
20 int getMicroInstructionMemoryAddressBits();
22 public static MPROMDefinition create(int opcodeBits, int microInstructionMemoryAddressBits)
24 return new StandardMPROMDefinition(opcodeBits, microInstructionMemoryAddressBits);