hades.models.mcs4
Class i4001

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.mcs4.AbstractIntel4000
          extended byhades.models.mcs4.i4001
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable

public class i4001
extends AbstractIntel4000

Der ROM-Chip eines MCS 4-Systems.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hades.models.mcs4.AbstractIntel4000
T_OH
 
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
i4001()
          Standardkonstruktor.
 
Method Summary
 void configure()
          create and display a 'ConfigDialog' to set the parameters for a SimObject.
 void elaborate(java.lang.Object arg)
          elaborate(): This method is called by the simulation engine to initialize the simulation object.
 java.lang.String getId()
          Gibt Chip-Nr zur?ck.
protected  StdLogicVector getOutputData()
          Liefert die Daten, die auf den externen Bus sollen.
 java.lang.String getTypeIO0()
          Gibt den Typ von Port 0 zur?ck.
 java.lang.String getTypeIO1()
          Gibt den Typ von Port 1 zur?ck.
 java.lang.String getTypeIO2()
          Gibt den Typ von Port 2 zur?ck.
 java.lang.String getTypeIO3()
          Gibt den Typ von Port 3 zur?ck.
 boolean initialize(java.lang.String s)
          initialize a SimObject from a String.
protected  void receiveData(InternalState state)
          In dieser Methode k?nnen eintreffende Signale verarbeitet werden.
 void setId(java.lang.String value)
          Setzt die ID.
 void setParent(SimObject parent)
          set the parent SimObject for this SimObject
 void setTypeIO0(java.lang.String value)
          Setzt den Typ von Port 0.
 void setTypeIO1(java.lang.String value)
          Setzt den Typ von Port 1.
 void setTypeIO2(java.lang.String value)
          Setzt den Typ von Port 2.
 void setTypeIO3(java.lang.String value)
          Setzt den Typ von Port 3.
protected  void stateChanged(InternalState state)
          Mitteilung, dass ein neuer Subzyklus betreten wurde.
 void write(java.io.PrintWriter ps)
           
 
Methods inherited from class hades.models.mcs4.AbstractIntel4000
changeState, createEvent, createEvent, evaluate, getReset, hasOutputData, receiveData, releaseBus, sendData, setHasOutputData, setState, stateChanged
 
Methods inherited from class hades.simulator.SimObject
constructDynamicSymbol, copy, getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getToolTip, getVersionId, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setName, setPorts, setSimulator, setSymbol, setVersionId, setVisible, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

i4001

public i4001()
Standardkonstruktor.

Method Detail

elaborate

public void elaborate(java.lang.Object arg)
Description copied from class: SimObject
elaborate(): This method is called by the simulation engine to initialize the simulation object.

Specified by:
elaborate in interface Simulatable
Overrides:
elaborate in class AbstractIntel4000

stateChanged

protected void stateChanged(InternalState state)
Description copied from class: AbstractIntel4000
Mitteilung, dass ein neuer Subzyklus betreten wurde.

Overrides:
stateChanged in class AbstractIntel4000
Parameters:
state - Der neue Zyklus

receiveData

protected void receiveData(InternalState state)
Description copied from class: AbstractIntel4000
In dieser Methode k?nnen eintreffende Signale verarbeitet werden.

Overrides:
receiveData in class AbstractIntel4000
Parameters:
state - Der Status, in dem die Daten eintreffen

getOutputData

protected StdLogicVector getOutputData()
Description copied from class: AbstractIntel4000
Liefert die Daten, die auf den externen Bus sollen.

Specified by:
getOutputData in class AbstractIntel4000
Returns:
StdLogicVector mit den Daten

initialize

public boolean initialize(java.lang.String s)
Description copied from class: SimObject
initialize a SimObject from a String. The method returns true once all required data has been read. Until then, you should repeatedly call initialize() with additional Strings.

Overrides:
initialize in class SimObject

write

public void write(java.io.PrintWriter ps)
Overrides:
write in class SimObject

configure

public void configure()
Description copied from class: SimObject
create and display a 'ConfigDialog' to set the parameters for a SimObject. The default ConfigDialog for the base class (SimObject) itself is empty except for the 'instance name' of the SimObject.

Overrides:
configure in class SimObject

getId

public java.lang.String getId()
Gibt Chip-Nr zur?ck. Wird vom PropertySheet aufgerufen.

Returns:
Chip-Nr

getTypeIO0

public java.lang.String getTypeIO0()
Gibt den Typ von Port 0 zur?ck. Wird vom PropertySheet aufgerufen.

Returns:
Typbeschreibung

getTypeIO1

public java.lang.String getTypeIO1()
Gibt den Typ von Port 1 zur?ck. Wird vom PropertySheet aufgerufen.

Returns:
Typbeschreibung

getTypeIO2

public java.lang.String getTypeIO2()
Gibt den Typ von Port 2 zur?ck. Wird vom PropertySheet aufgerufen.

Returns:
Typbeschreibung

getTypeIO3

public java.lang.String getTypeIO3()
Gibt den Typ von Port 3 zur?ck. Wird vom PropertySheet aufgerufen.

Returns:
Typbeschreibung

setId

public void setId(java.lang.String value)
Setzt die ID. Wird vom PropertySheet aufgerufen.

Parameters:
value - die neue ID

setTypeIO0

public void setTypeIO0(java.lang.String value)
Setzt den Typ von Port 0. Wird vom PropertySheet aufgerufen.

Parameters:
value - die neue Typbeschreibung

setTypeIO1

public void setTypeIO1(java.lang.String value)
Setzt den Typ von Port 1. Wird vom PropertySheet aufgerufen.

Parameters:
value - die neue Typbeschreibung

setTypeIO2

public void setTypeIO2(java.lang.String value)
Setzt den Typ von Port 2. Wird vom PropertySheet aufgerufen.

Parameters:
value - die neue Typbeschreibung

setTypeIO3

public void setTypeIO3(java.lang.String value)
Setzt den Typ von Port 3. Wird vom PropertySheet aufgerufen.

Parameters:
value - die neue Typbeschreibung

setParent

public void setParent(SimObject parent)
Description copied from class: SimObject
set the parent SimObject for this SimObject

Overrides:
setParent in class SimObject