X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.machine%2Fsrc%2Fnet%2Fmograsim%2Fmachine%2FMachineDefinition.java;h=02cf375709d0ed9f68b8b29d8c890803b42b4f7e;hb=8bed58cd47f4e53a0a83e066d38864aa6875502f;hp=0414b7eec7c9ab89395b0942fc2ca402b27c17ab;hpb=b32414f8406634aca730d724a011023c0da8bf22;p=Mograsim.git diff --git a/net.mograsim.machine/src/net/mograsim/machine/MachineDefinition.java b/net.mograsim.machine/src/net/mograsim/machine/MachineDefinition.java index 0414b7ee..02cf3757 100644 --- a/net.mograsim.machine/src/net/mograsim/machine/MachineDefinition.java +++ b/net.mograsim.machine/src/net/mograsim/machine/MachineDefinition.java @@ -4,7 +4,8 @@ import java.util.Set; import net.mograsim.machine.mi.MicroInstructionMemoryDefinition; -public interface MachineDefinition { +public interface MachineDefinition +{ /** * Creates a new instance of the machine @@ -15,8 +16,7 @@ public interface MachineDefinition { Machine createNew(); /** - * Returns the schema that all possible ISAs (Instruction Set Architecture) must - * be based on. + * Returns the schema that all possible ISAs (Instruction Set Architecture) must be based on. * * @return an {@link ISASchema} implementation fitting the machine * @author Christian Femers @@ -32,9 +32,8 @@ public interface MachineDefinition { Set getRegisters(); /** - * The number of bits used by the machine to address main memory. Note that this - * should be the number of bits used in the CPU, not a possibly different one - * used by the bus system. + * The number of bits used by the machine to address main memory. Note that this should be the number of bits used in the CPU, not a + * possibly different one used by the bus system. * * @return the number of bits used by the CPU * @see MainMemoryDefinition#getMemoryAddressBits() @@ -49,12 +48,12 @@ public interface MachineDefinition { * @author Christian Femers */ MainMemoryDefinition getMainMemoryDefinition(); - + /** * Returns the definition of the machines instruction memory. * * @return the {@link InstructionMemoryDefinition} that defines the instruction memory. */ MicroInstructionMemoryDefinition getMicroInstructionMemoryDefinition(); - + }