projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug with Exception being thrown with wrong cause
[Mograsim.git]
/
plugins
/
net.mograsim.machine
/
src
/
net
/
mograsim
/
machine
/
MachineDefinition.java
diff --git
a/plugins/net.mograsim.machine/src/net/mograsim/machine/MachineDefinition.java
b/plugins/net.mograsim.machine/src/net/mograsim/machine/MachineDefinition.java
index
1c4aa86
..
18e628f
100644
(file)
--- a/
plugins/net.mograsim.machine/src/net/mograsim/machine/MachineDefinition.java
+++ b/
plugins/net.mograsim.machine/src/net/mograsim/machine/MachineDefinition.java
@@
-1,8
+1,10
@@
package net.mograsim.machine;
package net.mograsim.machine;
-import java.util.
Se
t;
+import java.util.
Lis
t;
import net.mograsim.machine.mi.MicroInstructionMemoryDefinition;
import net.mograsim.machine.mi.MicroInstructionMemoryDefinition;
+import net.mograsim.machine.registers.Register;
+import net.mograsim.machine.registers.RegisterGroup;
public interface MachineDefinition
{
public interface MachineDefinition
{
@@
-32,12
+34,12
@@
public interface MachineDefinition
ISASchema getISASchema();
/**
ISASchema getISASchema();
/**
- * Returns a set of all {@link Register}s present in the machine.
+ * Returns a set of all {@link Register}s present in the machine
that are not part of a register group
.
*
* @return all registers present in the machine.
* @author Christian Femers
*/
*
* @return all registers present in the machine.
* @author Christian Femers
*/
-
Set<Register> get
Registers();
+
List<Register> getUnsorted
Registers();
/**
* Returns a set of all RegisterGroups that the machine contains
/**
* Returns a set of all RegisterGroups that the machine contains
@@
-45,7
+47,7
@@
public interface MachineDefinition
* @return all register groups present in the machine.
* @author Christian Femers
*/
* @return all register groups present in the machine.
* @author Christian Femers
*/
-
Se
t<RegisterGroup> getRegisterGroups();
+
Lis
t<RegisterGroup> getRegisterGroups();
/**
* 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
/**
* 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