X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=blobdiff_plain;f=plugins%2Fnet.mograsim.machine%2Fsrc%2Fnet%2Fmograsim%2Fmachine%2Fmi%2FMPROMDefinition.java;h=1fec8bb2cc9efb547055eaec1668f51b1efb9821;hp=680a1fa2b89a6bc3113c9727598d6d7f07ee82bb;hb=b5d55c59d7069171bd928e4a945d9185ee4bc2b0;hpb=f098cd47d06be0cc654532a5fad0e5e89f0ef93c diff --git a/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MPROMDefinition.java b/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MPROMDefinition.java index 680a1fa2..1fec8bb2 100644 --- a/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MPROMDefinition.java +++ b/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/MPROMDefinition.java @@ -1,6 +1,6 @@ package net.mograsim.machine.mi; -import net.mograsim.machine.MemoryDefinition; +import net.mograsim.machine.BitVectorMemoryDefinition; /** * This interface provides a means to get information about the machines memory architecture. It is not bound to any actual memory. @@ -8,17 +8,8 @@ import net.mograsim.machine.MemoryDefinition; * @author Christian Femers * */ -public interface MPROMDefinition extends MemoryDefinition +public interface MPROMDefinition extends BitVectorMemoryDefinition { - /** - * 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 - * larger. - * - * @return the addressable unit width in bits - * @author Christian Femers - */ - int getMicroInstructionMemoryAddressBits(); - public static MPROMDefinition create(int opcodeBits, int microInstructionMemoryAddressBits) { return new StandardMPROMDefinition(opcodeBits, microInstructionMemoryAddressBits);