hades.models.mips.mipsmemory
Class SmartIDTR3051

java.lang.Object
  extended byhades.simulator.SimObject
      extended byhades.models.mips.mipsmemory.IDTR3051
          extended byhades.models.mips.mipsmemory.SmartIDTR3051
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, Resetable, java.io.Serializable, Simulatable, Wakeable

public class SmartIDTR3051
extends IDTR3051

Lower part of the HADES interface: Port handling

See Also:
Serialized Form

Field Summary
protected  double t_clk
           
protected  double t_now
           
 
Fields inherited from class hades.models.mips.mipsmemory.IDTR3051
_StdLogic1164ToBooleanTable, _StdLogic1164ToInvBooleanTable, core, debug, hadesInterface, lastClkIn, lastInt, port_Ack, port_BurstWrNear, port_BusErr, port_BusGnt, port_BusReq, port_DataEn, port_Int, port_Rd, port_RdCEn, port_Reset, port_SysClk, port_Wr, portAD, portAddr, portALE, portBrCond0, portBrCond1, portClkIn, portCount, portDiag0, portDiag1, portRsvd, portSBrCond2, portSBrCond3, resetActive, resetCalled, resetHandler, showMips, sysClk, t_delay, tmpPorts, value_0, value_1, value_Z, vector_ZZZ2, vector_ZZZ32
 
Fields inherited from class hades.simulator.SimObject
classloader, console, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
 
Constructor Summary
SmartIDTR3051()
           
 
Method Summary
 void elaborate(java.lang.Object arg)
          elaborate(): This method is called by the simulation engine to initialize the simulation object.
 void evaluate(java.lang.Object arg)
          evaluate(): called by the simulation engine on all events that concern this object.
 java.lang.String getSymbolResourceName()
          construct a symbol resource name from the class name of SimObject or its respective derived class: prepend '/', replace '.' by '/', and append ".sym".
 void instructionCycle()
           
 boolean nextExternalEventIsLate()
           
 java.lang.String toString()
          toString: generate a text description for this SimObject.
 void wakeup(java.lang.Object event)
          wakeup(): This method is called by the simulation engine to wakeup the simulation object.
 
Methods inherited from class hades.models.mips.mipsmemory.IDTR3051
addPort, addPort, changeSysClk, configure, convertToBoolean, convertToBoolean, convertToInvBoolean, convertToInvBoolean, finishPorts, getBus, getInvPort, getLog, getPort, getPropertySheet, getToolTip, initialize, main, por, reset, sampleInterrupts, setBus, setBusOpen, setLog, setPort, setPort0, setPort1, setPortOpen, write
 
Methods inherited from class hades.simulator.SimObject
constructDynamicSymbol, copy, getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getResourceAsStream, getSimulator, getSymbol, getVersionId, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setSymbol, setVersionId, setVisible, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface hades.simulator.Simulatable
message
 

Field Detail

t_clk

protected double t_clk

t_now

protected double t_now
Constructor Detail

SmartIDTR3051

public SmartIDTR3051()
Method Detail

getSymbolResourceName

public java.lang.String getSymbolResourceName()
Description copied from class: SimObject
construct a symbol resource name from the class name of SimObject or its respective derived class: prepend '/', replace '.' by '/', and append ".sym". For example, when called on a "hades.models.gates.And2" instance, this method will return "/hades/models/gates/And2.sym"

Overrides:
getSymbolResourceName in class SimObject

toString

public java.lang.String toString()
Description copied from class: SimObject
toString: generate a text description for this SimObject. This method currently combines the class name for the SimObject (or subclass) and its full name in the current Hades Design, e.g. "hades.models.gates.And2: /uut/adder16/adder1/i3".

Overrides:
toString in class IDTR3051

elaborate

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

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

wakeup

public void wakeup(java.lang.Object event)
Description copied from interface: Wakeable
wakeup(): This method is called by the simulation engine to wakeup the simulation object.

Specified by:
wakeup in interface Wakeable
Overrides:
wakeup in class IDTR3051

nextExternalEventIsLate

public boolean nextExternalEventIsLate()

instructionCycle

public void instructionCycle()

evaluate

public void evaluate(java.lang.Object arg)
Description copied from interface: Simulatable
evaluate(): called by the simulation engine on all events that concern this object. The object is responsible for updating its internal state and for scheduling all pending output events.

Specified by:
evaluate in interface Simulatable
Overrides:
evaluate in class IDTR3051